Description get modem state
http://localhost:5000/modem/state
Example
curl --request GET --url http://localhost:5000/modem/state
Response
{
"activities": {
"161dd75ef3b5847a": {
"activity_type": "ARQ_BURST_ACK",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"session_id": 105,
"snr": 4,
"timestamp": 1713034266
},
"168e90799d13b7b4": {
"activity_type": "ARQ_SESSION_INFO_ACK",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"session_id": 105,
"snr": -3,
"timestamp": 1713034248
},
"2218b849e937d36d": {
"activity_type": "QRV",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"gridsquare": "JP15OW",
"origin": "SOMECALL-1",
"snr": 2,
"timestamp": 1713034200
},
"3fb424827f4632ab": {
"activity_type": "BEACON",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"gridsquare": "JP22AI",
"origin": "CALLSIGN-1",
"snr": -8,
"timestamp": 1713034455
},
"743222d1dd64ce9d": {
"activity_type": "ARQ_SESSION_OPEN_ACK",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"origin": "CALL-1",
"session_id": 105,
"snr": -2,
"timestamp": 1713034243
},
"7589edf6bf23ceed": {
"activity_type": "ARQ_BURST_ACK",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"session_id": 105,
"snr": 2,
"timestamp": 1713034275
},
"9d2c5a98fe0f9894": {
"activity_type": "QRV",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"gridsquare": "JP12AW",
"origin": "CALLME-1",
"snr": 5,
"timestamp": 1713034178
},
"f85609dced4ea40a": {
"activity_type": "ARQ_BURST_ACK",
"direction": "received",
"frequency": "14093000",
"frequency_offset": 0,
"session_id": 105,
"snr": 0,
"timestamp": 1713034257
}
},
"audio_dbfs": -7.915304862713354,
"channel_busy_slot": [
false,
false,
true,
false,
false
],
"is_away_from_key": false,
"is_beacon_running": true,
"is_modem_busy": false,
"is_modem_running": true,
"radio_frequency": "14093000",
"radio_mode": "PKTUSB",
"radio_status": true,
"s_meter_strength": "20",
"type": "state"
}
Errors
This API uses the following error codes:
404 Not Found
: The requested resource was not found.