Maximum length of BT service characteristic value #7130
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2019-01-27 by JumJum ESP32 uses some firmware already on chip (ROM) and some precompiled libs for BT Posted at 2019-01-27 by JPep Ah, that explains it. That's a pity... Thanks for the info! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-26 by JPep
I'm trying to put more than 22 characters into a bluetooth service characteristic value. I can see from targets/esp32/BLE/esp32_gatts_func.h that the maximum value is defined as 22 however this value is never referred to again in code (at least I can't see where it is). When I try to fit a string of more than 22 characters it repeats 22 characters of the longer value.
Anyone had any luck presenting a value longer than 22 characters?
I'm using the Device Name org.bluetooth.characteristic.gap.device_name 0x2A00 characteristic with code something like:
p.s. Loving Espruino, it's fantastic. Keep up the excellent work.
Beta Was this translation helpful? Give feedback.
All reactions