Search found 60 matches

by axellin
Tue Nov 27, 2018 4:02 am
Forum: General Discussion
Topic: Upgrade lwIP version?
Replies: 3
Views: 1340

Upgrade lwIP version?

Hi,
Current ESP-IDF is using lwIP-v2.0.3.
However, the v2.0.x is no longer maintained by upstream.
There are many bug fixes in the latest stable relese lwip-v2.1.2.
( http://git.savannah.gnu.org/cgit/lwip.g ... ABLE-2_1_x )
Just wondering if any plan to upgrade the lwIP version?
by axellin
Tue Nov 27, 2018 3:20 am
Forum: General Discussion
Topic: Recommendations for MQTT Library with ESPIDF
Replies: 15
Views: 7551

Re: Recommendations for MQTT Library with ESPIDF

Hi @axellin, The outbox for MQTT needs to be implemented to re-send the failed packet. Currently esp-mqtt directly writes data to the socket without reading from the outbox. Then, there are no semaphore needed to protect the outbox (read/write from difference threads). I think the next release, the...
by axellin
Mon Nov 26, 2018 6:46 am
Forum: General Discussion
Topic: wifi: rx ampdu: duplicated addba request, potential compitability bug
Replies: 2
Views: 1032

wifi: rx ampdu: duplicated addba request, potential compitability bug

Testing with master tree, sometimes I got below output:
W (220437) wifi: rx ampdu: duplicated addba request, potential compitability bug
W (220438) wifi: discard, ba not setup

The device looks still working but I'm not sure if this is harmless.
by axellin
Mon Nov 26, 2018 5:19 am
Forum: General Discussion
Topic: Recommendations for MQTT Library with ESPIDF
Replies: 15
Views: 7551

Re: Recommendations for MQTT Library with ESPIDF

Since this post was originally made last year, the esp-mqtt library has been integrated into ESP-IDF. Is the esp-mqtt library thread safe? I don't find locking mechanism in the esp-mqtt library code. So I'm wondering if it is ok to call esp_mqtt_client_publish() in another task? The example code ca...
by axellin
Thu Nov 22, 2018 3:46 am
Forum: General Discussion
Topic: esp-mqtt: mqtt protocol version should be run-time configurable
Replies: 0
Views: 545

esp-mqtt: mqtt protocol version should be run-time configurable

Hi, Current implementation uses CONFIG_MQTT_PROTOCOL_311 setting to decide mqtt protocol version. However, as a mqtt client, it needs to support different versions because we don't know which version is used (or supported) by the broker. Would you consider to make it run-time configurable rather tha...
by axellin
Tue Nov 20, 2018 1:57 am
Forum: General Discussion
Topic: simple_ota_example: Firmware Upgrades Failed
Replies: 1
Views: 1216

Re: simple_ota_example: Firmware Upgrades Failed

Resolved the issue by using ip address instead of hostname as CN. (I tested with connecting a local server with ip address)
by axellin
Fri Nov 16, 2018 8:54 am
Forum: General Discussion
Topic: simple_ota_example: Firmware Upgrades Failed
Replies: 1
Views: 1216

simple_ota_example: Firmware Upgrades Failed

Hi, I'm using current master tree. I follow exactly the steps mentioned in examples/system/ota/README.md I'm sure the Common Name is exactly the same as my hostname. But I still got below error: I (5284) event: sta ip: 192.168.0.100, mask: 255.255.255.0, gw: 192.168.0.1 I (5284) simple_ota_example: ...
by axellin
Thu Nov 15, 2018 3:51 am
Forum: General Discussion
Topic: Storing a strucutre insde NVS
Replies: 7
Views: 2800

Re: Storing a strucutre insde NVS

In the app I'm finishing up, I store a struct of about 1000 bytes in NVS. Just store it as a blob, and when you retrieve it, map it to a pointer to your struct. That means update any field of a struct will update the whole blob. Just wondering if that is a recommend way to use NVS. BTW, the documen...
by axellin
Wed Nov 14, 2018 9:13 am
Forum: General Discussion
Topic: Any API to reset nvs to default setting?
Replies: 4
Views: 1375

Re: Any API to reset nvs to default setting?

Hi loboris,
Thanks for your comments, I know how to do this now.