Skip to content

Instantly share code, notes, and snippets.

View JeeWeetje's full-sized avatar
💭
Feet at the shop floor, hands on the edge, head in the cloud.

Jan Willem Groenenberg JeeWeetje

💭
Feet at the shop floor, hands on the edge, head in the cloud.
View GitHub Profile
@JeeWeetje
JeeWeetje / simplesample_mqtt.c
Last active March 14, 2018 15:40
Fixed and cleaned up version for ESP8266 only of the simple mqtt sample of AzureIoTHub Arduino library, to be used as sample code in blogposts on https://jeeweetje.net
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
/* This sample uses the _LL APIs of iothub_client for example purposes.
That does not mean that MQTT only works with the _LL APIs.