Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

Not applicable

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(); ?


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

1 Solution
Not applicable

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:

View solution in original post

1 Reply