These are chat archives for esp8266/Arduino

17th
Sep 2015
Harrison Mclean
@h4rm0n1c
Sep 17 2015 01:08
Is there any documentation about the SSID naming convention? How is it generated?
Matt Kocaj
@cottsak
Sep 17 2015 04:32
can anyone help me get the new WiFiClientSecure work @igrr has done as per this thread? esp8266/Arduino#43
Matt Kocaj
@cottsak
Sep 17 2015 04:45
I've build from source but it seems to me I may only need to get the updated library.. can anyone confirm?
torntrousers
@torntrousers
Sep 17 2015 07:01
@cottsak if you've built the latest source then WiFiClientSecure should be there and just work, it does for me anyay. There is an example thats an easy way to start: File->Examples-ESP8266WiFi->HTTPSRequest
Matt Kocaj
@cottsak
Sep 17 2015 07:19
@torntrousers well the advice https://github.com/esp8266/Arduino/issues/43#issuecomment-140220615 was to build the IDE from source..
will that necessarily include the esp8266 libs in that?
torntrousers
@torntrousers
Sep 17 2015 07:22
i've only tried by building the IDE itself sorry
Matt Kocaj
@cottsak
Sep 17 2015 07:25
but when you did you saw the HTTPSRequest and you can access the new WiFiClientSecure class?
torntrousers
@torntrousers
Sep 17 2015 07:27
yep
Matt Kocaj
@cottsak
Sep 17 2015 07:27
i must be doing something wrong then
i built https://github.com/arduino/Arduino/wiki/Building-Arduino earlier and even updated the doco (in the Mac section) and then used the arduino-1.6.6-macosx.zip in the build output
when i start that i can't see the HTTPSRequest in the examples folder for ESP8266WiFi
ideas?
torntrousers
@torntrousers
Sep 17 2015 07:30
Have you a recent enough git checkout? in the source it should have Arduino\hardware\esp8266com\esp8266\libraries\ESP8266WiFi\src\WiFiClientSecure.cpp
I'm guessing @igrr meant to link me to build the esp8266 repo from source then? not the IDE?
Matt Kocaj
@cottsak
Sep 17 2015 07:36
right
i'll build that and give it a shot
Matt Kocaj
@cottsak
Sep 17 2015 07:57
anyone got a link for how to install the esp8266 board (from source) manually since I can't do it from the Boards Manager?
Mario Mikočević
@mozgy
Sep 17 2015 08:42
@cottsak what OS ?
in linux check your $HOME/.arduino15/staging/packages/ dir
Matt Kocaj
@cottsak
Sep 17 2015 08:42
OS X btw
Mario Mikočević
@mozgy
Sep 17 2015 08:43
and then upack those in $HOME/.arduino15/packages/esp8266/hardware/esp8266/
ok
Matt Kocaj
@cottsak
Sep 17 2015 08:43
but I have another problem now. my module seems to be crashing with the HTTPSRequest example: https://github.com/esp8266/Arduino/issues/43#issuecomment-141006667
Matt Kocaj
@cottsak
Sep 17 2015 08:49
no ideas @mozgy ?
torntrousers
@torntrousers
Sep 17 2015 09:00
@cottsak the HTTPSRequest example does that for me too. Using WiFiClientSecure in my own code works ok though so it must be something about that example
Ivan Grokhotkov
@igrr
Sep 17 2015 09:33
looks like i wont be able to fix the sample today, my laptop has just rebooted and refuses to turn on
sending it for repair, will likely take a few days