Search found 4 matches

by MrJake222
Tue Sep 14, 2021 2:30 pm
Forum: General Discussion and Questions
Topic: [ESP8266] How to get client address when using readinto?
Replies: 0
Views: 2053

[ESP8266] How to get client address when using readinto?

Hello, I'm confused. My code: # bad, no sender data cnt = s.readinto(self._buffer, BUFSIZE) print(cnt, self._buffer) # bad, allocates new buffer buf, peer = s.recvfrom(BUFSIZE) print(buf, peer) How to achieve recvfrom_into functionality from CPython? I don't want to allocate new buffers constantly a...
by MrJake222
Mon Sep 13, 2021 10:44 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 57
Views: 75770

Re: Software serial?

Pull Request.
Let's vote it up!
by MrJake222
Mon Sep 13, 2021 10:30 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 57
Views: 75770

Re: Software serial?

Hey,

I've managed to get two SoftUARTs to work simultaneously. Here you can find examples. Also a precompiled release is present.
by MrJake222
Sun Sep 12, 2021 12:06 pm
Forum: ESP8266 boards
Topic: Software serial?
Replies: 57
Views: 75770

Re: Software serial?

So @tusker, why didn't you make a pull request to the main micropython repo? EDIT I've managed to create a proper repo with dmascord code but with upstream set to official repo. I've merged upstream over the master and it didn't show any merge conflicts. But I haven't tested it as I'm having problem...