Thinh Nguyen
5a241d7739
Only setting session username/password if it is not already set. This is to prevent failures when the broker is reconnecting without username/password
2018-10-29 13:55:09 +11:00
Richard Kojedzinszky
deeae6a230
MQTTClient: init should not overwrite global defaults
2018-09-22 14:28:31 +02:00
Nicolas
776c2992b6
Bump version
2018-07-21 21:57:51 +02:00
Nicolas
bc837c80bc
Release v0.9.4
2018-07-21 21:50:28 +02:00
Nicolas
8a0a1ad18e
bump version
2018-07-16 21:15:58 +02:00
Nicolas
ccfa6b7319
Version 0.9.3
2018-07-16 21:09:44 +02:00
Nicolas
1af9e7f99c
Merge pull request #139 from gdraynz/py37
...
python3.7 support
2018-07-16 21:06:44 +02:00
Aleksandr Mironov
0f17486e13
Pass CA params to broker's SSL context
2018-07-12 11:16:51 +03:00
Richard Kojedzinszky
44479b73b9
Handle no more reconnect case in mqtt_connected decorator
...
Fixes #140
2018-07-05 21:29:07 +02:00
Guillaume Desvé
31888f8e69
python3.7 support
2018-06-29 15:56:27 +02:00
krh
75a85d1ea4
Import InvalidHandshake from 'websockets.exceptions' not 'websockets.handshake', since websockets 5.0 no longer provides that alias.
2018-05-22 11:28:43 -07:00
Nicolas
7c8e393166
Merge pull request #114 from phooky/master
...
Correctly handle CONNECT with zero-length client_id
2018-04-29 17:30:02 +02:00
Román Cárdenas
59f9d28029
Added topic filtering Plugin
2018-03-19 10:58:56 +01:00
Román Cárdenas
42143a196c
Client authentication error fixed
2018-03-16 15:27:31 +01:00
Adam Mayer
bbcf7b3849
correctly handle CONNECT with zero-length client_id
...
Zero-length client_ids in CONNECT packets show up in the payload as empty strings, not None; the broker should generate a new id for these connections.
2018-03-14 13:21:17 -04:00
Nicolas
031580a3fc
Bump version
2018-03-07 12:09:51 +01:00
Nicolas
39cc93cfee
0.9.2 release
2018-03-07 09:52:18 +01:00
Vegard Storheil Eriksen
7df731790a
Re-raise exception from deliver_task in MQTTClient.deliver_message().
...
deliver_task will raise a ClientException to signal a connection loss.
Passing it on to the caller instead of silently ignoring it lets the
caller handle the connection loss. Exiting the function early also
avoids an IndexError when trying to pop from client_tasks.
Fixes #106
2018-02-13 23:58:48 +01:00
mi3z
47e37404fd
TLS connections can be established by default with system certificates to publish domains (for example to 'mqtts://iot.eclipse.org') - the client only requires cafiles if the broker provides self signed certificates
2017-11-22 10:40:20 +01:00
mi3z
05b86e2f1e
fixed flake8 typo
2017-11-15 11:08:14 +01:00
mi3z
86c0726133
fixed Bug Test 'test_client_connect_clean_session_false' by adding a additional variable 'client_id_is_random'. This allows to determine if a client_id is generated by the broker and therefore to disallows a client connection with the clean_session flag set to 0
2017-11-14 18:51:21 +01:00
Nicolas
059baa78bf
Merge pull request #91 from mi3z/master
...
fixed #78
2017-11-10 14:22:41 +01:00
alex
84082b1f58
Fix occasional exception while processing another exception.
2017-11-05 00:20:57 -07:00
Jan Vlcinsky
fac2c6ea52
Fix issue #95 Randomly incomplete topic name in consuming from MQTT topic.
2017-10-30 17:33:41 +01:00
mi3z
cf5472f4c9
fixed #78
...
fixed Error in zero length client id when using 3.1.1 #78
2017-10-23 16:04:26 +02:00
Nguyễn Hồng Quân
04098b7ba8
Fix the Client doc
2017-10-18 17:54:19 +07:00
Nico
810766d27f
Bump version
2017-10-12 18:57:57 +02:00
Nico
b8fc1700a3
Release
2017-10-12 18:45:34 +02:00
Guillaume Desvé
3fe4bacf02
Fix missing positional argument on 'cancel_tasks'
2017-10-10 16:19:37 +02:00
Guillaume Desvé
90a9344068
Add __slots__ attribute to the most used classes
2017-10-10 16:09:55 +02:00
Stein Magnus Jodal
ce4824bf70
flake8: Fix all F841 unused local variable warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
559c18f681
flake8: Fix all F403, F405, F821 import warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
6435e4239c
flake8: Fix all F401 unused imports warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
1b5ead2e08
flake8: Fix all E402 import warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
177bfb627c
flake8: Fix all E1xx indentation warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
ed676945b4
flake8: Fix all Wxxx whitespace and newline warnings
2017-08-07 01:23:21 +02:00
Stein Magnus Jodal
df2c9b8a43
flake8: Fix all E3xx newline warnings
2017-08-07 01:23:20 +02:00
Stein Magnus Jodal
6f4b306886
flake8: Fix all E2xx whitespace warnings
2017-08-07 01:23:20 +02:00
Stein Magnus Jodal
8d414355ed
Merge branch 'master' into transitions-0.5
2017-08-06 08:52:39 +02:00
Stein Magnus Jodal
d3a6d9d759
Support transitions >= 0.5.0
...
transitions 0.5.0 replaced MachineError with ValueError and
AttributeError for exceptions raised when transitioning the state
machine. MachineError is still available in transitions 0.5.0, so we
catch both MachineError and the relevant new exception to work with
both old and new versions of transitions.
2017-07-26 14:49:02 +02:00
Stein Magnus Jodal
a89e744a47
Change deprecated warn() to warning()
2017-07-26 14:06:17 +02:00
Trevor Joynson (trevorj)
f7d84737f9
Fix delicious exception so it is properly eaten
2017-07-06 17:37:24 -07:00
Nicolas
32720ca373
Bump version
2017-06-02 21:53:10 +02:00
Nicolas
2bdb0016d7
Release
2017-06-02 21:48:49 +02:00
Nicolas
cd58d1dabc
Fix #60
2017-06-02 21:41:17 +02:00
Nicolas
0dbef5005a
Fix #74
...
set_exception only for not done tasks.
2017-06-02 21:37:10 +02:00
Nicolas
7ff3451b94
Merge branch 'master' of https://github.com/beerfactory/hbmqtt
2017-06-02 21:17:26 +02:00
Nicolas
2c1db79127
Fix #75 .
...
Reset packet_id when > 65535.
This may lead to performance problem when there are still many in-flight messages (QOS1 or QOS 2 not yet acknowledged)
2017-06-02 21:17:05 +02:00
Guillaume Desvé
575118cc27
Remove plugin manager _fired_events listcomp
2017-05-05 17:42:04 +02:00
dansheme
605747723d
fixed issues while using non default async loop
2017-03-12 15:50:28 +02:00