]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/log
packages/p/paho-mqtt.git
9 years agoInitial debianization debian/sid
Michael Howe [Sat, 19 Dec 2015 23:46:38 +0000 (23:46 +0000)]
Initial debianization

10 years agoMerge branch '1.1' v1.1
Roger A. Light [Thu, 29 Jan 2015 22:45:58 +0000 (22:45 +0000)]
Merge branch '1.1'

Conflicts:
ChangeLog.txt

Change-Id: Ib629fe5533b132117e56c1624befd19a7909a575

11 years ago[448428] Fix possible race condition connecting with loop_start().
Roger A. Light [Sat, 1 Nov 2014 11:20:10 +0000 (11:20 +0000)]
[448428] Fix possible race condition connecting with loop_start().

If the connection in loop_start() does not complete before loop_stop()
is called the network thread never ends.

Thanks to Kees Bakker.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=448428
Change-Id: If44b313cd0e642b4bf98182d8e50c4da6a8d975c

11 years agoSimplify message states.
Roger A. Light [Tue, 16 Sep 2014 22:43:36 +0000 (23:43 +0100)]
Simplify message states.

Change-Id: Ic81bcceed68303216402ce755dbc38380174965a

11 years agoRemove message from inflight when not connected
Hmvp [Tue, 16 Sep 2014 08:34:24 +0000 (10:34 +0200)]
Remove message from inflight when not connected

Publishes with qos > 0 which are sent before a CONACK is received are still counted as inflight
even though they don't really get sent.  This means they get sent after the retry period (20 sec default)

But this won't work when max_inflight is 1 since this means no retry will get sent and we wait untill keepalive is exhausted
This then forces a reconnect and will reset stuff so messages can be sent.

Change-Id: I516a6cce8e5bbfbd3030711a80044af4e5bf6733
Signed-off-by: Hmvp <hmvp@hmvp.nl>
11 years agoConvert remaining message states.
Roger A. Light [Mon, 15 Sep 2014 13:10:04 +0000 (14:10 +0100)]
Convert remaining message states.

Change-Id: I4770c18969456ea28ef648494b0a1c9bac3bd86b

11 years agoBump version number.
Roger A. Light [Sat, 13 Sep 2014 20:25:47 +0000 (21:25 +0100)]
Bump version number.

Change-Id: I1ae219e094faa3473c06eba65e8eba0abd30d53f

11 years ago[443881] Handle exceptions from select() in client loop() function.
Roger A. Light [Sat, 13 Sep 2014 20:19:09 +0000 (21:19 +0100)]
[443881] Handle exceptions from select() in client loop() function.

Handle exceptions from select() in client loop() function. Closes #443881.
Thanks to Jeff Jasper.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443881
Change-Id: I4bbee80554917b61a0d413dc490370391a6fe2b5

11 years ago[440169] Add information on "protocol" argument.
Roger A. Light [Fri, 12 Sep 2014 21:39:24 +0000 (22:39 +0100)]
[440169] Add information on "protocol" argument.

Document the "protocol" argument to the client constructor. Closes
 #440169. Thanks to Andy Piper.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=440169
Change-Id: I46467156237235adff41eda0bf98c26bfba083bf

11 years ago[443964] Fix possible race condition when connecting with TLS.
Roger A. Light [Fri, 12 Sep 2014 20:34:30 +0000 (21:34 +0100)]
[443964] Fix possible race condition when connecting with TLS.

Fix possible race condition when connecting with TLS and publishing at
the same time, which could lead to PUBLISH data being sent before any
other messages and unencrypted. Closes #443964. Thanks to Hiram van
Paassen.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443964
Change-Id: I3945ed7d470b69fc939343fc21beffcd7315c502

11 years ago[443935] Fix reconnecting with lots of inflight messages.
Roger A. Light [Fri, 12 Sep 2014 20:13:32 +0000 (21:13 +0100)]
[443935] Fix reconnecting with lots of inflight messages.

Fix reconnecting after sending more QoS>0 messages than inflight messages is
set to, whilst connecting.  Closes #443935. Thanks to Hiram van Paassen.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443935
Change-Id: I31ddf2ffcbd6a7efa1e5b51c163d112ce3cf61ae

11 years agoMust treat 3.x and 2.7 separately.
Roger A. Light [Fri, 1 Aug 2014 09:23:42 +0000 (10:23 +0100)]
Must treat 3.x and 2.7 separately.

Change-Id: Idcea1dcd2b22b757d467b0ad5478b48a515afc73

