Skip to content

mac 662 when sending UDP message "burst" #1435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jan 15, 2016 · 6 comments
Closed

mac 662 when sending UDP message "burst" #1435

ghost opened this issue Jan 15, 2016 · 6 comments
Labels
type: troubleshooting waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.

Comments

@ghost
Copy link

ghost commented Jan 15, 2016

I'm running an application that sends UDP messages to other ESP units (sort of ESP mesh network)

When I send an UDP message to all (currently 12) remote ESP units, once every second, it crashes within 5 to 10 minutes ending with a "mac 662" error. This mac 662 SDK messages seems related to TX issues.

I'm already using a delay(10) after each message transmit and adding more delay seems to solve the issue. But is there no smarter way to avoid the mac 662 errors?

Can the application check if the system is too busy?
Is there a queue for sending messages and can we read the length?

I'm not so keen on adding not so intelligent fixed delays in the application.

(And I'm not using UDP broadcast IP address here because it seems less reliable than using unicast, don't know why...)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@igrr
Copy link
Member

igrr commented Feb 29, 2016

Does your application disable interrupts occasionally? If not, which libraries does it use?
This error usually happens when interrupts are disabled for too long.

@igrr
Copy link
Member

igrr commented Feb 29, 2016

Is this related to/duplicate of #1229?

@mkeyno
Copy link

mkeyno commented May 13, 2016

hi @mvdbro any success on your plan , ? do you use the modem-router ? I've had same plan to dispense big amount of data(like 150-250kb) between dozen of ESP module, I use processing to split my big file and add IP to each of chunks and send it to the my home router which is all esp connected to , but I'm not sure whether UDP can handle all of that in proper time , do you have any Idea abut that ?also I really thank you if you could share your codes

@drmpf
Copy link

drmpf commented May 13, 2016

You can with a lot of coding, see my comment on #1009. I cannot supply the code as I don't have a copy and it was proprietary. But you can work it out for yourself in a few years.

@devyte
Copy link
Collaborator

devyte commented Oct 18, 2017

@mvdbro is this issue still valid with latest git? with PR #3362 ?

@devyte devyte added the waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. label Oct 18, 2017
@devyte
Copy link
Collaborator

devyte commented Jan 8, 2018

Closing due to lack of feedback in over two months, lack of info in original post, and age.

@devyte devyte closed this as completed Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: troubleshooting waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.
Projects
None yet
Development

No branches or pull requests

4 participants