MySensors Library & Examples  2.3.2-62-ge298769
Functions
+ Collaboration diagram for MyNodeLock:

Detailed Description

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.
 

Function Documentation

◆ _nodeLock()

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.

Parameters
strThe string to transmit.