LOW_POWER_NODE property: where to specify ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PaYe_4603801
Level 4
Level 4
5 likes given Welcome! 25 replies posted

Hello,

The read_me.txt file in Mesh Low Power Led Application contains following phrase:

For low_power_led lpn system node, add LOW_POWER_NODE=1 in Make Target

Should I add this in .c code (using define) or in makefile (which syntax).

Thanks.

0 Likes
1 Solution

Hi PaYe_4603801 ,

In the makefile you will be able to see "LOW_POWER_NODE ?= 0",  meaning the application is in normal mode.

To make your mesh device as a low power node, please change this to LOW_POWER_NODE ?= 1.

# value of the LOW_POWER_NODE defines mode. It can be normal node (0), or low power node (1)

LOW_POWER_NODE ?= 0

makefile:mtb-examples-CYBT-213043-MESH-btsdk-mesh-demo/makefile at master · cypresssemiconductorco/mtb-exampl...

Thanks,

-Dheeraj

View solution in original post

2 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

Do this in makefile:

LOW_POWER_NODE ?= 1

0 Likes

Hi PaYe_4603801 ,

In the makefile you will be able to see "LOW_POWER_NODE ?= 0",  meaning the application is in normal mode.

To make your mesh device as a low power node, please change this to LOW_POWER_NODE ?= 1.

# value of the LOW_POWER_NODE defines mode. It can be normal node (0), or low power node (1)

LOW_POWER_NODE ?= 0

makefile:mtb-examples-CYBT-213043-MESH-btsdk-mesh-demo/makefile at master · cypresssemiconductorco/mtb-exampl...

Thanks,

-Dheeraj