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

ParamDescription
attributeIdAttribute identifier. See LBP_ATTRIBUTE
attributeIndexIndex in Table, in case Attribute is a table
attributeLenLength of value to set
pAttributeValuePointer to value to set
pSetConfirmPointer 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.