int __stdcall SME_GetNetworkSerialParams ( SME_HANDLE  handle,
int *  baudrate,
int *  parity 
)

Gets the Ethernet to serial translation speed (serial output baudrate).

Parameters
[in]handleValid handle returned by SME_Initialize().
[out]baudrate
[out]parity
Return values
0Successful completion.
-1Invalid SME_Initialize handle.
-2No module selected. Call SME_SearchForModules() first.
-3Could not get the current module's serial parameters.

Retrieves the current setting of the Ethernet to serial bridge. A value of -1 returned in either parameter indicates an invalid or unknown value was returned.

Note
The Ethernet to serial bridge only supports baudrates 1200, 2400, 4800, 9600, 19200, 38400, and 115200 with parity values none, odd, or even.
See also
Baudrate Values, Parity Values
 
 
Generated on Mon Nov 26 2018.