we should not add attributes after payload as they get overwritten
when payload content gets copied over.
Change-Id: I0c8a430f92c2196d3f9c816e9ba9d16fd44d88e4
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17015
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
/** Remote endpoint address **/
OCDevAddr devAddr;
+ /** The ID of server request*/
+ uint32_t requestId;
+
/** Token for the request.*/
CAToken_t requestToken;
/** payload is retrieved from the payload of the received request PDU.*/
uint8_t payload[1];
- /** The ID of server request*/
- uint32_t requestId;
-
// WARNING: Do NOT add attributes after payload as they get overwritten
// when payload content gets copied over!