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!
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