Coronis SDK Wiki
Set of module for data processing of wireless device
Status: Abandoned
Brought to you by:
tchomaud
Open/Close functions
/**
* Open driver(port)
*/
int driver_open ( const void* driver );
Parameter driver: Descriptor of the driver to open.
Return: the operation completion status [Serial Driver status codes].
Possible status codes:
OK_SERIALDRIVER_SUCCESS
KO_PARAM_NOT_VALID
KO_SERIALPORT_NOT_AVAILABLE
KO_PARAM_SERIALPORTID_NOT_EXIST
KO_SERIALDRIVER_ALREADY_OPEN
Code example: [Driver open close example]
/**
* Close driver(port)
*/
int driver_close ( const void* driver );
Parameter driver: Descriptor of the driver to close.
Return: the operation completion status [Serial Driver status codes].
Possible status codes:
OK_SERIALDRIVER_SUCCESS
KO_PARAM_NOT_VALID
KO_SERIALPORT_UNEXPECTED_ERROR
Code example: [Driver open close example]