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
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
Hi there,
Read Long as a GATT server has been supported since very early versions of the SoftDevice.
Version 6.0.0-1.alpha of the SoftDevice adds Write Long (and Reliable Write) support to the SoftDevice GATT server.
Hope that helps,
Carles
Hi there,
Read Long as a GATT server has been supported since very early versions of the SoftDevice.
Version 6.0.0-1.alpha of the SoftDevice adds Write Long (and Reliable Write) support to the SoftDevice GATT server.
Hope that helps,
Carles
Carles, Thanks a lot, try to test 6.0.0-1.alpha version!
Hi Carles,
I have some questions about Write Long.
Because Master Control Panel 3.4.0 doesn't support 'Prepare Write' and 'Execute Write' I use CC2540-based usb dongle (from TI) and BTool software to test Write Long. I decided to implement 'GATTS Queued Writes: App handled, one or more attributes require authorization'. But I can't catch 'BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST' after I send PrepareWriteRequest or ExecuteWriteRequest via BTool. As I saw in your Message Sequence Charts, I also have to handle 'BLE_EVT_USER_MEM_REQUEST' and call 'sd_ble_user_mem_reply'. But I don't know where I can handle 'BLE_EVT_USER_MEM_REQUEST' event, stack doesn't call 'ble_evt_dispatch' with corresponding event. Do you have any example how to use Write Long?
Best Regards, Artem Zemlyanukhin
Hi there,
I am guessing the issue here is that the SDK does not support BLE_EVT_USER_MEM_REQUEST yet, so that is why is not being handled in ble_evt_dispatch.
I will let the people in charge of the SDK know of this and see if they can help you out.
Regards,
Carles