11 years agoHandle "unicode" type payloads on Python 2.7.
Roger A. Light [Fri, 1 Aug 2014 09:08:11 +0000 (10:08 +0100)]
Handle "unicode" type payloads on Python 2.7.

Thanks to Luc Milland.

Change-Id: I1f3bf49ed3845f61cbd31773fcf11a58943f8108

11 years agoDon't attempt to encode topic to utf-8 twice.
Roger A. Light [Fri, 1 Aug 2014 09:05:38 +0000 (10:05 +0100)]
Don't attempt to encode topic to utf-8 twice.

Thanks to Luc Milland.

Change-Id: I954db79a6cf332350337c5147ac716cb3e6c4e2a

11 years ago[439277] Fix Client constructor for the case where "localhost" is unresolvable.
Roger A. Light [Mon, 28 Jul 2014 13:21:04 +0000 (14:21 +0100)]
[439277] Fix Client constructor for the case where "localhost" is unresolvable.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439277
Change-Id: I05d268e4fbaba56116ea35bc8b2dc2c7f31ca2a9

11 years ago[438484] Fix "protocol" not being used in publish.single()
Roger A. Light [Mon, 28 Jul 2014 13:16:45 +0000 (14:16 +0100)]
[438484] Fix "protocol" not being used in publish.single()

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=438484
Change-Id: I0b989335d3aad580b53222388252c6ffcc0a3899

11 years agoFurther reconnect fix.
Roger A. Light [Fri, 4 Jul 2014 11:09:51 +0000 (12:09 +0100)]
Further reconnect fix.

Change-Id: I4225b09eec7586deed80c2ddada314b647154096

11 years agoFix incorrect reconnect.
Roger A. Light [Fri, 4 Jul 2014 10:51:12 +0000 (11:51 +0100)]
Fix incorrect reconnect.

Fix incorrect reconnect that occurred if calling loop_stop() before
disconnect().

Change-Id: I50c0880b1773a0570511ed6473f81f3a6d13d4c8

11 years agoBump version numbers. v1.0
Roger A. Light [Tue, 24 Jun 2014 22:18:58 +0000 (23:18 +0100)]
Bump version numbers.

Change-Id: I661f3ef2d54c6f5a25111cb0de4d8a4c128a4c80

11 years agoMerge branch '1.0'
Roger A. Light [Tue, 17 Jun 2014 00:05:59 +0000 (01:05 +0100)]
Merge branch '1.0'

11 years agoAll strings are now correctly encoded as utf-8.
Roger A. Light [Mon, 16 Jun 2014 23:56:01 +0000 (00:56 +0100)]
All strings are now correctly encoded as utf-8.

Change-Id: I736892bb099592fc226b2ebc889169f4a149e06a

11 years agoRemove debug statement.
Roger A. Light [Mon, 16 Jun 2014 21:40:44 +0000 (22:40 +0100)]
Remove debug statement.

Change-Id: Ieaf7546aa5bb8abd480598f9ebfa9990c23f254e

11 years agoFix parsing subjectAltName for SSL connections
Hmvp [Fri, 11 Apr 2014 13:33:54 +0000 (15:33 +0200)]
Fix parsing subjectAltName for SSL connections

Host certificates that have the subjectAltName needs this to be parsed correctly when used with tls_set(cert)

Change-Id: Iacd70e81278b7cbb6eba69076fb6ec8dbcc36084
Signed-off-by: Hmvp <hmvp@hmvp.nl>
Bug: 436379

11 years agoAdd support for "session present" in CONNACK and on_connect.
Roger A. Light [Sat, 7 Jun 2014 20:00:05 +0000 (21:00 +0100)]
Add support for "session present" in CONNACK and on_connect.

Change-Id: Icbcb603f4e5f42ff2fa35fb780ba5410248c1db0

11 years agoDon't hang in loop_forever() after disconnect() when using SSL.
Roger A. Light [Wed, 4 Jun 2014 20:56:44 +0000 (21:56 +0100)]
Don't hang in loop_forever() after disconnect() when using SSL.

Bug: 436615
Change-Id: Ia1219f72e090fc8ed0cb87863c56c9ee8e713b5d

11 years agoAdd version information to paho.mqtt.__version__
Roger A. Light [Thu, 29 May 2014 20:16:41 +0000 (21:16 +0100)]
Add version information to paho.mqtt.__version__

Bug: 435112
Change-Id: Ibeafbafaa864a0c53dfa0253d2e99c74f31481b2

