Raw ethernet packet

Posts: 11
Joined: Wed Aug 23, 2017 3:20 pm

Raw ethernet packet

Postby pctj101 » Fri Sep 13, 2019 8:14 pm

I noticed that if I carelessly use esp_eth_tx() to send raw packets that it tends to kill my MQTT sessions. Probably something nasty going on.

I see there's some LWIP stuff, and an ethernet_output() call that a lot of other stuff uses.. seems to be a more systematic way to queue/send... but didn't quite see a clear way to use it in my app_main() section of code.

Anything I should beware of as I start digging down to prevent a bigger mess? Is there a right way to use this?

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 13 guests