Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove DEC for solve multiple definition and add wrapper of the libra…
…ry (#1)
- Loading branch information
Showing
6 changed files
with
836 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name=ESP32 Azure IoT Arduino | ||
version=0.1.0 | ||
author=Microsoft | ||
maintainer=Microsoft | ||
sentence=Azure IoT library for ESP32 | ||
paragraph=This library provides an implementation of Azure IoT library. | ||
category=Communication | ||
url=https://github.com/VSChina/ESP32_AzureIoT_Arduino | ||
architectures=esp32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. | ||
#ifndef __AZURE_IOTHUB_H__ | ||
#define __AZURE_IOTHUB_H__ | ||
|
||
#include "az_iot/iothub_client/inc/iothub_client.h" | ||
#include "az_iot/iothub_client/inc/iothub_message.h" | ||
#include "az_iot/c-utility/inc/azure_c_shared_utility/threadapi.h" | ||
#include "az_iot/c-utility/inc/azure_c_shared_utility/crt_abstractions.h" | ||
#include "az_iot/c-utility/inc/azure_c_shared_utility/platform.h" | ||
#include "az_iot/c-utility/inc/azure_c_shared_utility/xlogging.h" | ||
#include "az_iot/iothub_client/inc/iothubtransportmqtt.h" | ||
#include "az_iot/azureiotcerts.h" | ||
|
||
typedef void (*CONNECTION_STATUS_CALLBACK)(IOTHUB_CLIENT_CONNECTION_STATUS result, IOTHUB_CLIENT_CONNECTION_STATUS_REASON reason); | ||
typedef void (*SEND_CONFIRMATION_CALLBACK)(IOTHUB_CLIENT_CONFIRMATION_RESULT result); | ||
typedef void (*MESSAGE_CALLBACK)(const char* message, int length); | ||
typedef void (*DEVICE_TWIN_CALLBACK)(DEVICE_TWIN_UPDATE_STATE updateState, const unsigned char *payLoad, int length); | ||
typedef int (*DEVICE_METHOD_CALLBACK)(const char *methodName, const unsigned char *payload, int length, unsigned char **response, int *responseLength); | ||
typedef void (*REPORT_CONFIRMATION_CALLBACK)(int status_code); | ||
#endif // __AZURE_IOTHUB_H__ |
Oops, something went wrong.