This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BLE_GATTC_EVT_HVX event notification

How to know service or characterisic uuid from witch notification event came from? I'm using S130 demo example.

Parents
  • Hi there,

    ble_gattc_evt_hvx_t :: handle gives you the handle of the peer's attribute. You will have had to peform service discovery beforehand to know what this handle corresponds to, you can use:

    sd_ble_gattc_primary_services_discover

    sd_ble_gattc_characteristics_discover

    sd_ble_gattc_descriptors_discover

    to achieve that.

    Carles

Reply
  • Hi there,

    ble_gattc_evt_hvx_t :: handle gives you the handle of the peer's attribute. You will have had to peform service discovery beforehand to know what this handle corresponds to, you can use:

    sd_ble_gattc_primary_services_discover

    sd_ble_gattc_characteristics_discover

    sd_ble_gattc_descriptors_discover

    to achieve that.

    Carles

Children
Related