1.2.5.38 ADP_SetRequest Function

C

void ADP_SetRequest (
    uint32_t attributeId,
    uint16_t attributeIndex,
    uint8_t attributeLength,
    const uint8_t *pAttributeValue
);

Summary

This primitive sets the value of an attribute in the ADP information base.

Description

The ADP Set Request primitive allows the upper layer to set the value of an attribute in the ADP information base. Result is provided in the corresponding ADP Set Confirm callback.

Parameters

ParamDescription
attributeIdThe identifier of the ADP IB attribute to read. See ADP_PIB_ATTRIBUTE
attributeIndexThe index within the table of the specified IB attribute to read
attributeLengthThe length of the value of the attribute to set
pAttributeValuePointer to the value of the attribute to set

Returns

None.

Example

uint8_t pAttributeValue[64];

pAttributeValue[0] = 44;
ADP_SetRequest(ADP_IB_LOW_LQI_VALUE, 0, 1, pAttributeValue);
// Wait for Set Confirm

Remarks

None.