Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Azure IoT Arduino Library Depends on Wifi101.h #16

Closed
caseyhagen opened this issue Mar 25, 2016 · 1 comment
Closed

Azure IoT Arduino Library Depends on Wifi101.h #16

caseyhagen opened this issue Mar 25, 2016 · 1 comment

Comments

@caseyhagen
Copy link

The Azure IoT Arduino Library (v0.1.0) Depends on Wifi101.h but this board doesn't use Wifi101. Here's the header in the sketch where the project uses the WINC1500 headers instead.

ifdef ARDUINO_SAMD_FEATHER_M0

include <Adafruit_WINC1500.h>

include <Adafruit_WINC1500Client.h>

include <Adafruit_WINC1500MDNS.h>

include <Adafruit_WINC1500Server.h>

include <Adafruit_WINC1500SSLClient.h>

include <Adafruit_WINC1500Udp.h>

elif defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000)

include <WiFi101.h>

endif

If I add the Wifi101 library the compile error goes away but then it creates linker errors. There will be two sets of wifi objects and thus the linker barfs.

@AttunixCorp
Copy link
Contributor

To be added to tutorial if the library isn't updated:


Note: Make sure you’ve gotten the most recent Azure IoT libraries from:

https://github.com/stefangordon/AzureIoT/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants