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
Do you need them only as a GATT server? i.e. your nRF51 application will only act as a GATT server?
Yes, my device is only GATT Server, so I need to receive Requests and send Responses.
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