UDP request buffer protocol #9338
Answered
by
robert-hh
krishnak
asked this question in
Using MicroPython
I get the following error when unpacking TypeError: object with buffer protocol required Can you please suggest a solution |
Answered by
robert-hh
Sep 17, 2022
Replies: 6 comments 7 replies
|
Maybe a similar issue: |
2 replies
|
I often have that behaviour, which is only rectified by an erase and flash a new image. |
0 replies
|
Do you also have RST crashes when you are connected via REPL |
0 replies
|
Sorry I don't understand. RST is reset? REPL do you mean webREPL? I only use rshell. |
0 replies
|
from rshell do you run the command REPL, are we talking about ESP8266/32? |
4 replies
|
@krishnak |
1 reply
Answer selected by
krishnak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@krishnak
recvfrom()returns a tuple consisting of data and addr. So you could change your script for instance to: