I'm trying to get my MKR1000 to connect to Azure IoT hub. In the Arduino library AzureIoTHub 1.5.0 mentions that it supports the Arduino MKR1000. Unfortunately the examples included are only for the ESP series of boards. I've tried to get the library up and running using the examples from Azure-SDK for C, but when including AzureIoTHub.h I'm faced with a lot of errors.
Has support for Arduino devices been dropped or am I doing something wrong?
In file included from C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/azure_c_shared_utility/constbuffer.h:16:0,
from C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src\internal/iothub_client_private.h:9,
from C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src\iothub_client_ll_uploadtoblob.c:20:
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/umock_c_prod.h:114:30: error: pasting "MOCKABLE_" and "/*this creates a new constbuffer from a memory area*/" does not give a valid preprocessing token
#define EXPAND_PROD_ENTRY(A) MOCKABLE_##A
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src/azure_macro_utils/macro_utils_generated.h:9020:1: note: in expansion of macro 'EXPAND_PROD_ENTRY'
X(P1) \
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro 'MU_FOR_EACH_1_9'
#define MU_C2_(x,y) x##y
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/umock_c_prod.h:119:5: note: in expansion of macro 'MU_FOR_EACH_1'
MU_FOR_EACH_1(EXPAND_PROD_ENTRY, __VA_ARGS__)
^~~~~~~~~~~~~
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/azure_c_shared_utility/constbuffer.h:35:1: note: in expansion of macro 'MOCKABLE_INTERFACE'
MOCKABLE_INTERFACE(constbuffer,
^~~~~~~~~~~~~~~~~~
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/umock_c_prod.h:114:30: error: pasting "MOCKABLE_" and "/*this creates a new constbuffer from an existing BUFFER_HANDLE*/" does not give a valid preprocessing token
#define EXPAND_PROD_ENTRY(A) MOCKABLE_##A
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src/azure_macro_utils/macro_utils_generated.h:9024:1: note: in expansion of macro 'EXPAND_PROD_ENTRY'
X(P1) \
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src/azure_macro_utils/macro_utils_generated.h:9021:1: note: in expansion of macro 'MU_FOR_EACH_1_8'
MU_FOR_EACH_1_8(X, P2, P3, P4, P5, P6, P7, P8, P9)
^~~~~~~~~~~~~~~
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/azure_macro_utils/macro_utils.h:35:21: note: in expansion of macro 'MU_FOR_EACH_1_9'
#define MU_C2_(x,y) x##y
^
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/umock_c/umock_c_prod.h:119:5: note: in expansion of macro 'MU_FOR_EACH_1'
MU_FOR_EACH_1(EXPAND_PROD_ENTRY, __VA_ARGS__)
^~~~~~~~~~~~~
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTUtility\src/azure_c_shared_utility/constbuffer.h:35:1: note: in expansion of macro 'MOCKABLE_INTERFACE'
MOCKABLE_INTERFACE(constbuffer,
^~~~~~~~~~~~~~~~~~
C:\Users\wouter\Documents\Arduino\libraries\AzureIoTHub\src\iothub_client_ll_uploadtoblob.c:26:10: fatal error: internal/blob.h: No such file or directory
#include "internal/blob.h"
^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino MKR1000.
I'm trying to get my MKR1000 to connect to Azure IoT hub. In the Arduino library AzureIoTHub 1.5.0 mentions that it supports the Arduino MKR1000. Unfortunately the examples included are only for the ESP series of boards. I've tried to get the library up and running using the examples from Azure-SDK for C, but when including
AzureIoTHub.h
I'm faced with a lot of errors.Has support for Arduino devices been dropped or am I doing something wrong?