Impact between 'blecm_startScan' and 'blecm_CreateConnection'

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

cross mob
Anonymous
Not applicable

Hi,

  While doing scanning and creating connection at the same time, how does the scan interval and window behave while calling blecm_startScan and blecm_CreateConnection in the same period (not in sequence order).

  Shall I use the same interval/window for these 2 function calls? What's the result of different interval/window that applied to these 2 functions?

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

My apologies for the delayed response.

I spoke to the developers about your question and they said that the functions are the same in terms of looking for advertisements.

The difference is that if your application asks to create a connection, the stack will not send an advertisement report to the application, but will instead try to create the connection instead.

It does not seem logical to attempt to use both functions at the same time and they believe the latter will override the previous call.

View solution in original post

1 Reply
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

My apologies for the delayed response.

I spoke to the developers about your question and they said that the functions are the same in terms of looking for advertisements.

The difference is that if your application asks to create a connection, the stack will not send an advertisement report to the application, but will instead try to create the connection instead.

It does not seem logical to attempt to use both functions at the same time and they believe the latter will override the previous call.