Giter Site home page Giter Site logo

Comments (3)

mamokarz avatar mamokarz commented on August 22, 2024

Hi @GregTerrell ,

Thanks for your question, you are right, it is not necessary anymore. We can safely remove, not only the AzureIoTHubClient definition, but the sslClient as well, from both SimpleSample_MQTT and SimpleSample_HTTP.

// In the next line we decide each client ssl we'll use.
#ifdef ARDUINO_ARCH_ESP8266
static WiFiClientSecure sslClient; // for ESP8266
#elif ARDUINO_SAMD_FEATHER_M0
static Adafruit_WINC1500SSLClient sslClient; // for Adafruit WINC1500
#else
static WiFiSSLClient sslClient;
#endif

static AzureIoTHubClient iotHubClient;
iotHubClient.begin(sslClient);

If you would like to contribute with a pull request, I’ll be glad to accept and merge it.

Thanks,
Marcos

from azure-iot-arduino.

GregTerrell avatar GregTerrell commented on August 22, 2024

Sorry for the delay... yes I will prepare a pull-request in the next day or two for the removal. Looks like it affects the items in the examples folder for azure-iot-arduino, azure-iot-arduino-protocol-http, and azure-iot-protocol-mqtt.

from azure-iot-arduino.

tameraw avatar tameraw commented on August 22, 2024

PR merged.

from azure-iot-arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.