These are chat archives for esp8266/Arduino

14th
Jul 2015
Markus
@Links2004
Jul 14 2015 07:14
@me-no-dev the ESP is the client like a VNC viewer its has a full implementation of the rfb protocol.
the data is transferred in "HEXTILE" mode of the rfb protocol. and then displayed on a ILI9341 display.
for full updates i get around 11fps.
the camera is a USB dome cam with mjpeg output to a raspberrypi with wlan.
this steam is open by the browser in the xvnc session on the server, which streams the image by rfb to the ESP.
I also overlay the image with the current VDSL usage just for fun ;)
Me No Dev
@me-no-dev
Jul 14 2015 07:15
amazing!
11 fps is not that bad, considering it's running on an ESP
I hope you will post some code somewhere sometime :)
Markus
@Links2004
Jul 14 2015 07:16
rfb do parietal updates so its get really fast, when not all is changing.
for a release i need do a clean up first its a dirty port of the original VNC srcs
Me No Dev
@me-no-dev
Jul 14 2015 07:18
is there a sound channel also?
Markus
@Links2004
Jul 14 2015 07:19
not implemented VNC support it, the ESP has to less pins left for using a DAC with the display on it.
Me No Dev
@me-no-dev
Jul 14 2015 07:19
oh yes, that is true
I2S takes some important pins
Markus
@Links2004
Jul 14 2015 07:20
the display is placed by the normal door phone so i get the sound from there, the cam itselfs can stream the sound
Me No Dev
@me-no-dev
Jul 14 2015 07:21
i was searching recently for a cam that we can hook directly
but found nothing interesting
most either need too many pins or are too slow
Markus
@Links2004
Jul 14 2015 07:22
yes the speed is mostly the problem,
the best i found for a while is a mjpeg cam with SPI/UART, but I never ordered it.
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Jul 14 2015 13:17
@Links2004 Using the WebSocketServer example in the IDE, I can create a websocket and seem to be able to connect via android tablet, web browser and telnet, but I only ever get the WStype_DISCONNECTED message to fire in the webSocketEvent. Is this normal?
chad cormier roussel
@chadouming
Jul 14 2015 14:39
sounds cool :D
probonopd
@probonopd
Jul 14 2015 18:13
hi, does PROGMEM hurt in esp8266 sketches?
or should it be just ignored?
probonopd
@probonopd
Jul 14 2015 18:34
https://github.com/marcoschwartz/aREST only compiles for me if i remove all PROGMEMs
Markus
@Links2004
Jul 14 2015 20:08
@anwarhahjjeffersongeorge do you run the example ino for server?
probonopd
@probonopd
Jul 14 2015 20:12
is it normal for dns-sd to take ages to show up?
like, 3 minutes or more?
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Jul 14 2015 21:20
@Links2004 Yes, I used the server example, and the websocketclient.html example from the repo, with changes for my local network. Oddly, my clients (android java websocket) say they're connected when I try, but the ESP server produces no related output until the disconnect.
Me No Dev
@me-no-dev
Jul 14 2015 21:22
@probonopd dns-sd answers as soon as it gets a request
if your app calls it every so ofthen it will take that long for the device to show
probonopd
@probonopd
Jul 14 2015 21:24
"my app" = safari web browser
Me No Dev
@me-no-dev
Jul 14 2015 21:26
areyou talking about the http anoncement?
safari runs a query when you open it
probonopd
@probonopd
Jul 14 2015 21:26
btw, i received an esp-12e module and i have OTA working on it now. Thanks so much, it's cool :-)
yes, http announcement
Me No Dev
@me-no-dev
Jul 14 2015 21:26
then I have no clue how ofthen it does it, but it's not often at all
probonopd
@probonopd
Jul 14 2015 21:26
so you say quit and launch safari, i see
Me No Dev
@me-no-dev
Jul 14 2015 21:27
yes
or...
open terminal and type: dns-sd -B _http._tcp
that might help
probonopd
@probonopd
Jul 14 2015 21:28
ok
is the console supposed to work via the ota demo sketch?
it asks me for a password
which i don't seem to know
Me No Dev
@me-no-dev
Jul 14 2015 21:29
the console can work only if IDE is compiled with some changes I made and are not pushed anywhere
Arduino wants to alwas open SSH otherwise
probonopd
@probonopd
Jul 14 2015 21:30
ah, ok. i'm using the IDE from esp8266/Arduino git now
Me No Dev
@me-no-dev
Jul 14 2015 21:30
that does not have those changes
we will push upstream once I finish working on them for the latest IDE
probonopd
@probonopd
Jul 14 2015 21:31
ok. very cool
Me No Dev
@me-no-dev
Jul 14 2015 21:31
as ustream IDE is much different in that area
then what we currently have in the repo
Michael Miller
@Makuna
Jul 14 2015 22:08
@probonopd Progmem does work, but the header is not in the same location, remove the avr from the path. If you then get compile issues, they may have done it wrong, the AVR was lenient on the location of the PROGMEM in the statement, but it is documelted to go in a specific location and esp8266 only supports what was documented (no choice)
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Jul 14 2015 22:36
@Links2004 after some further testing and switching browsers, I seem to have made some progress to where I can get the event to fire, but I don't really know what I did wrong in the first place.