1.3.5.6.56 BMNG_FUP_GetStateRequest Function

C

void BMNG_FUP_GetStateRequest(uint8_t cmd, uint8_t *eui48);

Summary

Requests to get the firmware upgrade state.

Description

This routine requests to get the firmware upgrade state.

Precondition

None.

Parameters

ParamDescription
cmdCommand to acknowledge
eui48Pointer to the address of the node to be asked

Returns

None.

Example

uint8_t eui48[6];
memset(eui48, 0x12, 6);

BMNG_FUP_GetStateRequest(FUP_GET_STATE_REQUEST, eui48);

Remarks

If the MAC address is FF:FF:FF:FF:FF:FF, the state information is asked to all registered nodes.

The command is acknowledged with the FUP ACK callback.

The result of the request is returned in the FUP state indication callback.