Modem Status Packet

Modem Status Packet
Packet ID 66
Length 26
Read / Write Read / Write
Field # Bytes Offset Data Type Size Description

1

0

u32

4

Unix Time Seconds

2

4

u32

4

Microseconds

3

8

u16

2

Data chunk ID

4

10

u16

2

Modem Data Description

5

12

u16

2

Modem Link Status

6

14

u16

2

Modem Event

7

16

u16

2

Number of acoustic transmissions

8

18

u16

2

Number of acoustic packets lost

9

20

u16

2

Number of bit errors detected

10

22

u16

2

Number of bit errors corrected

11

24

u16

2

Latency (milliseconds)

Modem Status Packet

Note: All statistics returned are for the current data chunk

Modem Data Description

Bit Description

0

Error detection enabled

1

Error correction enabled

2

Data discarded

3

Data timed out

4

Data was corrupt

5

Data was corrected

6

Reserved

7

Reserved

8

Reserved

9

Reserved

10

Reserved

11

Reserved

12

Reserved

13

Reserved

14

Reserved

15

Reserved

Modem Data Description

Modem Link Status

Bit Description

0

No medium available to transmit

1

Network link utilise

2

30kHz acoustic band utilised

3

Reserved

4

Reserved

5

Reserved

6

Reserved

7

Reserved

8

Reserved

9

Reserved

10

Reserved

11

Reserved

12

Reserved

13

Reserved

14

Reserved

15

Reserved

Modem Link Status

Modem Event

Bit

Description

0

See Modem Event Type

1

2

3

4

5

Reserved

6

Reserved

7

Reserved

8

Reserved

9

Reserved

10

Reserved

11

Reserved

12

Reserved

13

Reserved

14

Reserved

15

Reserved

Modem Event

Modem Event Type

Value Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Description

0

0

0

0

0

0

Data chunk created from complete ANPP message

1

0

0

0

0

1

Data chunk created from timeout requirements

2

0

0

0

1

0

Data chunk created from size requirements

3

0

0

0

1

1

Data chunk discarded due to buffer overflow

4

0

0

1

0

0

Data chunk discarded due to buffer timeout

5

0

0

1

0

1

Data chunk discarded due to preemptive buffer timeout

6

0

0

1

1

0

Data chunk discarded due to buffer contention

7

0

0

1

1

1

Data chunk discarded due to out of sequence ANPP packet

8

0

1

0

0

0

Data chunk discarded due to sender

9

0

1

0

0

1

Data chunk pending discard due to buffer timeout

10

0

1

0

1

0

Sent message

11

0

1

0

1

1

Message partially acknowledged

12

0

1

1

0

0

Message acknowledged

13

0

1

1

0

1

Received message

+

 

 

 

 

 

Reserved

Modem Event Type