|
Forum Index : Microcontroller and PC projects : WiFi+TLS recommendations?
| Author | Message | ||||
| rave Newbie Joined: 24/02/2018 Location: United StatesPosts: 28 |
For my next project I am looking to integrate client-side WiFi access to retrieve weather data among other things from Web APIs, in a way that is secure i.e. using TLS, since some Web APIs require authentication tokens. I read in some earlier posts on this forum that many of you had success with the ESP8266, so that is definitely an option. However, the ESP8266 does not support TLS 1.2 out of the box. I am considering the following options: 1. ESP8266 such as a breakout or feather ESP8266 2. Particle Photon (datasheet) 3. Raspberry Pi zero W I am having some luck connecting a CMM via TX/RX serial to a Particle Photon for which I wrote a simple program to tunnel HTTP traffic via the Photon to a CMM, only supporting unsecured HTTP GET/POST. The advantage of the Photon is the easy way SoftAP allows you to configure Wifi with a mobile phone, which is ideal when on the move. Perhaps a disadvantage of the Photon is that it is entirely cloud-based, requiring setting up a Particle account to flash the device and use Webhooks. The RPI0w is interesting. Since it runs Linux it supports TLS but it is a little more power hungry drawing 160mA using Wifi compared to 80mA for the Photon. I have not yet tried a ESP8266. I was wondering how to configure Wifi on those when moving locations? Also, is there any TLS firmware or TLS library available for the ESP8266? Any other recommendations? - Rob |
||||
jman![]() Guru Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Take a look here WiFiClientSecure this ESP8266 library provides TLS. I have succesfully used this to pull data from the Darksky website using https Regards John |
||||
| rave Newbie Joined: 24/02/2018 Location: United StatesPosts: 28 |
John, thanks for the link! Sure looks promising. - Rob |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |