|
inlinestatic |
The function turns Drive GPS module ON and OFF.
Error | Additional error information returned from Drive. |
strPort | Name of port which is used to receive GPS signal. |
BaudRate | Baude rate used in GPS port. |
bSwitchOn | Flag determining whether GpsSwitchOn turns GPS module ON or OFF. true - GpsSwitchOn turns GPS module ON. false - GpsSwitchOn turns GPS module OFF. |
MaxTime | Maximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited. |
Possible error codes returned from Drive are:
This code turns GPS module ON on COM5: port and sets baud rate to 4800;
References SError.SizeOf().