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.

CC2650: Peripheral Role: What information can the Peripheral learn from the Central that is connecting to it?

Part Number: CC2650

I'm facing an issue where my device (CC2650 custom Simple Peripheral on TI Stack 2.2.1) is receiving connections from an unknown source. The unknown source does not seem to attempt to do anything with the GATT from what I can tell and is just repeatedly connecting to my device (invoking the gapRole_processGAPMsg case for GAP_LINK_ESTABLISHED_EVENT).

What information can the I (as the Peripheral) gather from this unknown source using the available APIs in TI Stack 2.2.1, if any? 

Thanks!

  • Hi,

    Just to avoid any future misunderstanding, can you confirm you are using CC2650? In fact "GAP_LINK_ESTABLISHED_EVENT" is the way the event is usually named for the BLE5 stack (this stack is not available for CC2650).

    That being said, you should be able to get a few elements such as the connection parameters requested by the central device (that may sometimes lead to the type of device or even the vendor) and the address of the device (generally a random address, not the public address but you can still verify). To be sure to get the public address of the device you need to pair.

    I'll let an expert complete my answer,

    Best regards,

  • Yes, I'm using the CC2650 and using this stack for the builds (BLE Stack 2.2.1 doesn't support BLE5). I see now that there is a gapEstLinkReqEvent_t struct that is filled out during an established link so thank you for pointing that out.

    Is it safe to assume that the devAddr field within this struct is the MAC address (if public) ? And I would be able to use something like this lookup to help identify the connecting device?

    My device doesn't support pairing (by design), but I'll likely need to for the public address

  • Hi Erik,

    I believe you will find the thread that i have linked below to be helpful, let me know if you have any further questions.

    https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/247015?BLE-Address-Types

    Best Regards,
    Alec

  • Hi Erik,

    Were you able to resolve your problem?

    Best Regards,
    Alec