11 years agoNo need to release mutex here.
Roger A. Light [Tue, 20 May 2014 14:50:51 +0000 (15:50 +0100)]
No need to release mutex here.

Change-Id: I9e8d8a58d32339760ecd0e56be496e8753a38522

11 years agoFix potential lockup when publishing from on_publish callback.
Roger A. Light [Sat, 17 May 2014 19:56:10 +0000 (20:56 +0100)]
Fix potential lockup when publishing from on_publish callback.

Change-Id: I5890f79f7ecfc06be9d959456545d7733c604aa2

11 years agoRemove debug statement.
Roger A. Light [Sat, 17 May 2014 19:50:32 +0000 (20:50 +0100)]
Remove debug statement.

Change-Id: Ib32f618f95c7c1120e98db2a1a5c950050d6963e

11 years ago[434143] Default protocol is now MQTT v3.1.1.
Roger A. Light [Mon, 12 May 2014 21:35:23 +0000 (22:35 +0100)]
[434143] Default protocol is now MQTT v3.1.1.

Connecting from both client.py and publish.py will use MQTT v3.1.1 by
default.

Client will reconnect using MQTT v3.1 if a v3.1.1 connection fails due to
the incorrect protocol version number.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=434143
Change-Id: I34c4288535b99c8a4f05d92f9e3c99d1fa07b5c1

11 years agoBump version number.
Roger A. Light [Mon, 12 May 2014 19:57:08 +0000 (20:57 +0100)]
Bump version number.

11 years agoFix CONNECT packet for MQTT v3.1.1.
Roger A. Light [Mon, 12 May 2014 19:41:53 +0000 (20:41 +0100)]
Fix CONNECT packet for MQTT v3.1.1.

11 years agoAdd more details on contributing. v0.9
Roger Light [Thu, 8 May 2014 08:23:26 +0000 (09:23 +0100)]
Add more details on contributing.

Change-Id: I2e4acfecf70f9ac483559aab10349a73406b44e1

11 years agoAdd upload target that runs tests first.
Roger Light [Thu, 1 May 2014 12:14:29 +0000 (13:14 +0100)]
Add upload target that runs tests first.

Change-Id: Id5e235e166436539ed4d12b7f70c491dc09fd16d

11 years agoPUBREL fix.
Roger Light [Thu, 1 May 2014 06:22:35 +0000 (07:22 +0100)]
PUBREL fix.

Change-Id: Ic7b095c00581e2ec7dc7fc89b227a38f3491ce01

11 years agoImplement multiple callbacks for incoming messages.
Roger Light [Wed, 30 Apr 2014 22:35:23 +0000 (23:35 +0100)]
Implement multiple callbacks for incoming messages.

Change-Id: I340301dab8f9171fbb209b71e360ac0d3b114048

11 years agoSimplify on_message handling code.
Roger Light [Tue, 29 Apr 2014 23:43:06 +0000 (00:43 +0100)]
Simplify on_message handling code.

Change-Id: Id8833f29c2054baece19ad42be6c9dd4cfcacb4c

11 years agoFix topic matching edge case.
Roger Light [Mon, 28 Apr 2014 20:22:02 +0000 (21:22 +0100)]
Fix topic matching edge case.

Thanks to Tobias Assarsson.

Change-Id: If98891597ac47488a072389d483dba15cf54c520

11 years agoRemove incorrect toc entry.
Roger Light [Fri, 25 Apr 2014 12:29:13 +0000 (13:29 +0100)]
Remove incorrect toc entry.

Change-Id: I617865e37fdee3796e792ec8c1a038751971d394

11 years agoAdd a simple example.
Roger Light [Fri, 25 Apr 2014 10:49:57 +0000 (11:49 +0100)]
Add a simple example.

Change-Id: Iaadf10ab339c31da7351b792fb3b3e642c6f4bd5

11 years agoDon't distribute test files.
Roger Light [Tue, 22 Apr 2014 22:07:18 +0000 (23:07 +0100)]
Don't distribute test files.

Change-Id: I9bfb4f6abfde536f57e6a49adb23965beb157187

11 years agoAdd complete documentation to README.
Roger Light [Tue, 22 Apr 2014 17:15:03 +0000 (18:15 +0100)]
Add complete documentation to README.

Resolves #431228.

Change-Id: Ie2f2e9d744d11cc1ab687e14fe84d0cb4fdb0061

