kinda ugly but BLE sw update seems reliable again
This commit is contained in:
1 parent
6b696bfdc5
commit
8893be57df
4 files changed
+29
-1
No files matched your search
@@ -336,4 +336,16 @@ void destroyMeshBluetoothService()
|
||||
delete meshService;
|
||||
|
||||
meshFromNumCharacteristic = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Super skanky FIXME - when we start a software update we force the mesh service to shutdown.
|
||||
* If the sw update fails, the user will have to manually reset the board to get things running again.
|
||||
*/
|
||||
void stopMeshBluetoothService()
|
||||
{
|
||||
if (meshService)
|
||||
meshService->stop();
|
||||
|
||||
meshFromNumCharacteristic = NULL; // don't try to notify anymore
|
||||
}
|
||||
Reference in new issue
Block a user