CS_WriteParameter Function

C

void CS_WriteParameter(CS_MemoryItemId_t parameterId, const void *parameterValue);

Description

Sets a value of a certain Configuration Server parameter specified by its ID

The function assigns a new value to the specified Configuration Server parameter. The value is copied from the addres specified by the second argument. The first pargument is the parameter's identifier formed by adding "_ID" suffix to the parameter's name. For example, a specific value may be set to own extended address in the following way:

ExtAddr_t ownExtAddr = 0x0123456789ABCDEF;
CS_WriteParameter(CS_UID_ID, &ownExtAddr);

Parameters

ParamDescription
parameterIdthe ID of the parameter being written
parameterValuethe pointer to the parameter's new value

Returns

None