DCRP_SET_DEVICE_UP

Sets device to a "DEVICE UP" status.

Syntax

int dcrp_set_device_up(device_id, status)

char *device_id;

int *status;

Input Parameters

device_id

Contains the Device ID for the device whose status is to be set UP (AVAILABLE).

Output Parameters

status

Is the function completion status. Valid values are:

TOOLKIT_SUCCESS

Function completed successfully.

TOOLKIT_FAILURE

Function not completed.

Return Value

This subroutine returns one of the following:

TOOLKIT_SUCCESS

Function completed successfully. 

TOOLKIT_FAILURE

Function not completed successfully.

More information

Device Communications Toolkit other subroutines.