Connected state behavior

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
Thanhtu131
Offline
Last seen:3 months 1 week ago
加入:2018-09-18 17:44
Connected state behavior

i have 2 questions:

In connected state, BLE devices will sleep and wake up continuously after intervals time. After waking up, is the connection remain? Or BLE devices have to advertise and reconect?

In connected state, is it posible to config BLE devices only be waken up by external interrupt source. If it is, after waken up, are the BLE devices still in connection state or they have to adverise and reconnect?'

Thanks for reading! I looking forward to getting your answers!

Device:
PM_Dialog
Offline
Last seen:3 days 3 hours ago
工作人员
加入:2018-02-08 11:03
Hi Thanhtu131,

Hi Thanhtu131,

The device can go into sleep mode between intervals ( advertising or connection) and will wake up automatically by BLE Timer. The connection is maintained between the connection intervals. It’s not possible to use an external interrupt during a connection. In case of waking up via an external interrupt, the wake-up controller should be used. Please check the ble_app_sleepmode example of the SDK.

Thanks, PM_Dialog

Thanhtu131
Offline
Last seen:3 months 1 week ago
加入:2018-09-18 17:44
"It’s not possible to use an

"It’s not possible to use an external interrupt during a connection." Do you want to tell me that it is not possible to use an external interrupt to wake the device in connection state?

I've tried to disable sleep mode during a connection and config an external interrupt. It works.

My main question is "In a connection(sleepmode is extendsleep), can i con configurate a wake-up controller to wake aBLE device? Is there any conflict?"

PM_Dialog
Offline
Last seen:3 days 3 hours ago
工作人员
加入:2018-02-08 11:03
Hi Thanhtu131,

Hi Thanhtu131,

As mentioned in my previous comment, the device will wake up automatically between the connection intervals via the BLE Timer. The connection is maintained as well. Why do you need to use the wake-up timer? Do you want to read some data from a peripheral block when the device is connected, and the extended sleep is on?

Thanks, PM_Dialog

Thanhtu131
Offline
Last seen:3 months 1 week ago
加入:2018-09-18 17:44
Thanks, i am now implenting

Thanks, i am now implenting another operation for my project and it will not use the wake-up timer during connection state.