27 Commits

Author SHA1 Message Date
16c2dedac9 chore(mqtt): modify default mqtt
IBM MQTT will be removed at v3.4.
2019-12-13 10:07:36 +08:00
19529e4f35 feat(esp-wolfssl): add esp-wolfssl component
It is from original component "ssl".
2019-11-29 14:08:46 +08:00
5f2b5eafcf feat(mbedtls): modify code to support ESP8266
It is that maybe less modification working on the components is better, so I just modified the platform
code of AES, SHA and so on.

ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part
of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5.

ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
2019-10-10 13:39:08 +08:00
56ab9ddc9e feat(make): remove submodule declare for using real submodule later 2019-09-18 13:58:08 +08:00
114d2b5b86 feature(script): update compiling script for new make and cmake 2019-08-02 14:02:45 +08:00
1b53ed325c docs(mqtt): add "recommended" to Kconfig to tell users that IBM-MQTT will be removed at v4.0 2019-07-23 15:15:25 +08:00
af0fcc0492 fix(wifi): fix compatibility issues with AP which configured to 11n only 2019-06-14 11:06:39 +08:00
2f74b409f7 fix(mqtt): Fix a bug of MQTT when disable WS or WSS 2019-06-10 09:26:04 +08:00
cca13e0f99 feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
2019-05-16 16:22:11 +08:00
04ee11ee53 feat(mqtt): Add esp-mqtt
Commit ID: 13018449

Add global "mqtt" to manage both "ESP-MQTT" and "IBM-MQTT". Using select the target MQTT to using like selecting SSL.
2019-03-22 16:55:16 +08:00
e43c3fdf67 bugfix/compilation_warnings: Fixes minor compilation warnings
Fixes minor compilation warnings in ADC and MQTTFreeRTOS.
2019-02-23 00:38:07 +05:30
acd0f23d4d Merge branch 'bugfix/fix_mqtt_high_thoughtput_failed' into 'master'
fix: high thoughput(payload>10KB, continuous send) causes to send failed

See merge request sdk/ESP8266_RTOS_SDK!694
2019-01-14 11:29:11 +08:00
d787a26f41 fix: mqtt recv cycle feed watchdog when cycle interval is 0
Send cycle and recv cycle share one mutex,
For increasing mqtt thoughtput, set receive cycle to 0,
mqtt recv cycle feed watchdog when cycle interval=0
2019-01-08 13:35:20 +08:00
87421bfe92 fix: high thoughput(payload>10KB) cause send failed
1. socket would block at send(), return -1 when set MSG_DONTWAIT
2. changed to ~MSG_DONTWAIT, send() will block until all payload send over
3. recv() should keep MSG_DONTWAIT attribute, otherwise will lead to low thoughtput
2019-01-03 11:47:46 +08:00
ddb9e23b6e feat: refactor mqtt feature
1. add all of mqtt configuration to make-menuconfig
2. fix taskYIELD caused low thouhtput
3. fix block at socket select
4. fix mqtt ping timeout feature
5. fix MQTTPublish/MQTTConnect return -1
6. format code
2018-12-21 19:39:12 +08:00
c4faded08f feat(examples): remove the use of user_rf_cal_sector_set in examples
rf cal data now stored in nvs if needed
2018-07-09 17:16:53 +08:00
656078b270 fix(mqtt): Small fixes and upgrade.
o Upgrading to latest upstream git version(29ab2aa). Mostly
  updating FreeRTOS types.
o Adding `MQTTPacket_msgTypesToString` for debugging.
o Adding `taskYIELD` in `MutexUnlock`. This was required for my
  sending thread to be able to get in between calls to `cycle` in
  `MQTTRun`.
o Using CPPFLAGS to control which platform include to use. Make
  the code closed to upstream's version.
o Replacing the few remaining tabs with spaces.

Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/203
2018-06-02 21:16:37 +08:00
6c1765ff97 fix(mqtt): Fix warning in mqtt 2018-05-31 16:01:44 +08:00
b9922f5116 fix: Fix warning while esp_libc update 2018-05-24 14:47:14 +08:00
f82e9be787 fix: Fixing lots of compilation warnings
- fix(esp8266):
  - Adding includes for missing symbols.
  - Removing unused variables.
  - Skip unsupported packing pragmas.
  - Add rom_functions.h for symbols that come from the ESP ROM. Add attributes on
ets_printf so GCC will check the syntax of the formatting string and types of
the arguments.
  - Add ETS_GPIO_INTR_EN(DIS)ABLE macro.
  - Use gpio_output_conf instead of gpio_output_set.

- fix(freertos):
  - Define functions that are useful.
  - Use correct printf symbols when printing.

- fix(lwip):
  - Ignore the warning in sntp.

- fix(mqtt):
  - `xTicksToWait` is unsigned, can't check for less than zero. Remove
unused variables.

- fix(newlib):
  - `_free_r()` returns `void`, not `void *`.
  - Adding includes for missing symbols.

- fix(ssl):
  - Make sure functions always return a value.

Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/188
2018-05-23 14:52:26 +08:00
1d7f85809a feat(mqtt): Restructure mqtt folder as default paho structure 2018-05-20 21:28:44 +08:00
96c273895b feat: Removing executable file mode for code most files
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/186
2018-05-20 20:39:38 +08:00
679aec0164 feat(mqtt): Add cmake script 2018-05-04 15:05:43 +08:00
1125d9f157 fix(ssl): Only enable MQTT(SSL) and nopoll when using mbedtls 2018-04-12 19:25:59 +08:00
1570a1f59b feat(example): Modify mqtt example for new make 2018-04-09 17:16:53 +08:00
212347a12a feat(mqtt): Add component.mk for mqtt 2018-04-04 19:38:14 +08:00
98472fb104 feat(mqtt): Move mqtt to components 2018-04-04 19:36:47 +08:00