1.25.9.3 1.26.8.3 1.28.12.3 OTPC_UpdatePayload Function
C
otpc_error_code_t OTPC_UpdatePayload(uint16_t headerAddress, const uint32_t * payload);
Summary
Updates the payload of a packet
Description
Updates the content of packet whose address is given.
Precondition
OTPC_Initialize() function must have been called first and a valid packet should exist at the address.
Parameters
Param | Description |
---|---|
headerAddress | Address of the packet |
payload | Pointer to the address of new payload |
Returns
otpc error code
Example
OTPC_Initialize(); OTPC_UpdatePayload(headerAddress, newPayload);
Remarks
None