Search found 15 matches

by Marc-Aurele
Thu May 02, 2024 8:37 am
Forum: ESP-IDF
Topic: ESP32-S3 disabling JTAG
Replies: 6
Views: 18838

Re: ESP32-S3 disabling JTAG

atlex92 wrote:
Thu Feb 15, 2024 7:50 am
ESP_Sprite wrote:
Wed Feb 14, 2024 2:03 am
How did you configure them? You may need to do an gpio_reset_pin() on the GPIO to get them out of JTAG mode.
It was just with gpio_set_direction.

But gpio_reset_pin solved everything. Thanks a lot!
Indeed, great, it is working.

thx
by Marc-Aurele
Wed Apr 05, 2023 1:04 pm
Forum: General Discussion
Topic: ESP32 - Concurrent socket MQTT + TCP
Replies: 6
Views: 2996

Re: ESP32 - Concurrent socket MQTT + TCP

has someone already faced something like that ? Feel free to share any idea.

Regards,
by Marc-Aurele
Fri Mar 31, 2023 8:19 pm
Forum: General Discussion
Topic: ESP32 - Concurrent socket MQTT + TCP
Replies: 6
Views: 2996

Re: ESP32 - Concurrent socket MQTT + TCP

Here is some log when the issue occurs (with LWIP debug activated) [22:13:51:499] <0x1b>[0;32mI (34566) TCP_IP: Client sends data to the server...<0x1b>[0m␍␊ [22:13:51:505] lwip_send(60, data=0x3fc97168, size=600, flags=0x0)␍␊ [22:13:51:510] lwip_send(60) err=0 written=600␍␊ [22:13:51:510] <0x1b>[0;...
by Marc-Aurele
Fri Mar 31, 2023 7:58 pm
Forum: General Discussion
Topic: ESP32 - Concurrent socket MQTT + TCP
Replies: 6
Views: 2996

Re: ESP32 - Concurrent socket MQTT + TCP

Here is the send function : static int socket_send(const char *tag, const int sock, const char * data, const size_t len){ int to_write = len; int error_cnt = 0; while (to_write > 0) { int written = send(sock, data + (len - to_write), to_write, 0); if (written < 0 && errno != EINPROGRESS && errno != ...
by Marc-Aurele
Fri Mar 31, 2023 12:58 pm
Forum: General Discussion
Topic: ESP32 - Concurrent socket MQTT + TCP
Replies: 6
Views: 2996

Re: ESP32 - Concurrent socket MQTT + TCP

Hello, Thank you for the reply. Indeed, my tcp socket seems to be configured in non blocking mode : // Marking the socket as non-blocking int flags = fcntl(sock, F_GETFL); if (fcntl(sock, F_SETFL, flags | O_NONBLOCK) == -1) { log_socket_error(TAG, sock, errno, "Unable to set socket non blocking"); }...
by Marc-Aurele
Thu Mar 30, 2023 8:44 am
Forum: General Discussion
Topic: ESP32 - Concurrent socket MQTT + TCP
Replies: 6
Views: 2996

ESP32 - Concurrent socket MQTT + TCP

Hello When I'm using MQTT only, all is working fine. But when I want to open a additional TCP socket (just a TCP while I'm already connected with MQTT), I can connect and send some data but after a while, my tcp sending function returns -1 continuously (errno = 11 : EWOULDBLOCK or EAGAIN) (this line...
by Marc-Aurele
Fri Feb 08, 2019 3:37 pm
Forum: ESP-IDF
Topic: HID : "Configure physical keyboard" message
Replies: 0
Views: 2212

HID : "Configure physical keyboard" message

Hello, I started to work with the HID project example in the esp-idf folder. I'm facing an issue when i pair a phone to my HID device, indeed when the device is paired, i can see the following message on my phone "Configure physical keyboard". I would like this message is not diplayed but i don't kn...
by Marc-Aurele
Thu Feb 07, 2019 4:07 pm
Forum: General Discussion
Topic: HID project example
Replies: 0
Views: 2823

HID project example

Hello, I'm starting to work with the HID project example provided with ESP-IDF. All is working fine, i can use the HID profil to change the the music track. But, the only issue is that my device is seen as a keyboard onto my phone. Is there a way to not being as a mouse or a keyboard with the HID pr...
by Marc-Aurele
Mon Jan 28, 2019 12:55 pm
Forum: ESP-IDF
Topic: A2DP : how to not use the audio channel ?
Replies: 0
Views: 2050

A2DP : how to not use the audio channel ?

Hello, I'm using the A2DP example project on my ESP32 (a2dp_gatts_coex) but i would like to not use the audio channel because music will be streamed onto another device from my phone. I want mainly use the AVRCP over A2DP if it is possible.to do this ? Here is what i want : ESP32 -------------> Phon...
by Marc-Aurele
Fri Jan 25, 2019 10:27 am
Forum: ESP-IDF
Topic: Need help with AVRCP
Replies: 0
Views: 2123

Need help with AVRCP

Hello,

I want to use AVRCP on my ESP32 without A2DP. For now, this is not the case with the last version of esp-idf. AVRCP needs to initialize the A2DP profile. I would like to know if someone could advise me on how to proceed to implement my own AVRCP profile.
Thank you in advance,

Regards,