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.

[in] name - Driver's assigned ASCII name (zero terminated string).
0: Driver not found
else Device handle
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().
SC2x3 V1.00 - CLIB V1.00
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:

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:17 2018 by Doxygen 1.6.1