IPC@CHIP Modbus library – API Documentation

Header image

Main page


int mbTCP_cl_init ( MbHandle handle,
u8  async 
)
Parameters:
[out] handle : Handle that must be passed to other functions
[in] async : If this boolean parameter is set, asynchronous mode will be activated. In asynchronous mode request function may return MB_WOULD_BLOCK_RECV or MB_WOULD_BLOCK_SEND. In this case they should be called again with the same parameters. However other request functions that do not affect the same connection can be called in between.
Returns:
Result code:
MB_NO_ERROR: Success
MB_OUT_OF_MEMORY: Out of memory
Since:
V2.00





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Mar 9 18:00:33 2017 by Doxygen 1.6.1