Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
you need to have the proper certs and so on services in order for the OS to recognize it as your signature
sticilface
@sticilface
guess i need to buy a new mac then... with more space! ;)
Me No Dev
@me-no-dev
unless of course you have a Mac Dev account that has a real certificate for distribution
check google just in case
but i'm pretty sure i'm correct
maybe binary version of the uploader would do
sticilface
@sticilface
I've defo not got any of those.. I'm downloading Xcode.. all 4Gb..
d-anders
@d-anders
umm, is D4 very wrong to use on a nodemcu board?
i used it for the echo pin of a ultrasonic sensor and it kept on setting my board in a strange state if it was connected when booting
it would work if i connected it later
then i switched to d6 and no problems
d-anders
@d-anders
haha, D4 is gpio_2....
sticilface
@sticilface
This message was deleted
This message was deleted
David
@dmarkey
Anyone working on a reddit client lib?
WHAAAT
@WHAAAT
Hello, i´m currently working with my nodemcu and arduino core. if i request the sensor data to often the connection somehow dies. is there a good way to keep the connection alive?
d-anders
@d-anders
what sensor?
WHAAAT
@WHAAAT
mainly i have a dht22 temp/hum. sensor connected. my requests are every 15 min.
d-anders
@d-anders
oh, 15 mins is nothing
i mean should give no problems
WHAAAT
@WHAAAT
i thought so, i have read it is possible every 2 seconds ... do you know if there is a way to keep the signal to the router alive? i couldnt find any real documentation for the esp8266 arduino ide. And the example dont cover these problems
*examples
d-anders
@d-anders
what do you do between reading?
WHAAAT
@WHAAAT
nothing, the arduino ide just has callbacks for html requests. therefor i have just method that handles them. if I request the url/temp the esp8266 print a html with the data thats all.
d-anders
@d-anders
strange
does it reboot or just lose connection?
WHAAAT
@WHAAAT
just loose connection, if dont request so often i can keep the connection for days
d-anders
@d-anders
i have a nodemcu board but havent experienced any such problems. i dont have the dht11 though
but for example ds18b20 i can read every second or so with no problems
hm, how long does a read take?
if you are using a timer maybe you cant do the reading in the actual timer handler function
if so - try setting a boolean flag check it in the main loop and read if it is set
Dejan Levec
@deanrock
hi ... i have a question: should the esp8266 restart itself after it crashes? while testing simple HTTP requests it sometimes crashes (don't know why, it probably shouldn't, right?), however, it never came back by itself (i need to press reset button on breakout board)
sticilface
@sticilface
I think the general consensus, and my experience is that it should reset by itself. What stops it, is usually when some of the GPIOs are not set properly for normal boot.
tzapu
@tzapu
has anyone here had any luck with esp touch/smart config?
i can t seem to make it work for the life of me
Simon van der Veldt
@simonvanderveldt
@igrr Noticed your message from the beginning of September about being able to a POST over HTTPS. Does this also work with certs bigger than 1024 bit keys? And would this work together with MQTT as well?
kathir51
@kathir51
Sir
kathir51
@kathir51
Sir I am trying to compile Native C programs of ESP8266 since Arduino IDE i has xtensa tool chain. But OS related function such as os_delay_us ,os_sprintf are disabled. I have inclded respective headers. How can I enable these functions? How to add precompiled C library created using xtensa such liblcd These are acadamic intesrest pl help me
Me No Dev
@me-no-dev
you should use only the toolchain and the original SDK if you want to compile pure C apps
kathir51
@kathir51
@me-no-dev that i know . I WANT TO USE ARDUINO IDE WITH XTENSA TOOL CHAIN TO COMPILE SINCE TOOL CHAIN WAS BUILD IN
Me No Dev
@me-no-dev
@kathir51 no need for CAPS LOCK, I read fine ;) the toolchain is in there but it's it's own thing. You can pull it from the folder and use it on the side.
kathir51
@kathir51
@Links2004 thanks . I tried allready . but we cannot invoke os related functions such as os_printf ,os_delay_us etc even if we include respective headers os_api.h and os_type.h HOW WE CAN INVOKE SUCH FUNCTIONS
kathir51
@kathir51
@me-no-dev your suggestion good i already did many using outside with xtensa tool chain. I want to use arduino ide for that that also os related functions only cannot make it use
Markus
@Links2004
os_delay_us for example is defined as ets_delay_us
https://github.com/esp8266/Arduino/blob/cabb450fc13eefaf35a78b9a911d59efd548b81a/hardware/esp8266com/esp8266/tools/sdk/include/osapi.h#L12
but there is no prototype so until you not add the correct one you can not use it.
and pls no caps in the chat.
the correct prototypes can be found on the SDK documentation but no one has created them in code, even espressif not (not public).
kathir51
@kathir51
@Links2004 thanks but I included all osapi.h and ets_sys.h in my project Still i cannot succedd