Search found 5 matches

by 161616harvard
Fri Mar 12, 2021 4:23 am
Forum: ESP32 boards
Topic: MQTT and AWS
Replies: 2
Views: 1890

Re: MQTT and AWS

Hello sir, thank you for the response. Your MQTT library is absolutely wicked ! I certainly look forward to it being corrected with future releases. Thanks a lot :)
by 161616harvard
Tue Mar 09, 2021 11:32 pm
Forum: ESP32 boards
Topic: MQTT and AWS
Replies: 2
Views: 1890

MQTT and AWS

Hello! I have implemented the following MicroPython Asynchronous MQTT : https://github.com/peterhinch/micropython-mqtt/tree/master/mqtt_as It works perfectly with an online broker. However, when I try with AWS, during the WiFi reconnect, I run into the errors cited below and I'm unable to reconnect ...
by 161616harvard
Mon Mar 01, 2021 2:05 pm
Forum: ESP32 boards
Topic: SSL/TLS memory alloc error, but large free heap
Replies: 3
Views: 23456

Re: SSL/TLS memory alloc error, but large free heap

I have same MBEDTLS_ERR_RSA_PRIVATE_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED' errors. Have you found an answer to this?
by 161616harvard
Fri Feb 12, 2021 8:12 pm
Forum: Programs, Libraries and Tools
Topic: UART and end of line
Replies: 3
Views: 1641

Re: UART and end of line

I added at the end he byte 0x0A for end of line, but I could use the uart.read(40)

I still have the same problem with \x00 byte since the reading stops there. Is there a solution to that?
by 161616harvard
Fri Feb 12, 2021 7:50 pm
Forum: Programs, Libraries and Tools
Topic: UART and end of line
Replies: 3
Views: 1641

UART and end of line

Hello, I'm trying to read 40 bytes from uart.readline() in micropython. However the reading stops when it encounters \x00. Example. "\xff\xff\xff\xff\x01\x00\x05\x07\x02\x44\x45\x41\" uart.readline() returns b'\xff\xff\xff\xff\x01' Can someone shed a light into this? Why does it convert to ascii and...