main/telemetry/src/telemetry-data.c
void telemetry_message_add_string(telemetry_message_handle_t handle, const char * szKey, const char * value)
{
    JSON_Value * root_value = (JSON_Value *) handle;
    JSON_Object * root_object = json_value_get_object(root_value);
    json_object_set_string(root_object, szKey, value);
}
/**
 * @brief Add a string result to the telemetry message (e.g. value type: celcius, meter... )
 *
 * @param[in]  handle      The message handle returned from telemetry_message_create_new
 * @param[in]  szKey       The telemetry key 
 * @param[in]  value       The telemetry result's value
 */
@brief Add a string result to the telemetry message
@param[in]  handle      The message handle returned from telemetry_message_create_new
@param[in]  szKey       The telemetry key
@param[in]  value       The telemetry result's value
@brief Add a string result to the telemetry message @param [ in ] handle The message handle returned from telemetry_message_create_new @param [ in ] szKey The telemetry key @param [ in ] value The telemetry result ' s value
void telemetry_message_add_string(telemetry_message_handle_t handle, const char * szKey, const char * value)
{
    JSON_Value * root_value = (JSON_Value *) handle;
    JSON_Object * root_object = json_value_get_object(root_value);
    json_object_set_string(root_object, szKey, value);
}
void telemetry_message_add_string ( telemetry_message_handle_t handle , const char * szKey , const char * value ) { JSON_Value * root_value = ( JSON_Value * ) handle ; JSON_Object * root_object = json_value_get_object ( root_value ) ; json_object_set_string ( root_object , szKey , value ) ; }
@brief Add a string result to the telemetry message (e.g.
@brief Add a string result to the telemetry message ( e . g .