Namespace module::status
Namespace List > module > status
Classes
| Type | Name |
|---|---|
| class | DeviceStatus |
Public Attributes
| Type | Name |
|---|---|
| constexpr uint8_t | kBBPortIndex = = 2 |
| constexpr uint8_t | kDeviceInitialized = = 1 Integers are easier than strings to compare. Therefore these integers are macro's to select the above listed strings. |
| constexpr uint8_t | kDeviceUnitialized = = 0 |
| constexpr uint8_t | kIDLocationInFlash = = 0 The flash cursor position for the ID data. |
| constexpr const char | kInitializedStatus = = "Initialized" |
| constexpr uint8_t | kNumOfSensorPorts = = 2 |
| constexpr uint8_t | kSensorPortAIndex = = 0 |
| constexpr uint8_t | kSensorPortBIndex = = 1 |
| constexpr const char | kStatusFormatString = = |
| "{\"Status\": \"%s\", \"DeviceType\": %d, \"DeviceID:\": %d, " | |
| "\"PortASenType\": %d, " | |
| "\"PortBSenType\": %d, \"PortASampleRate\": %d, \"PortBSampleRate\": %d}" The string used by snprintf to fill the buffer with a fixed format. This will provide the response of the Status command! |
|
| constexpr const char | kUninitializedStatus = = "Unitialized" The strings which will be inserted in to the format string depending on whether the system is initialized or not. |
Public Attributes Documentation
variable kBBPortIndex
constexpr uint8_t module::status::kBBPortIndex;
variable kDeviceInitialized
constexpr uint8_t module::status::kDeviceInitialized;
variable kDeviceUnitialized
constexpr uint8_t module::status::kDeviceUnitialized;
variable kIDLocationInFlash
constexpr uint8_t module::status::kIDLocationInFlash;
variable kInitializedStatus
constexpr const char module::status::kInitializedStatus[];
variable kNumOfSensorPorts
constexpr uint8_t module::status::kNumOfSensorPorts;
variable kSensorPortAIndex
constexpr uint8_t module::status::kSensorPortAIndex;
variable kSensorPortBIndex
constexpr uint8_t module::status::kSensorPortBIndex;
variable kStatusFormatString
constexpr const char module::status::kStatusFormatString[];
variable kUninitializedStatus
constexpr const char module::status::kUninitializedStatus[];
The documentation for this class was generated from the following file SensorHub_FW/src/device_status.hpp