5.1.4.3 CS_WriteParameter Function
Syntax
void CS_WriteParameter(CS_MemoryItemId_t parameterId, const void *parameterValue);
Description
This function sets a value of a certain CS parameter specified by its ID.
The function assigns a new value to the specified CS parameter. The function copies the
value from the address specified by the second argument. The first argument is the
parameter’s identifier formed by adding
_ID
suffix to the parameter’s
name. For example, a specific value can be set to own extended address in the following
way:ExtAddr_t ownExtAddr = 0x0123456789ABCDEF;
CS_WriteParameter(CS_UID_ID, &ownExtAddr);
Input Parameters
Parameter Name | Description |
---|---|
parameterId | The ID of the parameter being written |
parameterValue | The pointer to the parameter’s new value |
Return Type and Values
- None