I tried putting BLEDevice::setMTU(131) (and also 23) just before and just after BLEDevice::startAdvertising() in my Arduino code from the first post in this thread. No change, the Bangle.js 2 still says it was disconnected after ~1.0 seconds.
My immediate problem is solved anyway, because I can just report my sensor readings in the "manufacturer data" field, and grab it with NRF.findDevices().
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I tried putting
BLEDevice::setMTU(131)
(and also 23) just before and just afterBLEDevice::startAdvertising()
in my Arduino code from the first post in this thread. No change, the Bangle.js 2 still says it was disconnected after ~1.0 seconds.My immediate problem is solved anyway, because I can just report my sensor readings in the "manufacturer data" field, and grab it with
NRF.findDevices()
.