Search found 4 matches

by Yannick
Tue Jul 26, 2022 3:10 pm
Forum: Other Boards
Topic: BLE char limited to 20 bytes on STM32 NUCLEO-WB55 ?
Replies: 1
Views: 19147

BLE char limited to 20 bytes on STM32 NUCLEO-WB55 ?

Hello This post is an update of the one I did almost a year ago (https://forum.micropython.org/viewtopic.php?f=2&t=10465), with no solution found up to now. I am facing exactly this issue, an trying to apply this solution : Characteristics and descriptors have a default maximum size of 20 bytes. Any...
by Yannick
Thu May 06, 2021 5:40 pm
Forum: General Discussion and Questions
Topic: BLE : gattc_write cannot write more than 20 bytes ?
Replies: 2
Views: 2232

BLE : gattc_write cannot write more than 20 bytes ?

Thanks ! Unfortunately, this feature doesn't seem to be implemented yet on my hardware (STM32 NUCLEO-WB55 board). I tried several synthaxes ... for ex : self._ble.config(rxbuf=1024) ... but none worked, all thrown a "unknown config param message." :cry: In the meantime I progressed. I added this cod...
by Yannick
Thu May 06, 2021 9:53 am
Forum: General Discussion and Questions
Topic: BLE : gattc_write cannot write more than 20 bytes ?
Replies: 2
Views: 2232

BLE : gattc_write cannot write more than 20 bytes ?

Hello I am currently working on an adaptation of the BLE UART code given here https://github.com/micropython/micropython/blob/master/examples/bluetooth/ble_simple_peripheral.py. But I am facing what seems to me a bug in features of https://docs.micropython.org/en/latest/library/ubluetooth.html. I ca...
by Yannick
Mon Mar 15, 2021 6:11 pm
Forum: General Discussion and Questions
Topic: BLE example : 1 central, several peripheral
Replies: 0
Views: 1106

BLE example : 1 central, several peripheral

Hello I am still in my early learning phase on BLE protocol & Micropython. I greatly appreciated the exemples available here https://github.com/micropython/micropython/tree/master/examples/bluetooth . I managed to make them run properly on my Nucleo WB55 board, with minor changes. But all these scri...