Can the peripheral device directly reconnect to host/central?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JaHu_1711326
Level 1
Level 1
First like received First like given Welcome!

The central can call blecen_Conn() to connect a peripheral which is in advertisement.

Can the peripheral device directly reconnect to central which is paired before?

If yes, which function call can do it?

Thanks!

Jack Huang

0 Likes
1 Solution
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

It's important to understand that a Peripheral always advertises while a Central always scans.

To connect to a specific central, the peripheral can use Directed advertisements.

Directed Advertisements

victorz

View solution in original post

0 Likes
3 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

It's important to understand that a Peripheral always advertises while a Central always scans.

To connect to a specific central, the peripheral can use Directed advertisements.

Directed Advertisements

victorz

0 Likes

When the peripheral stays directed advertisement, the connection seems still to be executed by the central.

At peripheral side, can it create connection to a central?

Thanks!

Jack Huang

0 Likes

For connection creation, central is always being initiator to send connect request and peripheral is always being receiver to receive the request.

0 Likes