IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


DevUserIfaceHandle Dev_Find_Iface_By_Name ( const char *  name  ) 

Obtain a device driver's handle based on that driver's assigned ASCII name.

The internal device driver names are:
     "FEC"     : Ethernet device
     "PPPCLI" : PPP client
     "PPPSRV" : PPP server

Users may add further devices with the Dev_Open_Interface() API.

Parameters:
[in] name - Driver's assigned ASCII name (zero terminated string).
Returns:
0: Driver not found
else Device handle
Note:
The device handle is required as a parameter for some API functions e.g. SetDefaultGateway().
A list of all installed device drivers is retrievable with Dev_Get_IfaceEntries().
Since:
SC2x3 V1.00 - CLIB V1.00
Compatibility:
This function is not available in the SC1x, SC2x and SC1x3 C-Library. The deprecated Dev_Get_Handle_By_Name() function may be used when compatibilty is required.
See also:
Dev_Open_Interface()





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:39 2017 by Doxygen 1.6.1