- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm going to run 20737 as central role which will try to connect several peripherals at the same time.
Will it be possible to call function 'blecm_CreateConnection' to different peripherals without calling 'blecm_CreateConnectionCancel' when some peripheral is not reachable?
Solved! Go to Solution.
- Labels:
-
MasterSlave
-
SDK 2.X
- Tags:
- 851038
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, you should not call new Create without Canceling the previous one. I think blecen_Conn will do it for you though (see hello_client sample for example).
I am also not sure what you are trying to do. The normal behavior would be to scan for advertisements and when you see advertisement from one of your devices, you tell stack to Connect. If your device behaves well it should connect pretty fast. If device is not present you will not see the advertisement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will ask one of the developers to respond.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, you should not call new Create without Canceling the previous one. I think blecen_Conn will do it for you though (see hello_client sample for example).
I am also not sure what you are trying to do. The normal behavior would be to scan for advertisements and when you see advertisement from one of your devices, you tell stack to Connect. If your device behaves well it should connect pretty fast. If device is not present you will not see the advertisement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Victorz,
Thanks for your comment. Understood.
I'll take care of the creating connection one by one.