6 #ifndef FREERTOS_VT_CURRENTSENSE_COMPONENT_H
7 #define FREERTOS_VT_CURRENTSENSE_COMPONENT_H
9 #include "azure_iot_hub_client.h"
10 #include "azure_iot_json_reader.h"
11 #include "azure_iot_json_writer.h"
13 #include "vt_cs_api.h"
18 UCHAR component_name_ptr[30];
21 UINT component_name_length;
24 UCHAR associated_telemetry[100];
27 VT_CURRENTSENSE_OBJECT cs_object;
35 UCHAR* component_name_ptr,
36 VT_DEVICE_DRIVER* device_driver,
37 VT_SENSOR_HANDLE* sensor_handle,
38 UCHAR* associated_telemetry,
40 UINT shared_buffer_size);
43 AzureIoTHubClient_t* xAzureIoTHubClient,
45 bool toggle_verified_telemetry);
48 AzureIoTHubClient_t* xAzureIoTHubClient,
49 UCHAR* component_name_ptr,
50 UINT component_name_length,
51 UCHAR* pnp_command_name_ptr,
52 UINT pnp_command_name_length,
56 const UCHAR* component_name_ptr,
57 UINT component_name_length,
58 AzureIoTJSONReader_t* json_reader_ptr);
61 UCHAR* associated_telemetry,
62 UINT associated_telemetry_length,
63 bool toggle_verified_telemetry,UINT mode);
66 UCHAR* associated_telemetry,
67 UINT associated_telemetry_length,
68 bool toggle_verified_telemetry);