KW36 Temperature sensor sample code BLE disconnection problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KW36 Temperature sensor sample code BLE disconnection problem

634 Views
Lincoln
Contributor III

Hi,

When I used temp sensor sample code by kw36, I found that if I don't press button to transmit the temp from server to client, BLE would be disconnected by itself in a few seconds. Then I rewrite the code to make it transmit the temp every 500ms, but it still would be disconnected by itself. 

How to make it remain connection status? 

Thank you!

Labels (2)
0 Kudos
Reply
1 Reply

614 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Hope you are doing well. Did you disable the Power Down functionality? This can be done in the app_preinclude.h (cPWR_UsePowerDownMode). With the Power Down mode enabled, if no key is pressed in an interval of 5 seconds, the sensor node disconnects and re-enters cPWR_DeepSleepMode

For more information about the Temperature Sensor and Collector, I would recommend the "Bluetooth Low Energy Demo Applications User Guide.pdf" (Path: SDK_doc.zip\docs\wireless\Bluetooth).

Hope this helps.

 

Best Regards,

Ricardo

0 Kudos
Reply