clean up bluetooth services

This commit is contained in:
geeksville
2020-02-02 13:29:53 -08:00
parent efbe520107
commit 255463f6b8
4 changed files with 62 additions and 25 deletions

View File

@@ -106,6 +106,9 @@ BLEService *createMeshBluetoothService(BLEServer *server)
meshFromNumCharacteristic.addDescriptor(new BLE2902()); // Needed so clients can request notification
service->start();
server->getAdvertising()->addServiceUUID(service->getUUID());
return service;
}