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.
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
should be set to.
I checked with the developers and type should be 0 for public while 1 is used for static random or private resolvable.