Search found 22 matches

by fmuller-pi
Sat Jul 27, 2019 12:55 am
Forum: ESP8266 SDK
Topic: MQTT keep alive dies when not publishing
Replies: 1
Views: 1455

Re: MQTT keep alive dies when not publishing

This issue was actually linked to the problem described here: https://bbs.espressif.com/viewtopic.php?f=7&t=27609 The all MQTTRun task was just broken, not ack the PINGRESP coming from the Cloud properly and therefore leading to the Cloud closing the connection for lack of keep-alive pinging... ...
by fmuller-pi
Sat Jul 27, 2019 12:52 am
Forum: ESP8266 SDK
Topic: Only receiving messages from MQTTSubscribe when next MQTTPublish is happening
Replies: 2
Views: 520

Re: Only receiving messages from MQTTSubscribe when next MQTTPublish is happening

It has been many months but since no one never answered, I'm going to explain what was the problem and give my solution to it. NOTE: This is using the ESP8266_RTOS_SDK v3.1 Basically, the problem laid in the fact that I was open my MQTT bridge with an SSL connection. The example from Espressif works...
by fmuller-pi
Thu Apr 18, 2019 2:17 am
Forum: ESP8266 SDK
Topic: Only receiving messages from MQTTSubscribe when next MQTTPublish is happening
Replies: 2
Views: 520

Re: Only receiving messages from MQTTSubscribe when next MQTTPublish is happening

Anyone having a suggestion on this? I looked in there SDK, and to me, when looking at the function cycle() in the MQTTCLient.c file, it feels like there are only processing delivered MQTT messages when the switch case PUBLISH happens... Which would validate the behaviour I am observing here. Am I ri...
by fmuller-pi
Thu Apr 11, 2019 9:07 am
Forum: ESP8266 SDK
Topic: Only receiving messages from MQTTSubscribe when next MQTTPublish is happening
Replies: 2
Views: 520

Only receiving messages from MQTTSubscribe when next MQTTPublish is happening

Hi, I am using an MQTT connection to communicate with my Cloud. Everything works pretty well I would say, except for the messages coming from the Cloud to my ESP. After I connect successfully to the Cloud with MQTT, I do a MQTTSubscribe (where I pass my message handler for incoming messages from the...
by fmuller-pi
Mon Mar 18, 2019 2:30 am
Forum: ESP8266 SDK
Topic: Need help with spi_master_trans()
Replies: 0
Views: 1476

Need help with spi_master_trans()

Hi, I am working with the ESP8266_RTOS_SDK v3.1 and using the HSPI to communicate between the ESP8266 and another chip on my board (it's an NXP chip that is using EDMA). I am using my ESP as the master for SPI transfer, and I am trying to send a buffer tx containing 64 bytes and receive at the same ...
by fmuller-pi
Tue Mar 12, 2019 5:40 am
Forum: ESP8266 SDK
Topic: MQTT keep alive dies when not publishing
Replies: 1
Views: 1455

MQTT keep alive dies when not publishing

Hi, I am facing an issue with my MQTT connection where my Google Cloud tells me that there is no more connection with my device because there was no keep alive when I don't publish anything for a while... Also, after I subscribed successfully to my config, the config is only sent down to my device i...
by fmuller-pi
Thu Feb 28, 2019 3:39 am
Forum: ESP8266 SDK
Topic: How to do a secure OTA?
Replies: 3
Views: 874

Re: How to do a secure OTA?

Thanks for the help Agent! At that point, I am still trying to resolve my issue. I am trying to create a secure connection following the example in Openssl_Client, but so far I have not been able to connect successfully to my google cloud bucket... One of the first issues I am bumping into is that a...
by fmuller-pi
Mon Feb 25, 2019 8:29 am
Forum: ESP8266 SDK
Topic: How to do a secure OTA?
Replies: 3
Views: 874

Re: How to do a secure OTA?

Anyone?? I have looked at the example of ota https for the ESP32, but it doesn't seem easy to port over to the ESP8266 RTOS SDK because there are lots and lots of differences between the 2 SDKs... I wish Espressif had implemented a HTTPS for ota on the ESP8266..... Anyone has done it before though??
by fmuller-pi
Mon Feb 25, 2019 12:49 am
Forum: ESP8266 SDK
Topic: How to add cURL library to ESP8266_RTOS_SDK project?
Replies: 0
Views: 1411

How to add cURL library to ESP8266_RTOS_SDK project?

Hi,

I would like to use the curl api, but I don't know how to add the library to my project so it doesn't complain when I include the header files of that library to my project.
Does anyone know how to add a third party library to an ESP8266_RTOS_SDK project properly?

Thanks

Go to advanced search