Change-Id: Ifa5bc453dfb15fb32144e2fecd2794bb12482bac
Signed-off-by: kmook <kmook.choi@samsung.com>
#define CONV_JSON_RESULT_TYPE "result_type"
#define CONV_JSON_READ_TYPE "read_type"
#define CONV_JSON_MESSAGE "message_smartview"
+#define CONV_JSON_DATA "data"
#define CONV_JSON_CLIENT "client"
#define CONV_JSON_PAYLOAD_SIZE "payload_size_smartview"
#define CONV_JSON_EVENT "event"
_D("payload %s", message.m_payload);
message_json.set(NULL, CONV_JSON_EVENT, message.m_event);
- message_json.set(NULL, CONV_JSON_MESSAGE, message.m_data);
+ message_json.set(NULL, CONV_JSON_DATA, message.m_data);
message_json.set(NULL, CONV_JSON_FROM, message.m_from);
string payload_str(reinterpret_cast<const char*>(message.m_payload), message.m_payload_size);