adafruit / Adafruit_BluefruitLE_Firmware

Firmware images for Adafruit's Bluefruit LE Modules (Bluefruit LE Friend, etc.)
119 stars 37 forks source link

AT+GATTCHAR only gives four first bytes #9

Closed deisterhold closed 8 years ago

deisterhold commented 8 years ago

When using the AT+GATTCHAR command, only the first four bytes are displayed even though it supports up to 20. Also if there could be a way for the MCU to be notified that a service characteristic has been changed instead of having to poll for new data.

microbuilder commented 8 years ago

These changes should be implemented in the 0.7.0 release: https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/history#version-0-dot-7-0

By indicating the data type for your characteristic it will now be correctly displayed, and there are new callbacks mechanisms (and examples) in the latest release of the nRF51 Arduino library.