Search found 10 matches
- Tue Feb 18, 2020 7:00 pm
- Forum: ESP-IDF
- Topic: [SOLVED] Writing OTA bootup tests in Unity
- Replies: 0
- Views: 2054
[SOLVED] Writing OTA bootup tests in Unity
Hey all, I'm starting to implement OTA updates and am wondering if it's possible to write the OTA first boot verification tests in Unity. I have been meaning to write unit tests for a while, so it seems like this is a two birds one stone type of situation. The only problem is that I don't see any fa...
- Thu Feb 13, 2020 9:37 pm
- Forum: ESP-IDF
- Topic: Multiple subprojects within one project
- Replies: 0
- Views: 2576
Multiple subprojects within one project
Hey all, I'm getting started with OTA updates and was wondering about workflows for building factory vs. production apps. Ideally I want my factory application to use a stripped-down set of the code written for my production app. In order to do this without muddling up the code with a ton of #ifdefs...
- Tue Nov 26, 2019 9:45 pm
- Forum: ESP-IDF
- Topic: BLE Provisioning failure with NimBLE stack only
- Replies: 2
- Views: 3811
BLE Provisioning failure with NimBLE stack only
Hey all, I've implemented WiFi provisioning using the WiFi Provisioning Manager component. I've tested out the SoftAP transport and am working on trying the BLE transport as well so I can compare the two experiences. Some background: I'm using the Security0 option for provisioning but may move to Se...
- Thu Nov 14, 2019 5:46 pm
- Forum: ESP-IDF
- Topic: TCPIP get/set hostname always fails
- Replies: 4
- Views: 6049
Re: TCPIP get/set hostname always fails
Sure thing
https://privatebin.net/?239d6ac0b61a402 ... GsALbqeBCt
I removed some irrelevant parts and personal log information that had nothing to do with the WiFi subsystem.
https://privatebin.net/?239d6ac0b61a402 ... GsALbqeBCt
I removed some irrelevant parts and personal log information that had nothing to do with the WiFi subsystem.
- Tue Nov 12, 2019 11:02 pm
- Forum: ESP-IDF
- Topic: TCPIP get/set hostname always fails
- Replies: 4
- Views: 6049
TCPIP get/set hostname always fails
I noticed since upgrading to ESP-IDF v4.0-beta2 from v3.2 that my calls to tcpip_adapter_{get,set}_hostname now fail. The error code for getting the hostname is ESP_ERR_TCPIP_ADAPTER_INVALID_PARAMS and for setting it is ESP_ERR_TCPIP_ADAPTER_IF_NOT_READY, though I can say with confidence that in bot...
- Mon Nov 11, 2019 10:19 pm
- Forum: ESP-IDF
- Topic: Section start and stop markers in Linker Fragments
- Replies: 3
- Views: 5939
Section start and stop markers in Linker Fragments
Hey all, My project uses some linker magic for a specific class of variables in the code in order to group them all together and iterate over them for initialization. The developer before me implemented this by inserting start and stop markers as linker symbols into the project linker script (previo...
- Tue Oct 29, 2019 10:27 pm
- Forum: ESP-IDF
- Topic: Long delay after UART transmit
- Replies: 5
- Views: 6707
Re: Long delay after UART transmit
An update: Using the built-in RS485 half-duplex mode and just inverting the RTS line when talking to the secondary endpoint seems to have solved the problem for me. By default, it's un-pinned so it can run on either CPU and its priority is 18 (for memory), so it would preempt the UART task on CPU1 i...
- Tue Oct 29, 2019 5:25 pm
- Forum: ESP-IDF
- Topic: Long delay after UART transmit
- Replies: 5
- Views: 6707
Re: Long delay after UART transmit
Hi JadElClemens, Try setting this config item to pin the LWIP TCP/IP task to core 0: https://docs.espressif.com/projects/esp-idf/en/v3.2/api-reference/kconfig.html#config-tcpip-task-affinity By default, it's un-pinned so it can run on either CPU and its priority is 18 (for memory), so it would pree...
- Tue Oct 29, 2019 12:08 am
- Forum: ESP-IDF
- Topic: Long delay after UART transmit
- Replies: 5
- Views: 6707
Re: Long delay after UART transmit
Thanks for the quick reply. Which ESP-IDF version do you have? I'm using v3.2 Do you have Wi-Fi or BT enabled at the same time? WiFi is enabled, Bluetooth is not. When you say you raised the priority "above all other tasks", how high did you raise it? I suppose I mean that I raised it above the prio...
- Mon Oct 28, 2019 9:31 pm
- Forum: ESP-IDF
- Topic: Long delay after UART transmit
- Replies: 5
- Views: 6707
Long delay after UART transmit
Hey all, I'm writing code for an ESP32 to talk to two devices over the same UART line using an RS485 multiplexing setup. Because my setup is not standard, I have been hesitant to use the IDF's built-in RS485 mode and instead have opted to manually control the TX/RX select line in my communications a...