beegee-tokyo / WisBlock-API

WisBlock API takes care of all the LoRaWAN, BLE, AT command functionality. It makes development of event driven power savings applications easy.
MIT License
28 stars 15 forks source link

ATZ/ATR description error #7

Closed Botched1 closed 2 years ago

Botched1 commented 2 years ago

On "AT-Commands.md" it shows:

Screenshot 2022-07-26 9 15 52 AM

But I believe those descriptions are backwards... ATR does the factory reset to defaults, and ATZ just does a reset.

beegee-tokyo commented 2 years ago

Thanks for finding this. You are right, it is described wrong.

Planning an update soon, then it will be changed. The mistake is only in the content, the command descriptions itself are correct.

## ATR

This command restores all parameters to the initial default values of the module.

| Command | Input Parameter | Return Value | Return Code |
| ------- | --------------- | ------------ | ----------- |
| ATR?    | -               | -            | `OK`        |
| ATR     | -               | -            | `OK`        |

[Back](#content)    

----

## ATZ

Description: MCU reset

This command is used to trigger an MCU reset.

| Command | Input Parameter | Return Value             | Return Code |
| ------- | --------------- | ------------------------ | ----------- |
| ATZ?    | -               | `ATZ: Trig a MCU reset`   | `OK`        |
| ATZ     | -               | *No return. MCU resets.* | `OK`        |