Search found 3 matches

by marioard
Tue May 24, 2022 8:18 am
Forum: Development of MicroPython
Topic: Write in a socket without reading the incoming data
Replies: 0
Views: 9822

Write in a socket without reading the incoming data

Is it possible to answer a request without reading the whole incoming data? I want to verify if the path is correct in the code below. The request never gets responded to (it gets an Error: read ECONNRESET), but it works if I read all the incoming data before writing. import uasyncio as asyncio serv...
by marioard
Tue Sep 08, 2020 2:03 pm
Forum: Development of MicroPython
Topic: Scale Up/Down Black and White .pbm Picture in MicroPython
Replies: 0
Views: 2065

Scale Up/Down Black and White .pbm Picture in MicroPython

Dear friends, This is my first time sending a question on this forum. I'm new in MicroPython and really appreciate all the work the community put on this! I want to make a function that takes as an input a black and white icon represented as a bytearray as scale it up/down a number of pixels. My int...
by marioard
Fri May 15, 2020 2:35 am
Forum: ESP8266 boards
Topic: AWS MQTT connection failure
Replies: 2
Views: 2478

Re: AWS MQTT connection failure

I was having the same problem with the latest releases. It works fine using the V11. I'm currently using the https://micropython.org/resources/firmware/esp32-idf3-20190529-v1.11.bin I tried to use Peter Hinch's async MQTT, but unfortunately, it's based on the latest firmware release, which doesn't w...