diff --git a/session/session_json.go b/session/session_json.go index 6ee9e2fd..2ae9f6f5 100644 --- a/session/session_json.go +++ b/session/session_json.go @@ -59,6 +59,7 @@ type SessionJSON struct { WiFi *network.WiFi `json:"wifi"` BLE *network.BLE `json:"ble"` HID *network.HID `json:"hid"` + CAN *network.CAN `json:"can"` Queue *packets.Queue `json:"packets"` StartedAt time.Time `json:"started_at"` PolledAt time.Time `json:"polled_at"` @@ -95,6 +96,7 @@ func (s *Session) MarshalJSON() ([]byte, error) { WiFi: s.WiFi, BLE: s.BLE, HID: s.HID, + CAN: s.CAN, Queue: s.Queue, StartedAt: s.StartedAt, PolledAt: time.Now(),