Struct SYN_CJT188_Frame¶
Decoded CJ/T 188 Protocol Frame.
#include <syn_cjt188.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | ctrl |
| uint16_t | data_id |
| uint8_t | len |
| uint8_t | meter_id |
| uint8_t | meter_type |
| const uint8_t * | payload |
| size_t | payload_len |
| uint8_t | seq |
| uint8_t | vendor_id |
Public Attributes Documentation¶
variable ctrl¶
Control code (0x01, 0x81, 0x04, etc.)
variable data_id¶
16-bit Data ID (e.g. 0x901F)
variable len¶
Data field length
variable meter_id¶
5-byte BCD meter ID (reverse order)
variable meter_type¶
Meter type (0x10 cold water, etc.)
variable payload¶
Pointer to data payload inside frame
variable payload_len¶
Length of payload (len - 3)
variable seq¶
Sequence number
variable vendor_id¶
2-byte manufacturer code
The documentation for this class was generated from the following file src/syntropic/proto/syn_cjt188.h