Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
kiralikbeyin
@kiralikbeyin
yes there was always json file , tried 4-5 times with w+ and w also
Germán Martín
@gmag11
¿? No guess
probonopd
@probonopd
hi, is https://github.com/esp8266/arduino-esp8266fs-plugin supposed to upload SPIFFS over WIFI when the OTA port is selected?
(it appears to do something but I don't think it's acually working for me...)
Stavros Korokithakis
@skorokithakis
Damnit, these A6 modules are $1.8 each and a few thousand dollars of your time spent banging your head against the wall
kiralikbeyin
@kiralikbeyin
@gmag11 thanks i hope 430 man here one of them worked with file position :)
Me No Dev
@me-no-dev
@probonopd yes I do :)
have to dig what I have
probonopd
@probonopd
got some contributions on https://github.com/probonopd/ESP8266HueEmulator recently
@me-no-dev
Me No Dev
@me-no-dev
will give it a go :)
probonopd
@probonopd
cool! @me-no-dev
Stavros Korokithakis
@skorokithakis
can anyone look at this function and tell me if they think i'm doing something obviously wrong? https://github.com/skorokithakis/A6lib/blob/master/A6lib.cpp#L192
Stavros Korokithakis
@skorokithakis
this is the output: https://www.pastery.net/puzrxf/
Germán Martín
@gmag11
@skorokithakis Check parenthesis in A6WaitFor, in while condition. Add more debug info to check more variables too.
Stavros Korokithakis
@skorokithakis
@gmag11 what's wrong with the parentheses (i think this is related to a bug i was having)? as for the variables, i don't know if there's something to check, there's just no output :/
Germán Martín
@gmag11
Ok not sure if == is calculated after + or it is the opposite. Check the result of that operation adding some logs
Stavros Korokithakis
@skorokithakis
@gmag11 i think you're right, sometimes i saw an "AT" come in as the correct reply, but the operation still timed out
@gmag11 i've added more parentheses to make sure https://github.com/skorokithakis/A6lib/blob/master/A6lib.cpp#L280
hm, i don't know what's going on... it seems that the module may just not be ready
this, especially, is very odd: https://www.pastery.net/qyvpfz/
maybe the module is trying to autodetect baud too?
Germán Martín
@gmag11
You can use another ttl-usb to see what's on the line, connecting rx line. I don't know if I explain correctly. I did it so when programming my Firmata lib
Stavros Korokithakis
@skorokithakis
hmm, you think there will be something different? let me try that
Germán Martín
@gmag11
I mean
Stavros Korokithakis
@skorokithakis
i know, connect my FTDI's RX to the A6 TX to see what's there
but i already print everything that's coming in, so i don't know if there will be anything different
Germán Martín
@gmag11
Right
Stavros Korokithakis
@skorokithakis
let me try it and see though
hmm, that was a good idea
Stavros Korokithakis
@skorokithakis
the module is, indeed, not responding
is there a way to "clear the line" or something, when trying different baud rates?
it's odd, i see the module echoing the commands back to me, but no +OK
Stavros Korokithakis
@skorokithakis
okay, it looks like there's nothing wrong with my code or anything. the module is just not responding generally
Stavros Korokithakis
@skorokithakis
ugh, this is driving me insane... the ESP is sending an "AT\r\n", the A6 does not respond (i'm watching with an FTDI programmer on the wire). i take the TX cable from the ESP and put it on the FTDI, and send "AT\r\n", the A6 responds. what the hell!
probonopd
@probonopd
@all if you have some time, watch CNLohr do his magic in this livestream right now https://www.youtube.com/watch?v=cwtAMBo3efs
Stavros Korokithakis
@skorokithakis
what is he doing?
probonopd
@probonopd
he's the guy who built USB for the ESP, right now it seems like he is emulating USB HID devices (although I just tuned in right now and don't have the full context yet)
Stavros Korokithakis
@skorokithakis
oh, that's very interesting
looks like he's turning the ESP into an AP, connecting to that, showing a webpage with a keyboard and that's emulating a HID kb
to the host
probonopd
@probonopd
yes something like that
Stavros Korokithakis
@skorokithakis
i didn't know there's USB for the ESP, do you have a link?
probonopd
@probonopd
Stavros Korokithakis
@skorokithakis
thank you
Stavros Korokithakis
@skorokithakis
@gmag11 thanks for the programmer tip, i wouldn't have debugged this otherwise, it works now!
probonopd
@probonopd
including a background video on how he did the USB
Stavros Korokithakis
@skorokithakis
that's quite impressive actually
kitmaker
@kitmaker
AnyBody Knows how to Set ESP to Communicate Over TCP from Internet?