Search found 4 matches
- 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: 2052
[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...
- Mon Sep 13, 2021 10:44 pm
- Forum: ESP8266 boards
- Topic: Software serial?
- Replies: 57
- Views: 75737
- Mon Sep 13, 2021 10:30 pm
- Forum: ESP8266 boards
- Topic: Software serial?
- Replies: 57
- Views: 75737
Re: Software serial?
- Sun Sep 12, 2021 12:06 pm
- Forum: ESP8266 boards
- Topic: Software serial?
- Replies: 57
- Views: 75737
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...