Search found 2230 matches

by chegewara
Mon Mar 18, 2024 3:04 pm
Forum: General Discussion
Topic: Node working as client and server
Replies: 1
Views: 392

Re: Node working as client and server

1. Yes, you can have SIG client and server model on the same node/element 2. Vendor model does not have client/server model per se 3. You can have vendor "client" and "server" model on the same node (suggesting to use 2 different elements, not needed thou) 4. You can use the same vendor model as a "...
by chegewara
Sun Mar 17, 2024 9:11 pm
Forum: General Discussion
Topic: Help with function pointers and xTaskCreate & xTaskCreatePinnedToCore
Replies: 3
Views: 594

Re: Help with function pointers and xTaskCreate & xTaskCreatePinnedToCore

void (*MainPtr)(void*); MainPtr = (void(*)(void*))(FunctionAddr) ; //FunctionAddr is the Address of start of code from external source in IRAM MainPtr(NULL); //Execute code If this works, then maybe try to use some hack and call it from within a task created with xTaskCreate? Or maybe all works fin...
by chegewara
Fri Mar 15, 2024 8:28 am
Forum: General Discussion
Topic: ESP HTTPS OTA Begin failed
Replies: 1
Views: 258

Re: ESP HTTPS OTA Begin failed

https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/protocols/esp_http_client.html#https-request While making HTTPS requests, if server verification is needed, an additional root certificate (in PEM format) needs to be provided to the cert_pem member in the esp_http_client_conf...
by chegewara
Fri Mar 15, 2024 2:08 am
Forum: ESP32 Arduino
Topic: BLE BLERemoteCharacteristic Notify misses Bytes
Replies: 4
Views: 454

Re: BLE BLERemoteCharacteristic Notify misses Bytes

https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/Indication-and-Notification/ta-p/1129270 BLE standard define two ways to transfer data for the server to the client: notification and indication. Maximum data payload size defined by the specification in each message is 20 bytes. I am sug...
by chegewara
Thu Mar 14, 2024 3:48 pm
Forum: ESP-IDF
Topic: Simple socket and errno = 11, No more processes
Replies: 28
Views: 2504

Re: Simple socket and errno = 11, No more processes

Looking i wireshark, sending request from ESP32 - ESP32 -> Huawei - a 66 byte Modbus/TCP package is send - Huawei -> ESP32 a 64 byte [ACK] is sent - ESP32 -> Huawei a 54 byte [FIN, ACK] is sent - Huawei -> ESP32 [ACK] - Huawei -> ESP32 [FIN, ACK] - ESP32 -> Huawei [ACK] This is the reason i suggest...
by chegewara
Thu Mar 14, 2024 5:59 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 828

Re: How to use USB-OTG as a COM device again after making it a msc host?

Here is your situation: - you can monitor device over USB or over UART, those are most basic options - you dont have UART, so that option is not available - you want to uninstall USB, so that option is also unavailable more advanced options are (you can also send message to enter bootloader mode): -...
by chegewara
Thu Mar 14, 2024 2:06 am
Forum: ESP-IDF
Topic: How to use USB-OTG as a COM device again after making it a msc host?
Replies: 8
Views: 828

Re: How to use USB-OTG as a COM device again after making it a msc host?

You can manually enter bootloader mode with EN and GPIO0 pins.
by chegewara
Thu Mar 14, 2024 2:04 am
Forum: General Discussion
Topic: OTA begin / flash erase status check
Replies: 1
Views: 373

Re: OTA begin / flash erase status check

As far as i know there is no such option, but you can choose to not erase entire partition on ota begin, just block after block during flashing (iirc). That should speed up ota start, but will slow down entire ota process.
by chegewara
Thu Mar 14, 2024 1:54 am
Forum: ESP-IDF
Topic: ESP-MQTT usage for OTA updates
Replies: 3
Views: 23416

Re: ESP-MQTT usage for OTA updates

Couple years ago ive been working with AWS-FreeRTOS, which has had support for OTA from aws. https://docs.aws.amazon.com/freertos/latest/userguide/freertos-getting-started.html Currently it seems to be deprecated, but i found this on freertos site, which i believe is worth to study: https://freertos...
by chegewara
Thu Mar 14, 2024 1:41 am
Forum: General Discussion
Topic: ESP-BLE-MESH Send menssages
Replies: 1
Views: 358

Re: ESP-BLE-MESH Send menssages

Hi, i am not that much experienced as i would like, but i can tell you this: - yes, start with vendor model - broadcast is when you send message to address 0xFFFF (all nodes) - unicast, as you already know its when you are sending to unicast address(0x0001-0x7FFF) - group when you are sending to gro...