BugID:19759830:[618 support] fix raw data post issue
@@ -1051,9 +1051,9 @@ int dm_mgr_upstream_thing_model_up_raw(_IN_ int devid, _IN_ char *payload, _IN_
dm_log_info("DM Send Raw Data:");
HEXDUMP_INFO(payload, payload_len);
- res = dm_client_publish(uri, (unsigned char *)payload, strlen(payload), dm_client_thing_model_up_raw_reply);
+ res = dm_client_publish(uri, (unsigned char *)payload, payload_len, dm_client_thing_model_up_raw_reply);
#ifdef ALCS_ENABLED
- res1 = dm_server_send(uri, (unsigned char *)payload, strlen(payload), NULL);
+ res1 = dm_server_send(uri, (unsigned char *)payload, payload_len, NULL);
#endif
if (res < SUCCESS_RETURN || res1 < SUCCESS_RETURN) {
