refactor: device connection logic, added nonce to get config only (#946)
* refactor: device connection logic, added nonce to get config only on connect. * Update packages/web/src/core/services/MeshService.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/web/src/pages/Connections/useConnections.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * code review fixes * fixes from code review * ui fixes * refactored meshService, moved code into deviceStore. Fixed some connnection issues * formatting fixes --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -387,4 +387,12 @@ export class EventSystem {
|
||||
*/
|
||||
public readonly onQueueStatus: SimpleEventDispatcher<Protobuf.Mesh.QueueStatus> =
|
||||
new SimpleEventDispatcher<Protobuf.Mesh.QueueStatus>();
|
||||
|
||||
/**
|
||||
* Fires when a configCompleteId message is received from the device
|
||||
*
|
||||
* @event onConfigComplete
|
||||
*/
|
||||
public readonly onConfigComplete: SimpleEventDispatcher<number> =
|
||||
new SimpleEventDispatcher<number>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user