User's Manual

WISE-1510 User Manual 35
nodeApiSetDevSleepRTCWakeup
The detailed description of APIs can be found in /docs/html/index.html in the released
SDK.
4.2. Sample Code for API
If WISE-1510 was plugged in M2.com carrier board (WISE-DB1500), do below action
to enable M2.com carrier board.
Set boud rate of debug_serial and m2_serial.
Create sensor thread.
Set and apply node configuration.
Start LoRa.
Start LoRa State loop to start rx/tx data.
Deep sleep mode is supported but disabled in default, please enable
NODE_DEEP_SLEEP_MODE_SUPPORT if you want to try low power mode.