MySensors Library & Examples
2.3.2
|
API declaration for MyNodeLock.
Functions | |
void | _nodeLock (const char *str) |
Lock a node and transmit provided message with 30m intervals. More... | |
void | _checkNodeLock (void) |
Check node lock status and prevent node execution if locked. | |
void _nodeLock | ( | const char * | str | ) |
Lock a node and transmit provided message with 30m intervals.
This function is called if suspicious activity has exceeded the threshold (see MY_NODE_LOCK_COUNTER_MAX). Unlocking with a normal Arduino bootloader require erasing the EEPROM while unlocking with a custom bootloader require holding MY_NODE_UNLOCK_PIN low during power on/reset.
str | The string to transmit. |