Search found 78 matches

by a2800276
Fri May 19, 2023 11:02 am
Forum: Hardware
Topic: Esp32c3 D+ and D- pins as a serial port
Replies: 8
Views: 7343

Re: Esp32c3 D+ and D- pins as a serial port

The labels of the pins are their default assignment. D+ and D- are the inverted data lines of the USB peripheral. This can emulate a "serial console" to another USB device, typically your development laptop. There types of console connections are used to emulate RS232 style connections, because typi...
by a2800276
Wed May 17, 2023 2:03 pm
Forum: Hardware
Topic: ESP32 and LoRa
Replies: 13
Views: 7439

Re: ESP32 and LoRa

What driver library are you using? I'm not using Arduino. Previously, I used an lmic based idf library (forgot which one specifically at the moment) and am currently writing my own because all the existing options are terrible/hubris. But then again, this library does not mention support for ESP ch...
by a2800276
Wed May 17, 2023 11:41 am
Forum: Hardware
Topic: ESP32 and LoRa
Replies: 13
Views: 7439

Re: ESP32 and LoRa

Lora is a pretty horrid technology to work with. You'll spend a lot of time banging your head.

Since you don't mention what error you're getting specifically or what you're trying to accomplish, there's not much more we can do than to commiserate and wish you good luck and patience.
by a2800276
Wed May 17, 2023 11:38 am
Forum: Documentation
Topic: GPIO documentation
Replies: 1
Views: 4482

Re: GPIO documentation

I find it hard to see which GPIOs are free to use on ESP32 models (including development boards and variants). The pinout diagrams are not enough in my opinion. Is it just me or could the documentation be improved there? I think there may be a bit of a communication mismatch. Pinout diagrams litera...
by a2800276
Tue May 16, 2023 12:02 pm
Forum: General Discussion
Topic: square wave generator code
Replies: 3
Views: 2700

Re: square wave generator code

Node32s is (probably) the name of the board and not the microcontroller. I assume you are doing something like `idf.py set-target node32s` but you should supply the name of the chip on the board instead. It would help if you provide some context, i.e. what chip and board, which development environme...
by a2800276
Thu May 04, 2023 10:48 am
Forum: General Discussion
Topic: Switching from SSL/TLS to mTLS
Replies: 4
Views: 3390

Re: Switching from SSL/TLS to mTLS

I'm afraid I misunderstood your question... I thought you wanted to use the mbedTLS low(er) level TLS library, but now I believe you meant you want to use mutual TLS, i.e. client certificate authentication. A typical browser TLS connection only the server is authenticated with a certificate. It's no...
by a2800276
Wed May 03, 2023 10:53 am
Forum: ESP-AT
Topic: OTA Firmware update
Replies: 3
Views: 3941

Re: OTA Firmware update

It looks like the CIUUPDATE AT command is the one (probably) most applicable to your use case: The application scenarios of this command are as follows: -You only use the firmware released by Espressif, and only want to upgrade to the firmware released by Espressif. -You want to upgrade the customiz...
by a2800276
Tue May 02, 2023 11:08 am
Forum: General Discussion
Topic: Switching from SSL/TLS to mTLS
Replies: 4
Views: 3390

Re: Switching from SSL/TLS to mTLS

What's your motivation to use mTLS? WifiClientSecure is an Arduino library that is intended to be easy to use. mTLS is a low level implementation. To answer "what more do you need to do?" it would be necessary to know what you are trying to do. If you want to make https calls for example, you can ju...
by a2800276
Tue May 02, 2023 10:59 am
Forum: ESP-IDF
Topic: ESP IDF Environment only works one time
Replies: 1
Views: 1111

Re: ESP IDF Environment only works one time

This is the expected behavior, you're not doing anything wrong. You do need to run `export` once per shell. This comes from a unix mindset where you're actually working in the shell primarily and you may be working on a different project requiring a different idf version in another shell. I assume i...
by a2800276
Mon Apr 24, 2023 8:00 am
Forum: ESP32 Arduino
Topic: POST request with PHOTO file in the body of the message. How to make ?
Replies: 3
Views: 2381

Re: POST request with PHOTO file in the body of the message. How to make ?

I think it might be easier to use an existing HTTP client library like https://github.com/amcewen/HttpClient rather than implementing the intricacies of POST requests yourself. It would certainly save a lot of code.