- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I get to this event CYBLE_BLESS_STATE_EVENT_CLOSE ?
I need to use it for CyBle_GapUpdateAdvData( ) function.
What will force that event?
Is it
CySysPmSleep(); ?
CySysPmDeepSleep(); ?
CySysPmHibernate();?
I will make this for the Peripheral.
Also if it hibernates, sleep, deep sleep ... will i ever connect to it ? via Central.
Message was edited by: Cyrus Nikko Pante
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CYBLE_BLESS_STATE_EVENT_CLOSE occurs automatically as a unit runs through advertising
If you set the BLE to low power mode first, then you can still run the advertising while in sleep(), deepsleep() modes, but hibernate will need the BLE radio turned off.
You can still connect while it is advertising in sleep(), deepsleep() modes, but you will need to write code to handle the low power differences.
See here: http://www.cypress.com/blog/100-projects-100-days/project-027-ble-power-consumption-optimization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CYBLE_BLESS_STATE_EVENT_CLOSE occurs automatically as a unit runs through advertising
If you set the BLE to low power mode first, then you can still run the advertising while in sleep(), deepsleep() modes, but hibernate will need the BLE radio turned off.
You can still connect while it is advertising in sleep(), deepsleep() modes, but you will need to write code to handle the low power differences.
See here: http://www.cypress.com/blog/100-projects-100-days/project-027-ble-power-consumption-optimization