Search found 17 matches

by tangerino
Thu Jul 28, 2022 6:14 pm
Forum: General Discussion and Questions
Topic: ESP32 Port Tools
Replies: 2
Views: 1918

ESP32 Port Tools

What is the official IDF version to be used?
If there is no "official" the one to use then.
I tried V4.4 but got some weird memory behavior

Thank you in advance for sharing.
by tangerino
Mon Jul 11, 2022 11:12 am
Forum: General Discussion and Questions
Topic: Fatal may error trap
Replies: 1
Views: 638

Fatal may error trap

Hi.

Is there a way to trap a fatal application error?
The idea is to trap an error, save the information to a file and upload to the cloud when possible.
Access the traceback.

Thank you
by tangerino
Sun Jun 05, 2022 9:37 am
Forum: General Discussion and Questions
Topic: PPP Network
Replies: 4
Views: 2321

Re: PPP Network

My setup is: ESP32 - 8MB SRAM Modem - Quectel EG915 The code is my own with very little help from the forum. The SIM is an operational one, tested with modem + RaspberryPi + PPP. Once you dial and*99# you yield the uart control to PPP services (this is my understanding) that will talk PPP and implem...
by tangerino
Wed Jun 01, 2022 2:52 pm
Forum: General Discussion and Questions
Topic: PPP Network
Replies: 4
Views: 2321

Re: PPP Network

Anyone can help me here, please?
by tangerino
Mon May 30, 2022 5:28 pm
Forum: General Discussion and Questions
Topic: PPP Network
Replies: 4
Views: 2321

PPP Network

I have a working hardware with 4G modem. The modem setup is OK, from reseting it to configure APN. Is not clear if PPP needs to be called after we dial ATD*99# or PPP will dial itself. No error is shown with the following code print(f'[MODM] CSQ: {rssi} {ber}') wait_sim_card_ready(modem, timeout=600...
by tangerino
Sun Mar 06, 2022 8:05 am
Forum: ESP32 boards
Topic: ESP32 to Mosquitto Broker over TLS
Replies: 7
Views: 8692

Re: ESP32 to Mosquitto Broker over TLS

It would be nice to have a working example.
What certificate's format the library supports?
This is a special point for IoT but is so vague in examples.
Thanks in advance
by tangerino
Mon Oct 25, 2021 11:40 pm
Forum: General Discussion and Questions
Topic: uart.read() is giving accumulated data
Replies: 18
Views: 8563

Re: uart.read() is giving accumulated data

This pending PR solves this problem

Code: Select all

https://github.com/micropython/micropython/pull/7883
My case is a low baud rate (110) and small frame size (9 bytes)
Code attached

I'm using like this

Code: Select all

UART = UART(UART1, baudrate=110, rxfifo_full_thresh=1, timeout=150)
by tangerino
Mon Oct 25, 2021 2:00 pm
Forum: ESP32 boards
Topic: Question about ESP32 heap size?
Replies: 13
Views: 5771

Re: Question about ESP32 heap size?

I did few tests and I agree with comments. This is my recipe for a new installation where I can pull everything, compile and run MP. Other versions I always get errors. Not to mention that using OSX on M1 also add some complexity And I get the 'right' heap space. Thank you all cd rm -rf micropython ...
by tangerino
Mon Oct 25, 2021 9:02 am
Forum: ESP32 boards
Topic: Question about ESP32 heap size?
Replies: 13
Views: 5771

Re: Question about ESP32 heap size?

Fair enough. I'll redo my tests and post back here. Meanwhile, what is the 'official' esp-idf version to use to compile MP? I see many combinations and some raises weird errors. I'd like to use the latest esp tools possible to avoid to bring old bugs to MP and at the same time newer versions seems t...