mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Expand MQTT hostname to 64 bytes #103
This commit is contained in:
parent
f62dcef161
commit
adb1fd3aaa
9 changed files with 85 additions and 32 deletions
|
|
@ -2817,6 +2817,8 @@ void Transceiver::emitFrame(somfy_frame_t *frame, somfy_rx_t *rx) {
|
|||
evt.appendMessage(buf);
|
||||
snprintf(buf, sizeof(buf), "\"bits\":%d,", rx->bit_length);
|
||||
evt.appendMessage(buf);
|
||||
snprintf(buf, sizeof(buf), "\"proto\":%d,", static_cast<uint8_t>(frame->proto));
|
||||
evt.appendMessage(buf);
|
||||
snprintf(buf, sizeof(buf), "\"valid\":%s,", frame->valid ? "true" : "false");
|
||||
evt.appendMessage(buf);
|
||||
snprintf(buf, sizeof(buf), "\"sync\":%d,\"pulses\":[", frame->hwsync);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue