eMBInit() is only used within mb_tcp_slave sample.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

If no error occurs the function returns eMBErrorCode::MB_ENOERR. The protocol is then in the disabled state and ready for activation by calling eMBEnable( ). Otherwise one of the following error codes is returned: - eMBErrorCode::MB_EINVAL If the slave address was not valid. Valid slave addresses are in the range 1 - 247. - eMBErrorCode::MB_EPORTERR IF the porting layer returned an error.

References

from examples