redbear / firmware

Firmware for Particle Devices: Spark Core (master branch) and Photon (latest branch)
https://www.particle.io/
GNU Lesser General Public License v3.0
9 stars 12 forks source link

Add support for BLE GATT prepared writes. #41

Closed filipnavara closed 6 years ago

filipnavara commented 6 years ago

The GATT protocol allows multiple writes to be packed together and executed at once. Since the wiring BLE API doesn't expose the write mode and offset parameters from the underlying API it is necessary to handle this at the HAL level.