Search found 10 matches

by BenBurger
Thu Aug 01, 2024 4:28 pm
Forum: ESP-IDF
Topic: ESP-IDF Visual Studio Code - Not controlling CP2102 RTS/CTS
Replies: 0
Views: 777

ESP-IDF Visual Studio Code - Not controlling CP2102 RTS/CTS

Any suggestions would be appreciated; I have 2 laptops, both with VSCode and ESP-IDF extensions I program the ESP32 via a custom USB-Serial board, CP2102 I did a new install on the 2nd laptop as old one is giving hard-drive issues 1st has Win 10, seconds has Win11 1st one is intel u5, second one is ...
by BenBurger
Thu Sep 28, 2023 4:07 pm
Forum: ESP-IDF
Topic: Secure WSS; how do I create more than one server?(SOLVED!)
Replies: 3
Views: 1218

Re: Secure WSS; how do I create more than one server? (SOLVED!!)

Ah found the issues !!!! LWIP Max number of open sockets : was 5 set it to 10 and now working seems each socket needs (sockets + 3)*2 ===> comment in httpd_main.c ....................................... /* Sanity check about whether LWIP is configured for providing the * maximum number of open socke...
by BenBurger
Thu Sep 28, 2023 3:44 pm
Forum: ESP-IDF
Topic: Secure WSS; how do I create more than one server?(SOLVED!)
Replies: 3
Views: 1218

Re: Secure WSS; how do I create more than one server?

Thanks tried it, something changed, now the error also changed

I (4967) esp_https_server: Starting server
E (4967) httpd: httpd_server_init: error in creating msg socket (23)
I (4977) : Error starting server!
by BenBurger
Wed Sep 27, 2023 7:33 pm
Forum: ESP-IDF
Topic: Secure WSS; how do I create more than one server?(SOLVED!)
Replies: 3
Views: 1218

Secure WSS; how do I create more than one server?(SOLVED!)

Hi all Can anyone help with WSS socket server I want to create 2 servers sending different data on 2 different ports 9000 and 443 for now HOWEVER the first one works but never the second one I (4957) : Starting server I (4957) esp_https_server: Starting server I (4957) esp_https_server: Server liste...
by BenBurger
Fri Sep 15, 2023 2:53 pm
Forum: ESP-IDF
Topic: BT Classic SPP how to write async data error - BT_BTC: btc_spp_write unable to find RFCOMM slot!(solved)
Replies: 1
Views: 2130

Re: BT Classic SPP how to write async data error - BT_BTC: btc_spp_write unable to find RFCOMM slot!(solved)

So I managed to solve the issue I was a simple matter of defining a variable static uint32_t btHandle=0; then filling it with the handle at the correct event ...... case ESP_SPP_START_EVT: if (param->start.status == ESP_SPP_SUCCESS) { btHandle = param->start.handle; ..... Then the handle could be us...
by BenBurger
Thu Sep 14, 2023 6:33 pm
Forum: ESP-IDF
Topic: BT Classic SPP how to write async data error - BT_BTC: btc_spp_write unable to find RFCOMM slot!(solved)
Replies: 1
Views: 2130

BT Classic SPP how to write async data error - BT_BTC: btc_spp_write unable to find RFCOMM slot!(solved)

Hi all I have this issue it`s a chicken egg scenario: 1- I managed to setup a BT server as per the BT_SPP_ACCEPTOR example; it compiles and works no problem 2- I can also connect to the ACCEPTOR with the BT terminal on my Phone and send data; no problem HERE is the issue I want to send asynchronous ...
by BenBurger
Thu Aug 31, 2023 5:48 pm
Forum: ESP-IDF
Topic: UART2 RX interrupt how to do it?
Replies: 8
Views: 7173

Re: UART2 RX interrupt how to do it?

Success The problem wat my TASK creation methodology; my knowledge is too limited to make a proprly informed opinion and by trial and error I managed to get the process working ... static QueueHandle_t uart2_queue, uart0_queue; ..... It seems the tasks for each UART ISR, it is handled separately and...
by BenBurger
Thu Aug 31, 2023 1:34 pm
Forum: ESP-IDF
Topic: UART2 RX interrupt how to do it?
Replies: 8
Views: 7173

Re: UART2 RX interrupt how to do it?

Thanks for the feedback. I`ve been going down the "Rabbit Hole" of RTOS and Queues etc. and managed to code working "partially" Here are the issues I ran; again no documentation; samples or any to the such.. so I`m missing something here 1- I registered the ISR callback event for the UART`s; to my u...
by BenBurger
Mon Aug 28, 2023 3:52 pm
Forum: ESP-IDF
Topic: UART2 RX interrupt how to do it?
Replies: 8
Views: 7173

Re: UART2 RX interrupt how to do it?

Thank you for your answer, being a old school coder, I need to get my head around the whole RTOS concept, I`m used to writing everything myself and especially UART drivers I like to write my own printf functions for variuos reasons (I like to format my code as the device on the comport needs all kin...
by BenBurger
Sun Aug 27, 2023 9:46 am
Forum: ESP-IDF
Topic: UART2 RX interrupt how to do it?
Replies: 8
Views: 7173

UART2 RX interrupt how to do it?

Hi All I`ve been running circles here and nothing works that I have tried I have followed all the example code as well as read the ESP-IDF docks YET no where is this subject addressed clearly How do you make use of the receive interrupt of the UARTs The examples all make use of xTaskCreate... Yes I ...