cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

Do you have an example to wake up using GPIO interrupt? Can  "blecm_connectionEventNotifiationEnable" be used for wake up from Sleep or Deep Sleep? Can you share an example using this function.

0 Likes
1 Solution
MichaelF_56
Moderator
Moderator

I believe that i2c_temperature_sensor provides an example of this very thing.

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Hello rgtech,

Have you seen this post:

How can I make bcm20732s sleep and wake it up by GPIO interrupt?

Let me know if this helps

Thanks

JT

0 Likes
Anonymous
Not applicable

Hi JT,

Thanks for the reply...!

I am trying to run a simple sleep and wake up demo. Below are sequence of steps that I follow 

1. Initialize sleep, GPIO pin and GPIO callback and comment out ble profile or connection related function(for this test) in app_create().

2. Put the radio to sleep / deep sleep in app_create()

3. Wake up the processor using external GPIO interrupt

The device fails to enter defined GPIO callback and neither goes to sleep again.

Is there a dependency of callback function to ble profile function?

Any info on using  - "blecm_connectionEventNotifiationEnable" function.

RG

0 Likes
MichaelF_56
Moderator
Moderator

I believe that i2c_temperature_sensor provides an example of this very thing.

View solution in original post

0 Likes