I replaced the event callback and I just get Disconnected 62 which seems to mean "BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED 0x3E". This explains why the gatt is connected only for a very short time.
Any hint on the reason for a connection that cannot be established?
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 replaced the event callback and I just get
Disconnected 62
which seems to mean "BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED 0x3E". This explains why the gatt is connected only for a very short time.Any hint on the reason for a connection that cannot be established?