This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

would log affect mesh code running?

I was taking a test to turn on/off a LED depends on rssi value received, based on light switch example of mesh sdk 2.2

After some effort, I made it work, though, seems log would affect the running result.

I made a list to show the situation:

work well means: the LED on server board can be turned on/off depends on the rssi value it received.

almost don't work means: have to put 2 boards very close to get LED light, but even after I take them far away, the LED
still light, but when I close the client board power, the LED on server would probably be turned off.

The log function is run by JLinkRTTViewer.

Any ideas on what's happening?

Parents Reply Children
Related