- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm testing the PSoC4 BLE Capsense Proximity from the project example. Everything work fine so far, but when I tried to disable the LOW_POWER_MODE the server(PSoC4 module) become unable to notify the client(BLE dongle). And i found out the main cause is due to the following condition statement:
if(CYBLE_BLESS_STATE_ECO_STABLE == CyBle_GetBleSsState())
{
HandleCapSenseProximity();
}
The BLE subsystem cannot enter ECO_STABLE state. I have tried changing the "CYBLE_BLESS_STATE_ECO_STABLE" to any possible state but there is still no result. In this case, what should i do in order for the program to work properly without going into low power mode?
Additional question: Can the BLE remains in ACTIVE state for all the time Or it must enter Sleep mode once a while for proper operation?(Neglecting the power consumption factor)
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you are not using the LPM, you can just ignore the check if(CYBLE_BLESS_STATE_ECO_STABLE == CyBle_GetBleSsState())
You can remove this 'if' condition in your code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you are not using the LPM, you can just ignore the check if(CYBLE_BLESS_STATE_ECO_STABLE == CyBle_GetBleSsState())
You can remove this 'if' condition in your code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer operationred. I have tried your suggestion and it worked. I managed to obtain notification from the peripheral device again.