int __stdcall SM_GlobalCommsReset ( SM_HANDLE  handle)

Resets a connected device to default address ID and baudrate.

Return values
0Successful completion.
-1Invalid SeaMAX handle.
Note
After issuing this command, the connected device will be changed to factory default settings. The address ID will be set to the position of the rotary switch and the baudrate will be set to 9600. If the hardware position is on 0 the address ID will be set to 247 and 9600 baud.
Warning
This API function only applies to SeaIO devices with an address rotary switch.
See also
Communication Type Values

Referenced by CSeaMaxW32::Write().

 
 
Generated on Mon Nov 26 2018.