Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Markus
@Links2004
@onkelfunny yes if you run
"$(XTENSA_TOOLS_ROOT)/xtensa-lx106-elf-objdump" -S $(PNAME).elf > obj.dump
you can look up the function name and from this the library.
@comino https://github.com/esp8266/Arduino/issues/1054#issuecomment-160180993 is that the same error then you have?
Sven Eliasson
@comino
Yes kind of. With my laptop I can't connect - with any phone/tablet I tried (tried with 4 different co-workers phones) it works. And with other laptops (tested 3 other) it works too. I flashed a old firmware and there it works for my laptop too... So something must have changed my laptop / wifi controller doesnt like. I will try to wireshark what exactly happens ;).
onkelfunny
@onkelfunny
@Links2004 thanks
brutzler
@brutzler
Does anybody know, if there is a NTP-lib around? I only know the NTPClient.ino. But perhaps there is something easier to integrate, and releasing the udp-channel after getting the time infos.
siedi
@siedi
@brutzler hrhr, I'm working on a sntp lib to work with the Time library from the Arduino project literally just now. Is that what you are looking for? If so, give me an hour and I put a first version on github
brutzler
@brutzler
I "need" it for time controlled warmwater-heater. Want to keep a software-clock, sychronized via internet on startup and every x hours.
siedi
@siedi
Actually it doesn't use a handmade udp call, expressif provides an sntp client, my library is just a wrapper for that so it can be used with the mentioned time lib
Markus
@Links2004
the ESP has ntp support
siedi
@siedi
@brutzler yeah, that should work, I'm running my wordclock with that
brutzler
@brutzler
@Links2004: pls more info
oh too late
Is there any example how to use?
Markus
@Links2004
basically the standard c time Interfaces are implemented
http://www.cplusplus.com/reference/ctime/
siedi
@siedi
as said, give me a couple of minutes and I can release my library
or use that piece of code
brutzler
@brutzler

Just trying to check the code:

int timezone = 3;
int dst = 0;
...
 configTime(3 * 3600, 0, "pool.ntp.org", "time.nist.gov");

Looks like first defined and then hardcoded? Am I right?

Markus
@Links2004
yes, the code need some update it seams.
brutzler
@brutzler
Where do I get infos about "configTime" parameters?
OK. Open the lib and read....
Markus
@Links2004
void configTime(int timezone, int daylightOffset_sec, const char* server1, const char* server2, const char* server3);
brutzler
@brutzler
daylight must be calculated manually?
Me No Dev
@me-no-dev
@brutzler will have a look at it and prolly fix it once they accept my merge
I guess it's different on a mac maybe?
brutzler
@brutzler
@me-no-dev I am working on w7/64
Me No Dev
@me-no-dev
I'm on a Mac :)
we have mDNS as part of the OS, for windows there is bonjour
brutzler
@brutzler
member of minority ..... LOL
as me :-)
Me No Dev
@me-no-dev
we are all the same here :P
Markus
@Links2004
bonjour is not needed for the arduino IDE, bonjour only needed for the browser for example
Me No Dev
@me-no-dev
sure, what I meant was that maybe apple's mdns runs query more often
siedi
@siedi
@me-no-dev I'm on Mac and have the same issue
brutzler
@brutzler
but it should be initiated from the IDE, no matter what OS
Me No Dev
@me-no-dev
@siedi I did not say I do not have it :) I say that I see the mDNS asked about it every 2 minutes
brutzler
@brutzler
mac:ms$ -> 2:1
siedi
@siedi
I was running an mdns browser to see if it is announced and it was, so it must be something with the IDE
Me No Dev
@me-no-dev
wether it's requested by the OS or by the IDE I have no idea
Dmitry Kireev
@kireevco
is there a stable and popular esp-arduino bridge protocol? something with good data structures and fail-safe?
I’ve seen some, and I’m not sure if they are used ...
Me No Dev
@me-no-dev
I know for certain that there is a bug in the IDE, but was not sure up until now if it's only on mac or what
@kireevco you mean a protocol for communication between ESP and AVR Arduino?
Dmitry Kireev
@kireevco
yep. well «protocol» is just a set of tested agreements
Me No Dev
@me-no-dev
it's really up to you wether you want to use Serial, I2C or SPI
then the other stuff is also up to what you need
brutzler
@brutzler
@all: just a thought back to sntp:
daylight must be calculated manually? or is there something ready to use?
Markus
@Links2004
daylight is not used internally set it to 0 and it will work
Dmitry Kireev
@kireevco
oh, i2c & spi - never though about it… is there anyone who maintains something ready-to-use… something like a class for arduino… initUARTEsp8266(PORT), startHttpServer() etc...
(@me-no-dev )
Me No Dev
@me-no-dev
there really can't be anything ready to use, because the data requirements differs from project to project
I have done some packet apps and some stream ones