The OIC specification supports 32 bits only for int type.
Change-Id: I6485f6657c4de50340727b244b5fe22f71da5816
Signed-off-by: jaesick.shin <jaesick.shin@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/10805
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
}
msg->messageId = OICGetCurrentTime(TIME_IN_MS);
+ msg->messageId = msg->messageId & 0x000000007FFFFFFF;
(msg->providerId)[0] = '\0';
msg->type = 0;
msg->dateTime = NULL;