jakkra / ZSWatch

ZSWatch - the Open Source Zephyrâ„¢ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.26k stars 191 forks source link

Don't vibrate when battery is low. GATT Sensor server fixes. #196

Closed jakkra closed 8 months ago

jakkra commented 8 months ago

Check commit messages for details.

Kampi commented 8 months ago

The connection is quite slow and I get this message when subscribing to the Adafruit services:

00> [00:03:16.282,135] <wrn> bt_att: Unable to allocate ATT TX meta
00> [00:03:16.282,135] <wrn> bt_gatt: No buffer available to send notification

After some time the connection is getting closed

00> [00:04:00.484,741] <err> bt_conn: not connected!
00> [00:04:00.484,771] <err> ble_comm: bt_conn_le_param_update failed -128
jakkra commented 8 months ago

The connection is quite slow and I get this message when subscribing to the Adafruit services:

00> [00:03:16.282,135] <wrn> bt_att: Unable to allocate ATT TX meta
00> [00:03:16.282,135] <wrn> bt_gatt: No buffer available to send notification

After some time the connection is getting closed

00> [00:04:00.484,741] <err> bt_conn: not connected!
00> [00:04:00.484,771] <err> ble_comm: bt_conn_le_param_update failed -128

Yep, noticed it too when running it now. Sometimes it wokrs great, sometimes not. Will continue looking into it, but not related to this PR.