11 years agoConvert README to reStructuredText for PyPi.
Roger Light [Tue, 22 Apr 2014 11:51:17 +0000 (12:51 +0100)]
Convert README to reStructuredText for PyPi.

Change-Id: I060fa15a7afb6b7bc97e067dffcf7ea9c13ab923

11 years agoUpdate in-client version number.
Roger Light [Mon, 21 Apr 2014 22:38:12 +0000 (23:38 +0100)]
Update in-client version number.

Change-Id: I5445a4b2677f39dd6f5873f4d740abd4fa9a6665

11 years agoVersion number bump.
Roger Light [Mon, 21 Apr 2014 22:17:54 +0000 (23:17 +0100)]
Version number bump.

Change-Id: I68b728962911ff05847914fa6393988fe5ad1960

11 years agoMANIFEST.in for setup.py sdist.
Roger Light [Mon, 21 Apr 2014 22:08:24 +0000 (23:08 +0100)]
MANIFEST.in for setup.py sdist.

Change-Id: I1e19955387f6bb6b8633628135dbd24fd5d9a199

11 years ago/usr/bin/python -> /usr/bin/env python
Roger Light [Mon, 21 Apr 2014 15:14:55 +0000 (16:14 +0100)]
/usr/bin/python -> /usr/bin/env python

Change-Id: Ib43b19c660c2724834014219929d1d6281518e34

11 years agoAllow separate Python2/Python3 testing.
Roger Light [Mon, 21 Apr 2014 15:08:33 +0000 (16:08 +0100)]
Allow separate Python2/Python3 testing.

Change-Id: Iaf3a42ba72698fc1d32c7296b428e5fefcb4cc20

11 years agoFix socket error handling on Windows.
Roger Light [Wed, 16 Apr 2014 19:52:29 +0000 (20:52 +0100)]
Fix socket error handling on Windows.

Simplify overall socket error handling.

Fixes bug #431698.

Change-Id: Ia291959b8abb701355d651c4ace442d03c3b0808

11 years agoAdd CONTRIBUTING.md.
Roger Light [Thu, 27 Mar 2014 12:33:15 +0000 (12:33 +0000)]
Add CONTRIBUTING.md.

Change-Id: If8603856c6798c6ecac2ede2631fda5fee56da63

11 years agoFix topic matching for $ topics.
Roger Light [Sun, 16 Mar 2014 23:21:00 +0000 (23:21 +0000)]
Fix topic matching for $ topics.

Change-Id: I7a3f73037cc11333316cfd8503aad23ce70e8661

11 years agoFix socketpair read/write when publishing large messages.
Roger Light [Sun, 16 Mar 2014 20:37:38 +0000 (20:37 +0000)]
Fix socketpair read/write when publishing large messages.

Change-Id: I376a0df26196a7c377652c101bc13381008190af

11 years agoStart of MQTT v3.1.1 support.
Roger Light [Tue, 18 Feb 2014 23:32:19 +0000 (23:32 +0000)]
Start of MQTT v3.1.1 support.

Change-Id: Id0a08ab798a9675ce18da4962d56172522248b5b

11 years agoFix ssl tests.
Roger Light [Tue, 18 Feb 2014 23:31:06 +0000 (23:31 +0000)]
Fix ssl tests.

Change-Id: I73e9ae227c87b0b49a49853c964f9b0338eed9d1

11 years agoAdd paho.mqtt.publish.multiple() helper function.
Roger Light [Fri, 14 Feb 2014 17:58:55 +0000 (17:58 +0000)]
Add paho.mqtt.publish.multiple() helper function.

Change-Id: Ic6a39e870f6ff1db89c78096f8629397bfeb08da

11 years agoFix import typo.
Roger Light [Wed, 12 Feb 2014 21:41:35 +0000 (21:41 +0000)]
Fix import typo.

Change-Id: I1f077cdf41e32e08d69675d0f9afc23557f57fdc

11 years agoBreak out of select() on publish()/subscribe() etc.
Roger Light [Wed, 5 Feb 2014 20:15:01 +0000 (20:15 +0000)]
Break out of select() on publish()/subscribe() etc.

When a call to publish()/subscribe()/unsubscribe()/disconnect() is made
and the client is using the threaded mode, the outgoing command will be
delayed by 0.5 seconds on average. This commit breaks out of select() to
remove the delay.

Change-Id: I7a669604c767abb0bcc399bdf1fe3b82c7ef9539

11 years agoBump version.
Roger Light [Tue, 4 Feb 2014 18:16:45 +0000 (18:16 +0000)]
Bump version.

