Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
Functions
This Code Implements The OpEN NSDP API [OPENAPI_NSDP]

Functions

open_error_t openapiNsdpModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
 Get the NSDP Admin Mode. More...
 
open_error_t openapiNsdpModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
 Sets the NSDP Admin Mode. More...
 

Detailed Description

Function Documentation

open_error_t openapiNsdpModeGet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t mode 
)

Get the NSDP Admin Mode.

Parameters
[in]client_handleclient handle from registration API
[out]modemode pointer to scc mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.

OpEN API Version: 1.25

Examples:
nsdp_example.c.
open_error_t openapiNsdpModeSet ( openapiClientHandle_t client_handle,
OPEN_CONTROL_t  mode 
)

Sets the NSDP Admin Mode.

Parameters
[in]client_handleclient handle from registration API
[in]modemode sets the scc mode
Return values
OPEN_E_NONEOn success.
OPEN_E_FAILOn failure.
OPEN_E_PARAMInvalid argument.

OpEN API Version: 1.25

Examples:
nsdp_example.c.