4 SBF Reference
DiskStatus
Number:
4059
"OnChange"
interval: 1s
This block reports the size and usage of the disks mounted on the receiver.
Parameter
Type Units
Do-Not-Use
Description
Sync1
c1
Block Header, see 4.1.1
Sync2
c1
u2
ID
u2
Length
u2
1
byte
u4
0.001
s
4294967295
Receiver time stamp, see 4.1.3
u2
1
week
65535
N
u1
Number of
DiskData
sub-blocks this block contains.
SBLength
u1
1
byte
Length of one
DiskData
sub-blocks in bytes.
Reserved
u1[4]
Reserved for future use
DiskData
...
...
A succession of N
DiskData
sub-blocks, see definition below
Padding
u1[..]
Padding bytes, see 4.1.5
DiskData
sub-block definition:
Parameter
Type Units
Do-Not-Use
Description
DiskID
u1
ID of the disk, starting at 1 for the internal SD Memory Card.
Status
u1
Bit field:
Bit 0:
DISK_MOUNTED: bit set when the disk is mounted.
Bit 1:
DISK_FULL: bit set when the disk is full. A disk is full when it
is filled to 95% of its total capacity.
Bit 2:
DISK_ACTIVITY: bit set for one second each time data is writ-
ten to the disk. If the logging rate is larger than 1 Hz, set
continuously.
Bit 3:
LOGGING_ENABLED: bit set when at least one file is open on
the disk, regardless of the logging rate.
Bit 4:
MOUNTING: bit set when disk is being mounted.
Bit 5:
FORMATTING: bit set when disk is being formatted.
Rev 1
Bits 6-7: Reserved
DiskUsageMSB
u2
65535
(11)
16 MSB of the total disk usage. The disk usage in bytes is given by
DiskUsageMSB
*429
DiskUsageLSB
.
DiskUsageLSB
u4
4294967295
(11)
32 LSB of the total disk usage. The disk usage in bytes is given by
DiskUsageMSB
*429
DiskUsageLSB
.
DiskSize
u4
1
Mbyte
0
Total size of the disk, in megabytes.
CreateDeleteCount
u1
Counter incremented by one each time a file or a folder is created or
deleted on this disk. This counter starts at zero at receiver start-up
and restarts at zero after having reached 255.
Error
u1
255
Disk error:
0:
No error
1:
Disk partition is too large
2:
Disk does not have any partition
3:
File system check and recovery failed
4:
Disk in use over USB
254: Disk mount failed due to unknown error
Rev 1
Padding
u1[..]
Padding bytes, see 4.1.5
(11)
The disk usage is invalid if both
DiskUsageMSB
is 65535 and
DiskUsageLSB
is 4294967295.
467
Summary of Contents for PolaRx5TR
Page 1: ...PolaRx5TR Reference Guide Applicable to version 5 5 0 of the Firmware ...
Page 73: ...3 Command Line Reference Chapter 3 Command Line Reference 73 ...
Page 130: ...3 Command Line Reference COM1 gim CR R gim IonosphereModel off COM1 130 ...
Page 237: ...3 Command Line Reference COM1 237 ...
Page 279: ...3 Command Line Reference COM1 279 ...
Page 294: ...4 SBF Reference Chapter 4 SBF Reference 294 ...