![]() |
GaIA BIOS Library
|
Modbus/TCP platform-dependent function prototypes. More...
Functions | |
| int | mb_prepare_and_send_packet (uintptr_t socket, mb_tcp_adu_t *adu) |
| This function prepares a TCP packet containing the provided ADU, and sends it on the specified socket. | |
Modbus/TCP platform-dependent function prototypes.
These functions normally have different implementations for a specific RTOS and TCP/IP library.
| int mb_prepare_and_send_packet | ( | uintptr_t | socket, |
| mb_tcp_adu_t * | adu ) |
This function prepares a TCP packet containing the provided ADU, and sends it on the specified socket.
| socket | connected socket. |
| adu | Modbus/TCP ADU to be sent. |