GATT connection timeout?

Posted on
Page
of 2
Prev
/ 2
  • Ahh. Got it:

    If any of the discovered characteristics have 128-bit UUIDs which are not present in the table provided to ble_vs_uuids_assign, a UUID structure with type BLE_UUID_TYPE_UNKNOWN will be received in the corresponding event.

    So that's the issue by the look of it - a full 128 bit UUID for the service. However if you search for the service by the full UUID, I'd have thought it would find it.

  • OK that makes sense but..... well, how NrfConnect app could enumerate those 3 services then? it doesn't know anything about this device ...

  • I've filed a bug for it here: https://github.com/espruino/Espruino/iss­ues/1282

    Looks like you have to explicitly read each characteristic to get the extra UUID data out. It's something that not even Nordic's own libraries seem to bother with. Realistically it's not high up my priority list to fix, as once you explicitly request the service with the 128 bit UUID it gets added to the softdevice's cache and it should then be able to recognise it.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

GATT connection timeout?

Posted by Avatar for Jean-Philippe_Rey @Jean-Philippe_Rey

Actions