This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error code -116 when attempting to connect 2 CC2564 via BLE when the server has random address.

Hi Stonesteet/TI,


I am attempting to get 2 CC2564s to connect to each other via BLE. This works fine if both devices are using atPublic address types, however if the 'server' is using a random address (atRandom) then I receive the error -116 from GAP_LE_Create_Connection().

Why does this happen? These device generally have a static random LE address and iOS and Android don't seem to have any issues connecting to them. This is the first time that I've been required to make one of them a client, so I'm wondering if I'm missing a step. Do I need to resolve the address or something? I'm using v1.5 R2 of the stack.

Regards,

Barak