
SSR-1U User’s Manual
Rev -, 27 Dec 2019
© 2019 Slerj, LLC
26
www.slerj.com
5.2.4
Card Status
Message
Card Status
Description
Provides the status of the SD card as detected by the socket.
ID
Payload Length
Direction
Message Rate
0x21
1 byte
out
polled
1
Payload
Byte
Offset
Type
Notes
Name
Units
Purpose / Comment
0
U1
status
bitfield Status:
bits 7-3: (reserved)
bit 2: Card is write protected
bit 1: Card is not inserted
bit 0: Card is not initialized
Notes:
1.
This message is polled by sending a message with ID=0x21 and no payload.
5.2.5
Disk Status
Message
Disk Status
Description
Provides the status of the disk as detected by the file system.
ID
Payload Length
Direction
Message Rate
0x22
8 bytes
out
polled
1
Payload
Byte
Offset
Type
Notes
Name
Units
Purpose / Comment
0
U4
size
kB
Size of the disk
4
U4
free
kB
Unused disk space
Notes:
1.
This message is polled by sending a message with ID=0x22 and no payload.