11 Commits

Author SHA1 Message Date
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