1.2.5.98 LBP_SetParamCoord Function
C
void LBP_SetParamCoord ( uint32_t attributeId, uint16_t attributeIndex, uint8_t attributeLen, const uint8_t *pAttributeValue, LBP_SET_PARAM_CONFIRM *pSetConfirm );
Summary
Sets the value of a parameter in LBP IB.
Description
This routine allows the upper layer to set the value of a parameter in LBP Information Base.
Parameters
Param | Description |
---|---|
attributeId | Attribute identifier. See LBP_ATTRIBUTE |
attributeIndex | Index in Table, in case Attribute is a table |
attributeLen | Length of value to set |
pAttributeValue | Pointer to value to set |
pSetConfirm | Pointer to structure containing the set result. See LBP_SET_PARAM_CONFIRM |
Returns
None.
Example
uint8_t gmk[16]; LBP_SET_PARAM_CONFIRM setConfirm; LBP_SetParamCoord(LBP_IB_GMK, 0, 16, &gmk, &setConfirm); if (setConfirm.status == LBP_STATUS_OK) { }
Remarks
This function is part of the Coordinator LBP Module.