Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: GATT_WriteLongCharValue issue

Hi all,

I'm experiencing an issue by using the GATT_WriteLongCharValue () function to send 244 bytes from a central device to

a peripheral device. The steps performed by  the central device are the following:

1) GAPCentralRole_EstablishLink () => event GAP_LINK_ESTABLISHED_EVENT received with no errors

2) GATT_DiscPrimaryServiceByUUID () => event ATT_FIND_BY_TYPE_VALUE_RSP received with no errors

3) GATT_DiscAllChars () => event ATT_READ_BY_TYPE_RSP received with no errors

4) GATT_WriteCharValue() to send one byte to the peripheral device => event ATT_WRITE_RSP received with no errors

5) GATT_WriteLongCharValue () to send the first chunk of data to the peripheral device => no events received by the BLE stack,

     communication interrupted with the peripheral device (no more packets exchange visible with the sniffer)

I've tried to replace the GATT_WriteLongCharValue () with ATT_WriteLongCharValue () and I'm able to see with the sniffer the

packets "ATT PREPARE WRITE REQ" from central to peripheral and "ATT PREPARE WRITE RESP" from peripheral to central

but no indications have been raised by the BLE stack.

Is there a bug in the BLE stack ? Have somebody experienced that issue ? How could I think about a workaround ?

Best Regards

/Alessandro


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>