Damn, so you think the port has only be done for Linux and not for FreeRTOS ?
I though all the development libraries were given with esp-idf, so you mean that FreeRTOS wifi stack is not given by esp-idf and I should find it somewhere else and integrate it to my project ?
Can you give me some ...
Search found 14 matches
- Wed Dec 13, 2017 12:26 pm
- Forum: General Discussion
- Topic: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
- Replies: 9
- Views: 17488
- Wed Dec 13, 2017 10:40 am
- Forum: General Discussion
- Topic: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
- Replies: 9
- Views: 17488
Re: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
Hi Gfast2,
In fact, I'm using lwIP to handle the wifi connection. I'm using the same method than for the example here : https://github.com/nkolban/esp32-snippets/blob/master/networking/mqtt/paho_mqtt_embedded_c/ESP32_Sample/main.c
My question is about low-level implementation of Timer and Network ...
In fact, I'm using lwIP to handle the wifi connection. I'm using the same method than for the example here : https://github.com/nkolban/esp32-snippets/blob/master/networking/mqtt/paho_mqtt_embedded_c/ESP32_Sample/main.c
My question is about low-level implementation of Timer and Network ...
- Tue Dec 12, 2017 7:09 pm
- Forum: General Discussion
- Topic: [FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
- Replies: 9
- Views: 17488
[FreeRTOS] How to use paho mqtt with MQTTFreeRTOS sources ?
Hi,
I'm using Kolban's esp32 port available here https://github.com/nkolban/esp32-snippets/tree/master/networking/mqtt/paho_mqtt_embedded_c
Everything compile fine and I'm able to publish into my topics on my remote MQTT server.
However after some time (around 5 minutes) I don't receive messages ...
I'm using Kolban's esp32 port available here https://github.com/nkolban/esp32-snippets/tree/master/networking/mqtt/paho_mqtt_embedded_c
Everything compile fine and I'm able to publish into my topics on my remote MQTT server.
However after some time (around 5 minutes) I don't receive messages ...
- Thu Nov 30, 2017 11:45 am
- Forum: General Discussion
- Topic: Problem connecting to wifi access point
- Replies: 3
- Views: 7051
Re: Problem connecting to wifi access point
Awesome ! That was the problem. Thanks a lot
- Wed Nov 29, 2017 6:07 pm
- Forum: General Discussion
- Topic: Problem connecting to wifi access point
- Replies: 3
- Views: 7051
Problem connecting to wifi access point
Hi guys,
I'm trying to connect to a wifi network with my ESP32 devKitC. I can connect when I use macros as ssid and password, however when I try with variables it fails even if the byte sequence is the same.
With macros
void wifi_connect()
{
int i;
if(NULL == self)
{
ERROR("Wifi was not ...
I'm trying to connect to a wifi network with my ESP32 devKitC. I can connect when I use macros as ssid and password, however when I try with variables it fails even if the byte sequence is the same.
With macros
void wifi_connect()
{
int i;
if(NULL == self)
{
ERROR("Wifi was not ...
- Tue Nov 28, 2017 1:22 pm
- Forum: General Discussion
- Topic: Error porting paho_mqtt_embedded_c client with freeRTOS on esp32 devKitC
- Replies: 4
- Views: 7022
Re: Error porting paho_mqtt_embedded_c client with freeRTOS on esp32 devKitC
Hi,
@ESP_Angus
Indeed I had to enable the mbedTLS debugging, seems I read the readme without enough attention ù_ù.
@Kolban
Yes I oppened an issue too. As proposed by Angus, wouldn't it be better to surround the line with "#ifdef CONFIG_MBEDTLS_DEBUG" "#endif" ?
Maybe there is a specific reason ...
@ESP_Angus
Indeed I had to enable the mbedTLS debugging, seems I read the readme without enough attention ù_ù.
@Kolban
Yes I oppened an issue too. As proposed by Angus, wouldn't it be better to surround the line with "#ifdef CONFIG_MBEDTLS_DEBUG" "#endif" ?
Maybe there is a specific reason ...
- Mon Nov 27, 2017 1:26 pm
- Forum: General Discussion
- Topic: Error porting paho_mqtt_embedded_c client with freeRTOS on esp32 devKitC
- Replies: 4
- Views: 7022
Error porting paho_mqtt_embedded_c client with freeRTOS on esp32 devKitC
Hi,
I'm trying to use paho_mqtt_embedded_c client on my esp32 DevKitC running freeRTOS.
I'm using Kolban's esp32 port available here https://github.com/nkolban/esp32-snippets/tree/master/networking/mqtt/paho_mqtt_embedded_c
The library compile well as a component. However when I try to use the ...
I'm trying to use paho_mqtt_embedded_c client on my esp32 DevKitC running freeRTOS.
I'm using Kolban's esp32 port available here https://github.com/nkolban/esp32-snippets/tree/master/networking/mqtt/paho_mqtt_embedded_c
The library compile well as a component. However when I try to use the ...
- Thu Jun 15, 2017 2:27 pm
- Forum: General Discussion
- Topic: [FreeRTOS] Publish task makes other task crash
- Replies: 6
- Views: 9857
Re: [FreeRTOS] Publish task makes other task crash
Why do you use the fromISR functions there, when clearly you're in a task context and not an ISR?
Because I'm stupid ^^ Basically the task was created from ISR (When I was creating it from acquisition task), it changed and I forgot to modify this....
Sorry for the useless post, everything seems ...
Because I'm stupid ^^ Basically the task was created from ISR (When I was creating it from acquisition task), it changed and I forgot to modify this....
Sorry for the useless post, everything seems ...
- Thu Jun 15, 2017 7:37 am
- Forum: General Discussion
- Topic: [FreeRTOS] Publish task makes other task crash
- Replies: 6
- Views: 9857
Re: [FreeRTOS] Publish task makes other task crash
Hi,
I don't think there is an infinite spin in my task, all my actions are inside a while(true) but as you said there is the xQueueReceiveFromISR which should block the task.
Moreover, my acquisition task has higher priority than the publish task so the publish task is preempted to let the ...
I don't think there is an infinite spin in my task, all my actions are inside a while(true) but as you said there is the xQueueReceiveFromISR which should block the task.
Moreover, my acquisition task has higher priority than the publish task so the publish task is preempted to let the ...
- Wed Jun 14, 2017 3:54 pm
- Forum: General Discussion
- Topic: [FreeRTOS] Publish task makes other task crash
- Replies: 6
- Views: 9857
Re: [FreeRTOS] Publish task makes other task crash
Thanks for your response.
I did not understand that, I thought the ISR was just the function which encapsulates the xTaskCreate. Good thing to know ^^
From what you said I changed my code to use *FromISR with queue's functions and I unlock the publish task with an event group bit.
So now I don't ...
I did not understand that, I thought the ISR was just the function which encapsulates the xTaskCreate. Good thing to know ^^
From what you said I changed my code to use *FromISR with queue's functions and I unlock the publish task with an event group bit.
So now I don't ...