Change-Id: I486af57fdc89d14b2110f2900c498c7820bf7e2b

11 years agoRemove irrelevant license file.
Roger Light [Tue, 4 Feb 2014 18:03:44 +0000 (18:03 +0000)]
Remove irrelevant license file.

Change-Id: I47d37a958361508d251084bf99b3eee22e044fff

11 years agoAdd publish helper module.
Roger Light [Tue, 4 Feb 2014 18:02:32 +0000 (18:02 +0000)]
Add publish helper module.

publish.py allows a single message to be cleanly sent using one line of
code.

Change-Id: I8bc1ac838bcece4b99f5ff78e1c3fb74ac4710e4

11 years agoClose connection after sending a DISCONNECT.
Roger Light [Tue, 4 Feb 2014 17:59:03 +0000 (17:59 +0000)]
Close connection after sending a DISCONNECT.

Change-Id: I8b500c721754f2868e55c2d89abffcbbc7ccc95d

11 years agoAdd about.html.
Roger Light [Thu, 23 Jan 2014 14:39:36 +0000 (14:39 +0000)]
Add about.html.

11 years agoAlways return tuple in un/subscribe().
Roger Light [Tue, 31 Dec 2013 22:37:43 +0000 (22:37 +0000)]
Always return tuple in un/subscribe().

11 years agoUse loop_forever() in example.
Roger Light [Tue, 31 Dec 2013 22:37:18 +0000 (22:37 +0000)]
Use loop_forever() in example.

11 years agoFix typo.
Roger Light [Tue, 31 Dec 2013 21:39:39 +0000 (21:39 +0000)]
Fix typo.

Thanks to Jan Nijs.

11 years agoCompatibility class for porting from mosquitto.py.
Roger Light [Sat, 21 Dec 2013 21:39:11 +0000 (21:39 +0000)]
Compatibility class for porting from mosquitto.py.

11 years agoChange package name and drop version number.
Roger Light [Sat, 21 Dec 2013 20:01:24 +0000 (20:01 +0000)]
Change package name and drop version number.

Ready for uploading to pypi.

11 years agoSeparate in/out message queues.
Roger Light [Fri, 20 Dec 2013 22:44:30 +0000 (22:44 +0000)]
Separate in/out message queues.

11 years agoUse dict instead of MQTTPacket.
Roger Light [Sun, 8 Dec 2013 22:20:27 +0000 (22:20 +0000)]
Use dict instead of MQTTPacket.

11 years agoUse dict instead of MQTTInPacket.
Roger Light [Sun, 8 Dec 2013 22:11:11 +0000 (22:11 +0000)]
Use dict instead of MQTTInPacket.

11 years agoFix typo from MOSQ porting.
Roger Light [Sat, 7 Dec 2013 23:50:42 +0000 (23:50 +0000)]
Fix typo from MOSQ porting.

11 years agoHandle null will payloads correctly when connecting.
Roger Light [Sat, 7 Dec 2013 23:50:03 +0000 (23:50 +0000)]
Handle null will payloads correctly when connecting.

11 years agoFix topic comparison.
Roger Light [Sat, 7 Dec 2013 23:43:45 +0000 (23:43 +0000)]
Fix topic comparison.

11 years agoBlock in loop_stop() until all messages are sent.
Roger Light [Sat, 7 Dec 2013 23:40:01 +0000 (23:40 +0000)]
Block in loop_stop() until all messages are sent.

11 years agoTopics are no longer normalised.
Roger Light [Sat, 7 Dec 2013 23:34:59 +0000 (23:34 +0000)]
Topics are no longer normalised.

11 years agopep8 fixes.
Roger Light [Sat, 7 Dec 2013 23:33:20 +0000 (23:33 +0000)]
pep8 fixes.

11 years agoDon't fail reconnecting when broker is unavailable.
Roger Light [Sat, 7 Dec 2013 23:24:48 +0000 (23:24 +0000)]
Don't fail reconnecting when broker is unavailable.

11 years agoRecord version number in code.
Roger Light [Sat, 7 Dec 2013 23:23:31 +0000 (23:23 +0000)]
Record version number in code.

11 years agoHandle EAGAIN on Windows.
Roger Light [Sat, 7 Dec 2013 23:21:53 +0000 (23:21 +0000)]
Handle EAGAIN on Windows.

11 years agoFix TLS subjectAltName verification.
Roger Light [Sat, 7 Dec 2013 23:20:08 +0000 (23:20 +0000)]
Fix TLS subjectAltName verification.

