Commit Graph

352 Commits

Author SHA1 Message Date
Tuan PM
fa2f6fa784 Merge pull request #11 from avitex/master
Add Freertos headers
2018-02-08 15:47:26 +07:00
avitex
1cd2223086 Add freertos headers 2017-08-25 19:20:36 +10:00
Tuan PM
2967332b95 remove Kconfig 2017-08-09 19:34:02 +08:00
Tuan PM
9fb3ca3ae3 Merge pull request #10 from StudioSophisti/master
improved disconnect/reconnect cycle
2017-08-09 19:33:33 +08:00
Tijn Kooijmans
559c977dda removed newline in publish info log 2017-07-28 10:03:21 +02:00
Tijn Kooijmans
e2231aa020 fixed dis/re-connect when internet connection fails 2017-07-28 09:36:38 +02:00
Tijn Kooijmans
6104cb9365 Revert "Revert "Revert "utilizing pingreq to check if server is still reachable"""
This reverts commit e0617af883.
2017-07-26 14:55:26 +02:00
Tijn Kooijmans
e0617af883 Revert "Revert "utilizing pingreq to check if server is still reachable""
This reverts commit 85e2ed9eee.
2017-07-26 14:47:01 +02:00
Tijn Kooijmans
ba68cf7ed8 fixed memory leak in sending queue 2017-07-26 14:24:52 +02:00
Tijn Kooijmans
85e2ed9eee Revert "utilizing pingreq to check if server is still reachable"
This reverts commit f49ecd1b92.
2017-07-26 14:22:42 +02:00
Tijn Kooijmans
f49ecd1b92 utilizing pingreq to check if server is still reachable 2017-07-26 13:46:34 +02:00
Tijn Kooijmans
b5761d5312 fixed memory leak in ringbuffer after destroying client 2017-07-24 15:34:00 +02:00
Tijn Kooijmans
30f20e19bb fixed stopping of mqtt task 2017-07-24 15:19:44 +02:00
Tijn Kooijmans
9f907bbb30 added termination flag to stop mqtt client 2017-07-23 21:54:40 +02:00
Tijn Kooijmans
0d888bb101 added auto-reconnect option to settings 2017-07-23 21:31:33 +02:00
Tijn Kooijmans
65d91f3908 implemented disconnected callback 2017-07-23 21:28:23 +02:00
Tuan PM
9822cb2694 Merge pull request #9 from StudioSophisti/master
fixed compiler errors for SSL mode
2017-07-23 22:45:43 +08:00
Tijn Kooijmans
f4fd2864ee added more logging on connection failures 2017-07-22 14:43:50 +02:00
Tijn Kooijmans
fa087cb2fe implemented support for non-string type last will messages 2017-07-21 21:39:24 +02:00
Tijn Kooijmans
be91ed4a2c added mqtt unsubscribe function 2017-07-21 21:31:04 +02:00
Tijn Kooijmans
85b37ee92b fixed compiler errors for SSL mode 2017-07-21 21:23:41 +02:00
Tuan PM
fb70e12c6a Merge pull request #8 from jedi7/master
Add const in funtions arguments
2017-05-19 23:32:40 +07:00
jarek
14bfacfac0 Add error checks for write/read
It fixes loop lock, when read receives for example ECONNRESET
2017-05-18 13:24:20 +02:00
jarek
76d49e085d rem unneeded ret variable
int ret is not needed, statemet can be simplified
2017-05-14 22:53:53 +02:00
jarek
057d8d925f Merge branch 'jnwatts-espnode/master' 2017-05-14 22:40:28 +02:00
jarek
7da9e28a86 Merge branch 'espnode/master' of https://github.com/jnwatts/espmqtt into jnwatts-espnode/master 2017-05-14 22:38:36 +02:00
jarek
629dba3c23 Merge branch 'alwint3r-fix-typo-remove-deprecation' 2017-05-14 21:40:27 +02:00
jarek
5e29ede550 Merge branch 'fix-typo-remove-deprecation' of https://github.com/alwint3r/espmqtt into alwint3r-fix-typo-remove-deprecation 2017-05-14 21:40:01 +02:00
jarek
6f6b55a254 Add const in funtions arguments
Added const to fce mqtt_subscribe and mqtt_publish
2017-05-14 20:04:22 +02:00
Tuan PM
29752ab119 Merge pull request #6 from tidyjiang8/master
fix bug about PUBCOMP
2017-04-30 22:08:58 +07:00
Tidy Jiang
2049f2d177 fix bug about PUBCOMP 2017-04-30 22:26:05 +08:00
Alwin Arrasyid
4d89598338 Fix typo in header file and remove deprecation message in component.mk file 2017-02-25 16:35:02 +07:00
Josh Watts
8d1e6ec202 Allow user to provide their own low level I/O
If not sepcified, will fall back to library provided TCP and optional SSL
2017-02-18 19:42:31 -05:00
Josh Watts
70322b5a59 Replace void* with specific types 2017-02-18 19:06:18 -05:00
Josh Watts
ec8a673c3f Add missing struct names 2017-02-18 18:59:11 -05:00
Josh Watts
586323c608 Update to match esp-idf style changes 2017-02-16 19:45:59 -05:00
Tuan PM
510dd21158 add msg_len 2017-02-15 13:16:44 +07:00
Tuan PM
b230961b4b Merge branch 'master' of https://github.com/tuanpmt/espmqtt 2017-02-15 13:03:56 +07:00
Tuan PM
c3eada3281 detect buffer full (ringbuf and queue) 2017-02-15 13:03:07 +07:00
Tuan PM
8a6488229e Merge pull request #3 from RonnyA/SSL
Committer: Ronny Hansen <ronnyhan@gmail.com>
2016-12-28 02:37:23 -06:00
Ronny Hansen
5a931e2fa3 Committer: Ronny Hansen <ronnyhan@gmail.com>
On branch SSL
 Changes to be committed:
	modified:   include/mqtt.h
	modified:   mqtt.c

Implemented support for SSL/TLS. Uses config setting "CONFIG_MQTT_SECURITY_ON" to enable this feature.
Breaking changes on client_connect() interface to support SSL, but shouldnt be an issue as this is an
internal interface
2016-12-28 01:57:17 +01:00
Tuan PM
c8687d04e4 Correct resolve_dns typo, resolved #1 2016-09-23 22:07:46 +07:00
Tuan PM
535ab44caf change CFLAGS correct with idf 2016-09-16 15:19:55 +07:00
Tuan PM
275184b28d update to lasted idf 2016-09-13 00:19:00 +07:00
Tuan PM
ba966c7a9a Initial release 2016-09-12 21:15:28 +07:00
Tuan PM
d22b7d7ada -add queue
- add ping timer
- add subscribe function
2016-09-12 17:05:28 +07:00
Tuan PM
5474489515 Add sample project link to README 2016-09-12 13:27:35 +07:00
Tuan PM
526109fd37 Resolve conenct issues with ip 2016-09-12 13:06:48 +07:00
Tuan PM
eb1595f1e8 Add mqtt connect msg 2016-09-11 21:42:34 +07:00
Tuan PM
89479c5734 Change to Apache license 2016-09-11 10:16:33 +07:00