1.3.5.6.61 BMNG_PPROF_GetEnhancedRequest Function

C

void BMNG_PPROF_GetEnhancedRequest(uint8_t cmd, uint8_t *eui48, uint16_t dataLen, 
    uint8_t *data);

Summary

Requests to get a PIB attribute from a node using the PRIME Profile.

Description

This routine requests to get a PIB attribute from a node using the PRIME Profile.

Precondition

None.

Parameters

ParamDescription
cmdCommand to acknowledge
eui48Pointer to the address of the node to be asked
dataLenData length
dataPointer to the data

Returns

None.

Example

uint8_t data[3] = {0x00, 0x20, 0};
uint8_t eui48[6];
memset(eui48, 0x12, 6);
    
BMNG_PPROF_GetEnhancedRequest(PPROF_GET_ENHANCED_REQUEST, eui48, sizeof(data), &data);

Remarks

The command is acknowledged with the PPROF ACK callback.

The result of the request is returned in the PPROF enhanced response indication callback.