IMCInter Module Communication
v5.5.11

UamJanusPacket

UamJanusPacket ID 819
Payload
≥ 17 bytes, variable
Packet
≥ 39 bytes
Source
ccu, vehicle
Category
Acoustic Communication

This message is used to send and receive Janus packets over the acoustic channel, agnostic of underlying modem.

#Fields

Offset FieldTypeUnitRangeDescription
0 #seqSequence Id uint16_t – –

A sequence identifier that should be incremented for each request. This number will then be used to issue transmission status updates via the message UamTxStatus.

2 #opOperation uint8_t Enumerated –

Operation on the Janus packet.

0OP_SEND_REQSend Request
1OP_BASELINE_RECVBaseline Packet Received
2OP_UNPACK_REQBaseline Unpack Request
3OP_UNPACK_REPLYBaseline Unpack Reply
4OP_UNPACK_ERRORBaseline Unpack Error
5OP_SEND_SUCCESSSend Success
6OP_SEND_ERRORSend Error
3 #baseline_flagsBaseline Packet Flags uint8_t Bitfield –

Janus baseline packet flags.

0x01JANUSBL_MOBILEMobile

Indicates that the nature of the transmitting platform is mobile.

0x02JANUSBL_REPEAT_INTERVALRepeat Interval

Repeat interval, as specified in the time field.

0x04JANUSBL_RESERVATION_TIMEReservation Time

Reservation time as specified in the time field.

0x08JANUSBL_DECODE_CAPABILITYDecode Capability

Indicates the decode capability of the transmitting platform.

0x16JANUSBL_FORWARD_CAPABILITYForward Capability

Indicates the forwarding capability of the transmitting platform.

4 #timeTime fp32_t s –

Time of the packet, in seconds. To be interpreted according to the flags. If the REPEAT_INTERVAL flag is set, this field indicates the time interval between packets. If the RESERVATION_TIME flag is set, sthis field indicates the time for the reservation.

8 #class_user_idClass User Id uint8_t – –

Class user id.

9 #application_typeApplication Type uint8_t – –

Application type.

10 #adbApplication Data Block rawdata – –

The Application Data Block corresponding to the baseline packet.

var #errorError plaintext – –

Human-readable error message.

var #lengthLength uint8_t – –

Length of Janus cargo.

var #cargoJanus Cargo rawdata – –

Janus cargo, sent after the baseline packet.