peripheral can connect mid stream and start go into streaming immidiately

This commit is contained in:
2026-09-23 13:40:31 +01:00
parent 76d758e264
commit a519cf473e
6 changed files with 53 additions and 25 deletions
+2 -2
View File
@@ -154,8 +154,8 @@ func (sc *StreamingCtrl) updateStream() {
// Performance reasoning: this is not used during the high frequency data transmission
// so we can get away with using a map for convenience here
func (sc *StreamingCtrl) SetInternalState() {
fields := sc.TelemServ.SubscribeToFields()
sc.Messages <- fmt.Sprintf("Subscribed to fields: %+v\n", fields)
// fields := sc.TelemServ.SubscribeToAllFields()
// sc.Messages <- fmt.Sprintf("Subscribed to fields: %+v\n", fields)
}
func (sc *StreamingCtrl) listenToUIStream() {