Raw ethernet packet

pctj101
Posts: 23
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?

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

Re: Raw ethernet packet

Postby pctj101 » Thu Sep 26, 2019 2:19 pm

Wanted to bump this back up in case anyone could share anything they know about raw ethernet packet sending causing problems in a multi-task freertos environment.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 121 guests