Left for archival purposes.

User avatar
By alonewolfx2
#9231 i tried 095 and hostname function working. but it has a couple missing things.
here is my dhcp's log picture.
espHostname.PNG
espHostname.PNG (2.86 KiB) Viewed 3359 times


and i tried on nodemcu and it cant build. i am attaching new at example build log and nodemcu build log and webbase build log. maybe it can help you.
now i am trying 094 libraries.

kadamski wrote:I've uploaded libs for both version 0.9.4 (did some testing with this one) and 0.9.5 (totally untested). I hope this will work for you.
Attachments
(8.4 KiB) Downloaded 562 times
(1.89 KiB) Downloaded 561 times
(28.38 KiB) Downloaded 563 times
User avatar
By alonewolfx2
#9235 [quote="alonewolfx2"]i tried 095 and hostname function working. but it has a couple missing things.
here is my dhcp's log picture.
espHostname.PNG


and i tried on nodemcu and it cant build. i am attaching new at example build log and nodemcu build log and webbase build log. maybe it can help you.
now i am trying 094 libraries.

Edit1: its working on 0.9.4 examples. but i wonder one thing. we can use hostname for ip adress in dd-wrt (or open-wrt). ex: http://dd-wrt/ for 192.168.2.1 . is it possible on esp8266 with lwip?
User avatar
By kadamski
#9238 webbaseLog.txt and nodemcuLog.txt both looks like a problem with the order in which libraries are linked. I've moved eagle_lwip_if.o from libmain.a to liblwip.a and now it cannot find symbols from this object. One solution is to change the linking order, other is to move eagle_lwip_if.o back to libmain.a. I'm attaching repacked libs.

As for the at095Log.txt, I have to take a look why ping symbols are missing but there is a bigger problem - I don't have espconn_recv_hold/espconn_recv_unhold functions as they were added in SDK 0.9.5, there is no source for it and I don't know how they work (yet). Care to create a Github issue for providing those functions?

As for the dd-wrt question, the best answer I have is also a question - why don't you just check? :) I think it should work asAFAIK this functionality is provided by dnsmasq running on dd-wrt/openwrt, which works as a DNS forwarder but adds some "local" names taken from DHCP leases (which are managed also by dnsmasq, because it's also DHCP server). So I'm quite sure that you can ping your ESP by using just "ping esp8266-986a1a".
Attachments
(203.83 KiB) Downloaded 217 times
User avatar
By kadamski
#9240 Oh, I've fixed missing ping symbols problem and fixed version is pushed to github so thanks for finding this. I'm not posting builds as it still won't let you compile AT because of missing hold/unhold functions. And I need some time to figure out how those functions are supposed to work so that I can implement them.