payload = payload_handle->jpayload;
json service = handle->jservice;
+ json device = handle->jdevice;
std::string type = convert_type_to_string(handle->service_type);
if (type.empty())
return CONV_ERROR_INVALID_PARAMETER;
description.set(NULL, CONV_JSON_SERVICE, service);
description.set(NULL, CONV_JSON_CHANNEL, channel);
+ description.set(NULL, CONV_JSON_DEVICE, device);
description.set(NULL, CONV_JSON_PAYLOAD, payload);
description.set(NULL, CONV_JSON_TYPE, type);
description.set(NULL, CONV_JSON_IS_LOCAL, handle->is_local);