IoT, ESP, Alexa, 3D printing - my hobbies for last 2 years.
Most recent activity
it's a miracle... I thought 15 mins ago... long time no answers on Espruino, and here you are, both :-)
I did not make any updates or trials, while my code was working on 1.94 and I was happy with it.
I am rather waiting your OO version that works.
p.s. I will try upgrade to 1.95 and check if my script works same. Also I will consider comments from Gordon on right modules.
whatever bug in UDP implementation you found, it works for alexa device discovery at the moment :)
so... never touch a working system is a prophecy
Actually GetIP() is used to get just a device-id. It you can thing about any other "id", lets use it instead.
getip works fine on esp only after you request wifi connection. regardless it got connected or not.
perfect plan... i was waiting a month to get espruino Udp working, so i wll be happy to see better code and working
paddek's version is still not working lets wait, his code is very sexy looking :) .
for esp u have to change some pin definitions. send the err log, interesting.
What a relief - I managed upgrade Puck to 1.94 by using 3 years old Samsung J5 mobile.
But with newest Huawei P9 Light it is still not possible.
btw, for testing purposes. After the upgrade to 1.94, I tried to connect with Huawei again and make an upgrade... it is still not possible. Both Android phones installed today nRF Toolbox 2.5.3
Huawei P9 Lite Android 7.0
Samsung J5 Android 5.1.1
yep, github, user (vaxus1).
I still have problems with Puck.js and firmware update from 1.92 to any above, nRF Toolbox disconnects in 10 secs.
Taking Gordon's advice about the low battery, I even risked to burn it - powered it on 3.3 pin.
Still the same problem - nRF Toolbox connects for 10 secs and disconnect with error.
I already connected Puck with TTL now, but trying Espruino IDE it does not work either, returns the message Puck.js cannt be updated from IDE, make other choice.
The only way would be upload with phyton script (I use it successfully for flashing on ESP8266)
Please advice what is command line for Puck.js
for ESP8266 the command line is:
python "E:\Espruino\000 software\esptool-master\esptool.py" --port COM3 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m 0x0000 boot_v1.6.bin 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin