Tuan PM
a5f072bcb1
Merge pull request #92 from vowstar/master
...
Adjust disconnect add timeout callback in MQTT module.
2016-02-02 13:09:12 +07:00
Rui Huang
b71b014b25
Merge pull request #3 from Deadolus/sdk_1.5.0
...
Merge Sdk 1.5.0 travis file
2016-01-25 02:12:38 +08:00
Rui Huang
1d88deab09
Merge pull request #2 from Deadolus/master
...
Adding crypto modul for esp_mqtt to work with SDK 1.5.0
2016-01-25 02:07:56 +08:00
Simon Egli
011022510b
Adding apt-get update as suggested by manual
...
Manual at: https://docs.travis-ci.com/user/installing-dependencies/
Signed-off-by: Simon Egli <simon.egli@bbv.ch>
2016-01-21 10:04:57 +01:00
Simon Egli
7bfeb6db16
Downloading newest version of SDK
...
Signed-off-by: Simon Egli <simon.egli@bbv.ch>
2016-01-21 10:00:34 +01:00
Simon Egli
249c425bac
Adding crypto modul for esp_mqtt to work with SDK 1.5.0
...
Signed-off-by: Simon Egli <simon.egli@bbv.ch>
2016-01-15 15:21:28 +01:00
Huang Rui
d2ee709744
Handle keep-alive and add make timeout working.
2016-01-01 02:30:12 +08:00
Huang Rui
ee50b6232c
Add timeout callback in MQTT module.
2016-01-01 01:25:33 +08:00
Huang Rui
1d07213b4d
Rename MQTT_ping to MQTT_Ping
2015-12-31 21:48:20 +08:00
Huang Rui
2be4be43e5
Add MQTT_DeleteClient method.
...
You can use it to safe delete MQTT connection, and free all memory.
2015-12-31 21:43:37 +08:00
Huang Rui
23635a710f
Disconnect in a more safe way.
...
Using os_post to trig the task to safe call disconnect.
Disconnect the TCP connection when execute MQTT disconnect.
2015-12-31 20:55:37 +08:00
Huang Rui
a08749fdf7
qos is not used in MQTT_Subscribe(MQTT_Client client, char topic, uint8_t qos)
...
Fix https://github.com/tuanpmt/esp_mqtt/issues/82
2015-12-31 14:47:08 +08:00
Huang Rui
3a6a6ac77a
Enable SSL
2015-12-31 14:31:33 +08:00
Huang Rui
c3d744ae94
Add debug info if platform don't support SSL due to some reason.
...
Add MQTT_ping.
2015-12-31 14:31:18 +08:00
Huang Rui
d9e6e715d5
Add mqtt_config.h to some headers need use.
...
Add default user_config.h
2015-12-31 14:25:07 +08:00
Huang Rui
83daf971d6
Rename user_config.h to mqtt_config.h
2015-12-31 14:21:59 +08:00
Huang Rui
39277ca0f5
Update MQTT config file
2015-12-31 14:21:22 +08:00
Rui Huang
29a1bd9cbd
Merge pull request #1 from frolswe/master
...
Clear whole mqtt_connection_t.
2015-12-31 14:05:00 +08:00
TuanPM
70d19cbb4d
update README for clone --recursive
2015-09-03 13:19:15 +07:00
TuanPM
2786b6f68b
change method save wifi infomation to flash
2015-09-03 13:15:02 +07:00
Tuan PM
55937fb701
update support sdk 1.3, not fully tested
2015-08-31 12:10:45 +07:00
Fredrik Olofsson
246e051ed0
Clear whole mqtt_connection_t.
2015-07-23 14:43:55 +02:00
Tuan PM
28c63ffa13
Merge pull request #61 from AxelLin/master
...
Revert "Add user_rf_pre_init() function to fix build error with SDK-1…
2015-05-30 10:47:10 +07:00
Axel Lin
9f8b8ee117
Revert "Add user_rf_pre_init() function to fix build error with SDK-1.1.0"
...
This reverts commit 5ff9766908
.
The esp-onen-sdk adds the fix for force-requiring user_rf_pre_init() [1].
So we need to drop the user_rf_pre_init function in user_main.c to prevent
multiple definition of `user_rf_pre_init' error.
[1] 4e4590de89
2015-05-29 10:55:25 +08:00
Tuan PM
42798bcba5
Merge pull request #59 from AxelLin/master
...
Add user_rf_pre_init() function to fix build error with SDK-1.1.0
2015-05-26 15:52:14 +07:00
Axel Lin
5ff9766908
Add user_rf_pre_init() function to fix build error with SDK-1.1.0
...
This patch fixes below build error with SDK-1.1.0:
esp-open-sdk/sdk/lib/libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x34c): undefined reference to `user_rf_pre_init'
According to esp_iot_sdk_v1.1.0_15_05_26 Release Note:
user_rf_pre_init has to be added in user_main.c, user can call
system_phy_set_rfoption to set configuration of RF in it.
2015-05-26 14:55:52 +08:00
Tuan PM
9f4d1508a8
Merge pull request #56 from AxelLin/master
...
Fix unsubscribe message type
2015-05-07 09:43:22 +07:00
Axel Lin
6556476624
Fix unsubscribe message type
...
Use MQTT_MSG_TYPE_UNSUBSCRIBE for unsubscribe.
2015-05-07 09:27:25 +08:00
Tuan PM
7247e3f9ff
update readme
2015-03-05 17:43:13 +07:00
Tuan PM
24a6caeb22
add travis build
2015-03-05 17:39:27 +07:00
Tuan PM
e03d539fa5
add travis build
2015-03-05 17:27:44 +07:00
Tuan PM
dbec377d1f
NULL to 0
2015-03-02 16:22:56 +07:00
Tuan PM
10851cd97d
return when os_event_t == NULL
2015-03-02 16:21:24 +07:00
Tuan PM
e6e4e3d914
add user_data to mqtt structure
2015-02-28 19:32:51 +07:00
Tuan PM
261a21db71
move config.* and wifi.* to modules folder
2015-02-16 17:22:10 +07:00
Tuan PM
10d13ed5dc
Update README.md, resolve #43
2015-02-16 11:53:12 +07:00
Tuan PM
d579c08765
cleanup makefile
2015-02-15 21:44:39 +07:00
Tuan PM
da4e128ddc
Add compilation instructions
2015-02-15 21:19:21 +07:00
TuanPM
597e078a64
change executeable attr for tools/esptool.py
2015-02-15 19:37:51 +07:00
Tuan PM
cacc260e9d
change file structure, easy to intergrated with other apps
2015-02-15 19:04:01 +07:00
Tuan PM
454f2d8bd5
Merge pull request #38 from eliabieri/master
...
Added note
2015-02-06 21:14:42 +07:00
Elia Bieri
10026b16ff
Added note
...
I added a note where you can find the BLANKER (blank.bin) file.
Maybe this helps someone!
2015-02-06 11:54:08 +01:00
Tuan PM
c5d81c0fe4
update readme
2015-02-06 09:47:01 +07:00
Tuan PM
774f5a99d4
add protocol name selection(3.11 or 3.1), defaut is v3.1, resolve #36
2015-02-06 09:41:37 +07:00
TuanPM
f3cd69d5bb
fixes some typo
2015-02-06 08:41:35 +07:00
TuanPM
ba9381c06d
remove local settings file
2015-02-02 23:24:11 +07:00
TuanPM
4c7c1fc642
correct some typo
2015-02-02 22:52:15 +07:00
Tuan PM
466e6dcf4b
remove old queue to get more space if the queue is full
2015-02-02 19:46:46 +07:00
Tuan PM
2b7be3cc8e
fixes error reconnect when lost wifi signal
2015-02-02 11:27:52 +07:00
Tuan PM
73e9c30f5c
add ICACHE_FLASH_ATTR on functions, resolve #31
2015-01-31 13:21:29 +07:00