This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Long Attributes

Hi, I need to have long attributes. So I need 'Read Blob' operation for read and Queued writes ('Prepare Write' and 'Execute Write'). Does Soft Device for nrf51822 support mentioned commands?

Best regards, Artem Zemlyanukhin

Parents
  • Hi,

    As I see in ble.h, 'BLE_EVT_USER_MEM_REQUEST' is a member of enum BLE_COMMON_EVTS:

    enum BLE_COMMON_EVTS { BLE_EVT_TX_COMPLETE = BLE_EVT_BASE, /< Transmission Complete. */ BLE_EVT_USER_MEM_REQUEST, /< User Memory request. */ BLE_EVT_USER_MEM_RELEASE /**< User Memory release. */ };

    For example, event 'BLE_EVT_TX_COMPLETE ' is used in GLS service. It is processed in 'ble_gls_on_ble_evt' calling from 'ble_evt_dispatch'. So I suppose, BLE_EVT_USER_MEM_REQUEST event I must handle in function calling from 'ble_evt_dispatch' too. But stack don't call 'ble_evt_dispatch' with such event..

    Can I use any new options for attributes which I need to Long Read?

    Thank you for your response!

Reply
  • Hi,

    As I see in ble.h, 'BLE_EVT_USER_MEM_REQUEST' is a member of enum BLE_COMMON_EVTS:

    enum BLE_COMMON_EVTS { BLE_EVT_TX_COMPLETE = BLE_EVT_BASE, /< Transmission Complete. */ BLE_EVT_USER_MEM_REQUEST, /< User Memory request. */ BLE_EVT_USER_MEM_RELEASE /**< User Memory release. */ };

    For example, event 'BLE_EVT_TX_COMPLETE ' is used in GLS service. It is processed in 'ble_gls_on_ble_evt' calling from 'ble_evt_dispatch'. So I suppose, BLE_EVT_USER_MEM_REQUEST event I must handle in function calling from 'ble_evt_dispatch' too. But stack don't call 'ble_evt_dispatch' with such event..

    Can I use any new options for attributes which I need to Long Read?

    Thank you for your response!

Children
No Data
Related