This repository was archived by the owner on Sep 16, 2024. It is now read-only.
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Is it possible to send more than 20 bytes over BLE? #279
Closed
Description
Please include the following information when submitting a bug report:
Pycom LoPy4.
Firmware version
>>> import os
>>> os.uname()
(sysname='LoPy4', nodename='LoPy4', release='1.18.2', version='v1.8.6-849-07a52e4 on 2019-02-08', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1')
From https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/mods/modbt.c I can see that MTU size is set to 200, but the problem is that BT_CHAR_VALUE_SIZE_MAX is set to 20, so I can only receive 20 bytes over BLE characteristic.
Is it possible to configure pycom to receive more than 20 bytes? That feature should be available as basic BLE functionality.
Thank you!