Verified Telemetry
nx_vt_middleware_helper.h
Go to the documentation of this file.
1 /* Copyright (c) Microsoft Corporation.
2  Licensed under the MIT License. */
3 
6 #ifndef NX_VT_MIDDLEWARE_HELPER_H
7 #define NX_VT_MIDDLEWARE_HELPER_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include "nx_azure_iot_pnp_client.h"
14 
28 UINT nx_azure_iot_pnp_client_reported_component_property_value_next(NX_AZURE_IOT_PNP_CLIENT* pnp_client_ptr,
29  NX_AZURE_IOT_JSON_READER* reader_ptr,
30  UINT message_type,
31  const UCHAR** component_pptr,
32  UINT* component_len_ptr,
33  NX_AZURE_IOT_JSON_READER* name_value_reader_ptr);
34 
50 UINT nx_azure_iot_pnp_client_telemetry_message_create_with_message_property(NX_AZURE_IOT_PNP_CLIENT* pnp_client_ptr,
51  const UCHAR* component_name_ptr,
52  UINT component_name_length,
53  NX_PACKET** packet_pptr,
54  UINT wait_option,
55  UCHAR* message_properties_buffer,
56  UINT message_properties_buffer_size);
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* NX_VT_MIDDLEWARE_HELPER_H */
nx_azure_iot_pnp_client_reported_component_property_value_next
UINT nx_azure_iot_pnp_client_reported_component_property_value_next(NX_AZURE_IOT_PNP_CLIENT *pnp_client_ptr, NX_AZURE_IOT_JSON_READER *reader_ptr, UINT message_type, const UCHAR **component_pptr, UINT *component_len_ptr, NX_AZURE_IOT_JSON_READER *name_value_reader_ptr)
Return the next reported property in the property document passed.
nx_azure_iot_pnp_client_telemetry_message_create_with_message_property
UINT nx_azure_iot_pnp_client_telemetry_message_create_with_message_property(NX_AZURE_IOT_PNP_CLIENT *pnp_client_ptr, const UCHAR *component_name_ptr, UINT component_name_length, NX_PACKET **packet_pptr, UINT wait_option, UCHAR *message_properties_buffer, UINT message_properties_buffer_size)
Create a telemetry property packet (NX PACKET) to be sent along with telemetry from the properties bu...