IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ fossil_get_device()

int fossil_get_device ( int  port,
char *  devName,
int  devNameLen 
)

Gets the device file name of specific port

Parameters
portport number index: 0=UART1 ... , see FOSSIL_PORT
[out]devNameCharacter pointer to a buffer where device name will be stored.
devNameLenThe size of the buffer devName points to.
Returns
-1 = When port is not opened or invalid, else
-2 = The provided buffer was to small to insert the full device name. The output was truncated. 0 on success
Since
V1.03





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:49 by Doxygen 1.8.13