MySensors Library & Examples
2.3.2-62-ge298769
|
FW config structure, stored in eeprom.
SX126x LoRa ACK packet structure.
SX126x LoRa header.
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. | |
}; | |
sx126x_controlFlags_t | controlFlags |
Control flags, used for ACK. | |
sx126x_sequenceNumber_t | sequenceNumber |
Packet sequence number, used for ACK. More... | |
sx126x_RSSI_t | RSSI |
RSSI. More... | |
sx126x_SNR_t | SNR |
SNR. More... | |
union { | |
struct { | |
sx126x_header_t header | |
LoRa header. | |
union { | |
uint8_t payload [SX126x_MAX_PAYLOAD_LEN] | |
Payload, i.e. MySensors message. | |
sx126x_ack_t ACK | |
Union: ACK. | |
} | |
} | |
uint8_t data [SX126x_MAX_PACKET_LEN] | |
RAW. | |
}; | |
uint8_t __attribute__::data |
uint8_t __attribute__::payload[SX126x_MAX_PAYLOAD_LEN] |
Union: Data Payload, i.e. MySensors message.
Payload, i.e. MySensors message.
Definition at line 310 of file RFM69_new.h.
uint8_t __attribute__::recipient |
rfm95_RSSI_t __attribute__::RSSI |
sx126x_RSSI_t __attribute__::RSSI |
sx126x_RSSI_t __attribute__::RSSI |
uint8_t __attribute__::sender |
rfm95_sequenceNumber_t __attribute__::sequenceNumber |
sx126x_sequenceNumber_t __attribute__::sequenceNumber |
sx126x_sequenceNumber_t __attribute__::sequenceNumber |
sx126x_SNR_t __attribute__::SNR |
sx126x_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 284 of file RFM69_new.h.