You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adding attempts to readLine and state marker if radio module is unresponsive
* Fix spacing around brackets
* Adding attempts to TheTHingsNetwork.h
* No need for else when if has return
* Set default in header file
* decrement attempts
* Proposal to handle exception when RN module does not respond
* Changed variable name from radioModuleInvalidState to needsHardReset
* Added hardReset function with non-blocking delay. made needsHardReset a public variable
* Updating documentation for hardreset
* Changed wording of unresponsive rn module in readline function
* Spacing in if statement in readline function
* Removing comment at readline function
* Fixed spelling mistake of millis in resetHard
* Replacing single qoute with double qoute to fix warning: character constant too long for its type
* remove empty line
* Fixed missing (
* moved adr parameter to reset and added parameter description for hardreset
* Spelling mistake
* Reformulated the non i/o blocking wait function to make it more understandable
* Updated the way while brackets are placed in resetHard
* Updated hardreset documentation to include initial pinmode setup
* rewording of hardreset output pin config
* Using delay(1000) instead of custom delay function to ensure that ESP8266 background operations will work
Copy file name to clipboardExpand all lines: docs/TheThingsNetwork.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,16 @@ void reset(bool adr);
28
28
29
29
-`bool adr`: Enable/disable Adaptive Data Rate.
30
30
31
+
## Method: `hardReset`
32
+
33
+
Performs a hardware reset of the RN module. Input parameter is the pin which the reset pin from the module is connected to. This does clear saved state, e.g. provisioned keys.
34
+
35
+
```c
36
+
voidhardReset(uint8_t resetPin);
37
+
```
38
+
39
+
- `uint8_t resetPin`: The output pin that is connected to the module's reset pin. The output pin should be configured as output and set to high by the user.
40
+
31
41
## Method: `getHardwareEui`
32
42
33
43
Gets the unique hardware EUI, often used as the DevEUI.
0 commit comments