Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit b2d2c8a

Browse files
committed
Update
1 parent 4528e5c commit b2d2c8a

File tree

7 files changed

+940
-801
lines changed

7 files changed

+940
-801
lines changed

‎.travis.yml‎

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
language: generic
55
env:
66
global:
7-
- IDE_VERSION=1.6.12
7+
- IDE_VERSION=1.8.10
88
matrix:
9-
- BOARD="arduino:samd:arduino_zero_edbg"
10-
- BOARD="arduino:samd:mkr1000"
9+
# - BOARD="arduino:samd:arduino_zero_edbg"
10+
# - BOARD="arduino:samd:mkr1000"
1111
- BOARD="esp8266:esp8266:huzzah:FlashSize=4M3M,CpuFrequency=80"
1212
- BOARD="esp8266:esp8266:thing"
13+
- BOARD="esp32:esp32:huzzah"
1314
before_install:
1415
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
1516
- sleep 3
@@ -18,36 +19,43 @@ before_install:
1819
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
1920
- mv arduino-$IDE_VERSION $HOME/arduino-ide
2021
- export PATH=$PATH:$HOME/arduino-ide
21-
- if [[ "$BOARD" =~ "arduino:samd:" ]]; then
22-
arduino --install-boards arduino:samd;
23-
arduino --install-library WiFi101;
24-
arduino --install-library WiFi101;
25-
arduino --install-library RTCZero;
26-
arduino --install-library NTPClient;
27-
fi
22+
# - if [[ "$BOARD" =~ "arduino:samd:" ]]; then
23+
# arduino --install-boards arduino:samd;
24+
# arduino --install-library WiFi101;
25+
# arduino --install-library WiFi101;
26+
# arduino --install-library RTCZero;
27+
# arduino --install-library NTPClient;
28+
# fi
2829
- if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then
2930
arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --install-boards esp8266:esp8266;
3031
arduino --pref "boardsmanager.additional.urls=" --save-prefs;
3132
arduino --install-library NTPClient;
3233
arduino --install-library NTPClient;
3334
fi
35+
- if [[ "$BOARD" =~ "esp32:esp32:" ]]; then
36+
arduino --pref "boardsmanager.additional.urls=https://dl.espressif.com/dl/package_esp32_index.json" --install-boards esp32:esp32;
37+
arduino --pref "boardsmanager.additional.urls=" --save-prefs;
38+
arduino --install-library NTPClient;
39+
fi
40+
3441
- findAndReplace() { sed -i'' -e"s|1ドル|2ドル|g" "3ドル"; }
3542
- buildExampleSketch() {
36-
EXAMPLE_SKETCH=$PWD/examples/1ドル/1ドル.ino;
43+
EXAMPLE_SKETCH=$PWD/examples/iothub_ll_telemetry_sample/telemetry_sample.c.ino;
3744

38-
if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then
39-
findAndReplace WiFi101 ESP8266WiFi $EXAMPLE_SKETCH;
40-
findAndReplace WiFiSSLClient WiFiClientSecure $EXAMPLE_SKETCH;
41-
findAndReplace WiFiUdp WiFiUdp $EXAMPLE_SKETCH;
42-
fi
45+
# if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then
46+
# findAndReplace WiFi101 ESP8266WiFi $EXAMPLE_SKETCH;
47+
# findAndReplace WiFiSSLClient WiFiClientSecure $EXAMPLE_SKETCH;
48+
# findAndReplace WiFiUdp WiFiUdp $EXAMPLE_SKETCH;
49+
# fi
4350

44-
cat $EXAMPLE_SKETCH;
51+
# cat $EXAMPLE_SKETCH;
4552

4653
arduino --verbose-build --verify --board $BOARD $EXAMPLE_SKETCH;
4754
}
4855
install:
4956
- arduino --install-library "AzureIoTUtility"
57+
- arduino --install-library "AzureIoTSocket_WiFi"
5058
- arduino --install-library "AzureIoTProtocol_MQTT"
5159
- ln -s $PWD $HOME/Arduino/libraries/.
5260
script:
53-
- buildExampleSketch simplesample_mqtt
61+
- buildExampleSketch telemetry_sample.c

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
# Azure IoT Currently Does Not Support Arduino.
1+
#### Azure IoT Protocol MQTT Library source files
22

3-
Please refer to the [Espressif Azure IoT GitHub repository](https://github.com/espressif/esp-azure) to use the ESP32 or ESP8266 directly with Azure IoT.
3+
This is the location of the Arduino-specific source files for the
4+
[AzureIoTProtocol_MQTT Arduino published library](https://github.com/Azure/azure-iot-arduino-protocol-mqtt).
5+
6+
Complete information for contributing to the Azure IoT Arduino libraries
7+
can be found [here](https://github.com/Azure/azure-iot-pal-arduino).

‎library.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=AzureIoTProtocol_MQTT
2-
version=1.0.46
2+
version=1.1.12
33
author=Microsoft
44
maintainer=Microsoft <iotcert@microsoft.com>
55
sentence=Azure MQTT protocol library for Arduino. For the Arduino MKR1000 or Zero and WiFi Shield 101, Adafruit Huzzah and Feather M0, or SparkFun Thing.

‎src/AzureIoTProtocol_MQTT.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
#include "azure_umqtt_c/mqtt_client.h"
88

9-
#define AzureIoTProtocolMQTTVersion "1.0.46"
9+
#define AzureIoTProtocolMQTTVersion "1.1.12"
1010

1111
#endif //AZUREIOTPROTOCOLMQTT_H

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /