software update service now registered with NimBLE

This commit is contained in:
geeksville
2020-07-24 11:39:30 -07:00
parent a5b7501a4e
commit 204f2c1a68
6 changed files with 164 additions and 102 deletions

View File

@@ -489,6 +489,8 @@ void reinitBluetooth()
res = ble_gatts_add_svcs(gatt_svr_svcs);
assert(res == 0);
reinitUpdateService();
/* Set the default device name. */
res = ble_svc_gap_device_name_set(getDeviceName());
assert(res == 0);