|
| Master (ModbusDataCallback dataCallback, ModbusMasterExceptionCallback exceptionCallback=nullptr, ModbusAllocator allocator=modbusDefaultAllocator, ModbusMasterFunctionHandler *functions=modbusMasterDefaultFunctions, uint16_t functionCount=modbusMasterDefaultFunctionCount) |
|
| ~Master () |
|
| Master (const Master &)=delete |
|
| Master (Master &&)=delete |
|
Master & | operator= (const Master &)=delete |
|
Master & | operator= (Master &&)=delete |
|
void | parseResponsePDU (uint8_t address, const uint8_t *request, uint8_t requestLength, const uint8_t *response, uint8_t responseLength) |
|
void | parseResponseRTU (const uint8_t *request, uint8_t requestLength, const uint8_t *response, uint8_t responseLength) |
|
void | parseResponseTCP (const uint8_t *request, uint8_t requestLength, const uint8_t *response, uint8_t responseLength) |
|
void | buildRequest01PDU (uint16_t index, uint16_t count) |
|
void | buildRequest02PDU (uint16_t index, uint16_t count) |
|
void | buildRequest03PDU (uint16_t index, uint16_t count) |
|
void | buildRequest04PDU (uint16_t index, uint16_t count) |
|
void | buildRequest05PDU (uint16_t index, uint16_t count) |
|
void | buildRequest06PDU (uint16_t index, uint16_t count) |
|
void | buildRequest15PDU (uint16_t index, uint16_t count, const uint8_t *values) |
|
void | buildRequest16PDU (uint16_t index, uint16_t count, const uint16_t *values) |
|
void | buildRequest22PDU (uint16_t index, uint16_t andmask, uint16_t ormask) |
|
void | buildRequest01RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest02RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest03RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest04RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest05RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest06RTU (uint8_t address, uint16_t index, uint16_t count) |
|
void | buildRequest15RTU (uint8_t address, uint16_t index, uint16_t count, const uint8_t *values) |
|
void | buildRequest16RTU (uint8_t address, uint16_t index, uint16_t count, const uint16_t *values) |
|
void | buildRequest22RTU (uint8_t address, uint16_t index, uint16_t andmask, uint16_t ormask) |
|
void | buildRequest01TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest02TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest03TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest04TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest05TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest06TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count) |
|
void | buildRequest15TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count, const uint8_t *values) |
|
void | buildRequest16TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t count, const uint16_t *values) |
|
void | buildRequest22TCP (uint16_t transactionID, uint8_t unitID, uint16_t index, uint16_t andmask, uint16_t ormask) |
|
const uint8_t * | getRequest () const |
|
uint16_t | getRequestLength () const |
|
void | freeRequest () |
|
void | setUserPointer (void *ptr) |
|
void * | getUserPointer () const |
|
Represents a Modbus master device.