Chat freely about anything...

User avatar
By tve
#46165 I haven't tried firmata, but when you say "it can't see the traffic" it sounds like there's a configuration problem. How are you configuring firmata's port to talk to the arduino? Are you getting any error messages? Also, you can connect to port 23 on esp-link or view the uC console web page at the same time as firmata is trying to connect and you'll see what the arduino responds with.
User avatar
By nicnet
#46222 Possibly configuration problem.
In Node-red, drect firmata connection takes serial port (e.g. /dev/USB0) directly connected to arduino running firmata (57600).
Over TCP connection, it uses IP address and port.
Firmata starts with following string "StandardFirmata.ino" and then the data is binary.
The bridge seems to transport that string correctly, but no data exchange follows.

Is ESP-LINK TOTALLY transparent?
User avatar
By nicnet
#46301 Ok - got it (Firmata -> node-red) working now - at least partially.
Problem was a baud issue - for some reason Firmata on node-red requires 115200, whereas normal is 57600.
Also, I couldn't get it to work using TCP connection from node-red, instead had to map a virtual tty using socat, and then use serial connection in node-red.
But whatever, it proves that esp-link is doing its thing correctly - transparent bridging.
Thankyou !!!!
User avatar
By tve
#46331 I'm glad you could work it out! I need to look whether I can improve error messages when there's a baud rate mismatch. The uart tends to generate framing errors and I'm suppressing them 'cause they tend to come by the hundreds at a time.
Thanks for reporting back!