- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to prevent clients with mac addresses that aren't on a white list from connecting to a bcm20732 based server.
Right now I using emconninfo_getPeerAddr() and blecm_disconnect() to close an already opened connection.
What I would like to prevent is that a connection can even be opened by an unauthorized device. While I can go with what I have,
I have to restart advertisements and extend my state machine to wait for connection shutdown.
If you have any ideas please let me know.
Regards,
Kilian Timmler
Solved! Go to Solution.
- Labels:
-
SDK 1.X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with the developers and type should be 0 for public while 1 is used for static random or private resolvable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at this discussion on blecm.h: Adding and Removing Entries from Whitelist
I believe this describes adding items to the whitelist at the stack layer, which needs to be done once during application creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm getting an "undefined reference to `blecm_enableAddressSelection'" and "undefined reference to `blecm_SelectAddress'". I'm using SDK1.1.0, I hope the functions are actually compiled in.
I also don't know what the type field in
typedef PACKED struct
{
UINT8 addr[6];
UINT8 type;
} BLECM_SELECT_ADDR;
should be set to.
Regards,
Kilian Timmler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked with the developers and type should be 0 for public while 1 is used for static random or private resolvable.