Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Also send callsign in WS SDK freq update
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Jan 5, 2024
1 parent cf15086 commit fbe9b25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/ns/station.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Station {
return s;
}

NLOHMANN_DEFINE_TYPE_INTRUSIVE(Station, pFrequencyHz);
NLOHMANN_DEFINE_TYPE_INTRUSIVE(Station, pCallsign, pFrequencyHz);

protected:
int pFrequencyHz;
Expand Down
4 changes: 2 additions & 2 deletions include/sdk/sdkWebsocketMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ class WebsocketMessage {
// @value the frequency state update information including rx, tx, and xc
// stations
// JSON: {"type": "kFrequencyStateUpdate", "value": {"rx":
// [{"pFrequencyHz": 118775000}], "tx": [{"pFrequencyHz": 119775000}], "xc":
// [{"pFrequencyHz": 121500000}]}}
// [{"pFrequencyHz": 118775000, "pCallsign": "EDDF_S_TWR"}], "tx": [{"pFrequencyHz": 119775000, "pCallsign": "EDDF_S_TWR"}], "xc":
// [{"pFrequencyHz": 121500000, "pCallsign": "EDDF_S_TWR"}]}}

0 comments on commit fbe9b25

Please sign in to comment.