princeton working

This commit is contained in:
HTotoo
2023-12-09 15:48:50 +01:00
parent dd5b6d001a
commit d2cb93d957
10 changed files with 61 additions and 58 deletions
+9 -3
View File
@@ -1281,13 +1281,19 @@ class SubGhzDDataMessage : public Message {
public:
constexpr SubGhzDDataMessage(
uint8_t sensorType = 0,
uint32_t id = 0xFFFFFFFF)
uint32_t serial = 0xFFFFFFFF,
uint16_t bits = 0,
uint8_t btn = 0xFF)
: Message{ID::SubGhzDData},
sensorType{sensorType},
id{id} {
serial{serial},
bits{bits},
btn{btn} {
}
uint8_t sensorType = 0;
uint32_t id = 0xFFFFFFFF; // todo add results too!
uint32_t serial = 0xFFFFFFFF;
uint16_t bits;
uint8_t btn = 0xFF;
};
#endif /*__MESSAGE_H__*/