sub_rs_get_config

Top  Previous  Next
Got to SUB-20 page

Synopsis

int sub_rs_get_config( sub_handle hndl, int* config, int* baud)

 

Read current SUB-20 UART configuration.    

Parameters

*config - will be filled with UART configuration see sub_rs_set_config for details

*baud - will be filled with actual UART baudrate

Return value

On success function returns 0. Otherwise error code.