The Ai-logger is a Modbus TCP slave. It polls every inverter on its three RS485 ports over Modbus RTU and republishes all of their data in one flat input-register map, so a client talks only to the ...
tab_rq_bits = (uint8_t *) malloc(nb * sizeof(uint8_t)); memset(tab_rq_bits, 0, nb * sizeof(uint8_t)); tab_rp_bits = (uint8_t *) malloc(nb * sizeof(uint8_t)); memset ...