1.2.5.80 LBP_SetParamDev Function
C
void LBP_SetParamDev ( 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 psk[16]; LBP_SET_PARAM_CONFIRM setConfirm; LBP_SetParamDev(LBP_IB_PSK, 0, 16, &psk, &setConfirm); if (setConfirm.status == LBP_STATUS_OK) { }
Remarks
This function is part of the Device LBP Module.