lpcmanager

45715d2aaaf4
Fix SmartehCloud updates applying multiple times when re-connecting.
Ensure that LPCMQTT command execution is serialized.
This is a consequence of duplicate messages sent at init.
Seems to happen either because server or client ignores "cleansession"/"cleanstart".
#include <sys/ioctl.h>
#include <unistd.h>
#include <fcntl.h>
#include "beremiz.h"
#include "rt_smt_right.h"
static readBuf_t rightReadBuf;
static writeBuf_t rightWriteBuf;
static busInit_t rightBusInit;
static int rightbusfd = -1;