www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


Dev_Get_Handle_By_Name

Get the driver handle pointer by a given driver name

int Dev_Get_Handle_By_Name(const char * drivername,
                            DevUserIfaceHandle far * DevHandlePtr,
                            int *error);

Parameters

DevHandlePtr

Contains the found Device handle

drivername

Driver name e.g. NE2000 (type RTOS command ipcfg)

Return Value

0: success, DevHandlePtr contains the device handle pointer
-1: failed

Comments

This function delivers the required driver handle pointer, which is necessary for using Dev_Config_Iface

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.20V1.20V1.20V1.05

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.04

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document