BrainBit for developers Subscribe for updates Visit website

ParamAccess

 

#include “cdevice.h”

 

An enumeration that is used to get information about the possibility of changing the parameter supported by the device.

Description

Read

The parameter is read-only

ReadWrite

The parameter is available for both reading and writing.

ReadNotify

The parameter is read-only. A change in the value of this parameter can be tracked using an alert device_subscribe_param_changed().​

parameter_access_to_string

Function. Converting to string.

Converts an enumeration element to text.

Options:

access

Description: Enumeration element

Data type: ParamAccess

buffer

Description: the string value of the enumeration element

Data type: char*

buffer_length

Description: buffer length

Data type: size_t

Return value:

Description: An indication of an error. More details sdk_error

Data type: int.