11 years agoClose socket after sending DISCONNECT.
Roger Light [Sat, 7 Dec 2013 22:55:00 +0000 (22:55 +0000)]
Close socket after sending DISCONNECT.

11 years agoAdd support for un/subscribing to multiple topics.
Roger Light [Sat, 7 Dec 2013 22:47:19 +0000 (22:47 +0000)]
Add support for un/subscribing to multiple topics.

11 years agoFix version check logic.
Roger Light [Sat, 7 Dec 2013 22:36:56 +0000 (22:36 +0000)]
Fix version check logic.

11 years agoEnable loading without ssl import
Jan-Piet Mens [Wed, 27 Nov 2013 20:51:46 +0000 (21:51 +0100)]
Enable loading without ssl import
   Until now, an `import mosquitto' fails on platforms without ssl.
   This patch allows client.py to be used in spite of not being
   able to import ssl; If a client attempts to use the tls_()
   functions, an error is raised.

Signed-off-by: Jan-Piet Mens <jpmens@gmail.com>
11 years agoAdd support for DNS SRV records
Jan-Piet Mens [Wed, 13 Nov 2013 10:59:06 +0000 (11:59 +0100)]
Add support for DNS SRV records

adds preliminary support for DNS SRV records in a new
function connect_srv(domain=None). If domain is None
a lookup on the domain of the host is attempted. Otherwise
domain is a DNS domain name to query for the SRV records.
change service to IANA-assigned

Signed-off-by: Jan-Piet Mens <jpmens@gmail.com>
11 years agoFix support for Python 2.6, 3.0, 3.1.
Roger Light [Mon, 26 Aug 2013 20:13:46 +0000 (21:13 +0100)]
Fix support for Python 2.6, 3.0, 3.1.

11 years agoImprove handling of disconnect() with threaded mode.
Roger Light [Mon, 26 Aug 2013 19:55:59 +0000 (20:55 +0100)]
Improve handling of disconnect() with threaded mode.

11 years agoImplement SSL hostname verification.
Roger Light [Mon, 29 Jul 2013 19:52:01 +0000 (20:52 +0100)]
Implement SSL hostname verification.

11 years agoFix QoS 2 reconnect handling.
Roger Light [Mon, 29 Jul 2013 18:40:52 +0000 (19:40 +0100)]
Fix QoS 2 reconnect handling.

11 years agoRemove old .hgtags file.
Roger Light [Mon, 24 Jun 2013 20:11:46 +0000 (21:11 +0100)]
Remove old .hgtags file.

11 years agoAdd example of using the client in a class.
Roger Light [Mon, 24 Jun 2013 20:10:03 +0000 (21:10 +0100)]
Add example of using the client in a class.

11 years agoExample program to clear retained topic trees.
Roger Light [Sat, 22 Jun 2013 22:18:38 +0000 (23:18 +0100)]
Example program to clear retained topic trees.

11 years agoOnly modify sys.path if paho.mqtt.client not found.
Roger Light [Sat, 22 Jun 2013 22:18:10 +0000 (23:18 +0100)]
Only modify sys.path if paho.mqtt.client not found.

11 years agoHandle will_payload==None.
Roger Light [Sat, 22 Jun 2013 21:40:00 +0000 (22:40 +0100)]
Handle will_payload==None.

11 years agoImplement inflight message handling.
Roger Light [Sat, 22 Jun 2013 21:38:49 +0000 (22:38 +0100)]
Implement inflight message handling.

11 years agoAdd support for binding client connections to a local interface.
Roger Light [Sat, 22 Jun 2013 21:18:37 +0000 (22:18 +0100)]
Add support for binding client connections to a local interface.

11 years agoPrint retain as int not bool.
Roger Light [Sat, 22 Jun 2013 21:15:17 +0000 (22:15 +0100)]
Print retain as int not bool.

11 years agoAuto generate client id if it is None as well as "".
Roger Light [Sat, 22 Jun 2013 21:11:47 +0000 (22:11 +0100)]
Auto generate client id if it is None as well as "".

11 years agoUse loop_forever() in _thread_main().
Roger Light [Sat, 22 Jun 2013 21:10:30 +0000 (22:10 +0100)]
Use loop_forever() in _thread_main().

11 years agoMatch version number to other Paho modules.
Roger Light [Sat, 22 Jun 2013 21:00:09 +0000 (22:00 +0100)]
Match version number to other Paho modules.