These are chat archives for SmingHub/Sming

11th
Dec 2015
Curtis Pope
@piperpilot
Dec 11 2015 02:33
does anyone know a short way with Sming to convert a hex string to an integer?
I'm starting with a substring of a larger string....
tempString.substring(0, 2)
Curtis Pope
@piperpilot
Dec 11 2015 02:39
nevermind...of course right after asking the question, it dawned on me....
length = strtol(tempString.substring(0, 2).c_str(), 0, 16);
Dan Loman
@dloman
Dec 11 2015 07:22
does anyone know if you can listen for mDNS with the new sdk I understand how to advertise but how do I get the address of another mDNS device?
crosofg
@crosofg
Dec 11 2015 09:52
Can Esp866 be used as a wifi repeater to extend range? Are there any limitaions?
alonewolfx2
@alonewolfx2
Dec 11 2015 15:35
@crosofg i saw one time. someone is trying to implement with nodemcu lua firmware. basically its catching dns request and redirectig to router
ystrem
@ystrem
Dec 11 2015 15:38
Hello guys, anybody using mqqt here ?
:D mqtt
alonewolfx2
@alonewolfx2
Dec 11 2015 15:38
@ystrem no we dot like mqtt :D :D
ystrem
@ystrem
Dec 11 2015 15:38
you like CoAP :D
no it's not about mqtt, I got problem with callbacks and sleep :D
alonewolfx2
@alonewolfx2
Dec 11 2015 15:39
sleep? its my area what is problem ?
ystrem
@ystrem
Dec 11 2015 15:40
I don't know how to wait until the callback from mqtt publish is complete and then go to sleep
I', looking for something like WifiStation.waitConnection, but for mqtt
hreintke
@hreintke
Dec 11 2015 16:16
Why can't you goto sleep in the mqtt callback ?
alonewolfx2
@alonewolfx2
Dec 11 2015 16:20
@hreintke ld files into the C:\Espressif\ESP8266_RTOS_SDK\ld and ets_sys.h into the C:\Espressif\ESP8266_RTOS_SDK\include\espressif right ?
hreintke
@hreintke
Dec 11 2015 16:23
no ets_sys in C:\Espressif\ESP8266_RTOS_SDK\include\espressif\esp8266
The filestructure in sdk_updates now reflects the directory of sdk
ystrem
@ystrem
Dec 11 2015 16:26
@hreintke sure I can. Thanks
hreintke
@hreintke
Dec 11 2015 16:38
@alonewolfx2 : another file in sdk_updates : libmicroc.a
@alonewolfx2 : I think earlier I just updated local repo and did not push to github.
Please take new from github
Curtis Pope
@piperpilot
Dec 11 2015 17:46
@donnib in reference to your flashing problem...there's a fix...it is an adjustment to esptool.py to flash in smaller chunks. I can't find the google link, but I had the same problem for a while.
ystrem
@ystrem
Dec 11 2015 18:31
@hreintke It's working now, 70mA work, 15uA sleep, with DS18B20
GPIO16>RST
hreintke
@hreintke
Dec 11 2015 19:19
@ystrem : sometimes solutions are simpler than you envision :smile: