MySensors Library & Examples
2.3.2
|
FW config structure, stored in eeprom.
LoRa packet structure.
RFM95 LoRa ACK packet structure.
RFM95 LoRa header.
Packet structure IMPORTANT: Do not change order.
RFM69 ACK packet structure.
RFM69 header IMPORTANT: Do not change order (see datasheet for packet structure)
FW block reply structure (RLE)
FW block reply structure.
FW block request structure.
FW config request structure.
Definition at line 117 of file MyOTAFirmwareUpdate.h.
#include <MyOTAFirmwareUpdate.h>
Public Attributes | |
uint16_t | type |
Type of config. | |
uint16_t | version |
Version of config. More... | |
uint16_t | blocks |
Number of blocks. | |
uint16_t | crc |
CRC of block data. | |
uint16_t | BLVersion |
Bootloader version. | |
uint8_t | blockSize |
Blocksize, when protocol version >= 3.1 is reported. Otherwhise the blocksize is 16. | |
uint8_t | img_commited |
mcuboot image_ok attribute commited firmware=0x01(mcuboot)|0x02(DualOptiboot), when protocol version >= 3.1 is reported | |
uint16_t | img_revision |
mcuboot revision attribute, when protocol version >= 3.1 is reported | |
uint32_t | img_build_num |
mcuboot build_num attribute, when protocol version >= 3.1 is reported | |
uint16_t | block |
Block index. | |
uint8_t | data [FIRMWARE_BLOCK_SIZE] |
Block data. More... | |
uint16_t | number_of_blocks |
Number of blocks to fill with data. | |
uint8_t | packetLen |
packet length | |
uint8_t | recipient |
payload recipient More... | |
uint8_t | version |
header version (20180128tk: >=3.0.0 fused with controlFlags) More... | |
uint8_t | sender |
payload sender More... | |
rfm69_controlFlags_t | controlFlags |
control flags, used for ACK | |
rfm69_sequenceNumber_t | sequenceNumber |
packet sequence number, used for ACK More... | |
rfm69_RSSI_t | RSSI |
RSSI. More... | |
union { | |
struct { | |
rfm69_header_t header | |
Packet header. | |
union { | |
uint8_t payload [RFM69_MAX_PAYLOAD_LEN] | |
Union: Data Payload, i.e. MySensors message. | |
rfm69_ack_t ACK | |
Union: ACK payload (internal) | |
} | |
} | |
uint8_t data [RFM69_MAX_PACKET_LEN] | |
RAW data access. | |
}; | |
uint8_t | payloadLen |
Length of payload (excluding header) | |
rfm95_controlFlags_t | controlFlags |
Control flags, used for ACK. | |
rfm95_sequenceNumber_t | sequenceNumber |
Packet sequence number, used for ACK. More... | |
rfm95_RSSI_t | RSSI |
RSSI. More... | |
rfm95_SNR_t | SNR |
SNR. More... | |
union { | |
struct { | |
rfm95_header_t header | |
LoRa header. | |
union { | |
uint8_t payload [RFM95_MAX_PAYLOAD_LEN] | |
Payload, i.e. MySensors message. | |
rfm95_ack_t ACK | |
Union: ACK. | |
} | |
} | |
uint8_t data [RFM95_MAX_PACKET_LEN] | |
RAW. | |
}; | |
uint8_t __attribute__::data |
uint8_t __attribute__::payload[RFM95_MAX_PAYLOAD_LEN] |
Union: Data Payload, i.e. MySensors message.
Payload, i.e. MySensors message.
Definition at line 305 of file RFM69_new.h.
uint8_t __attribute__::recipient |
rfm95_RSSI_t __attribute__::RSSI |
rfm95_RSSI_t __attribute__::RSSI |
uint8_t __attribute__::sender |
rfm95_sequenceNumber_t __attribute__::sequenceNumber |
rfm95_sequenceNumber_t __attribute__::sequenceNumber |
rfm95_SNR_t __attribute__::SNR |
uint8_t __attribute__::version |
uint8_t __attribute__::version |
header version (20180128tk: >=3.0.0 fused with controlFlags)
Header version.
Definition at line 279 of file RFM69_new.h.