Roger A. Light
34e7da426c
Use test helper for importing modules.
2018-11-27 11:26:21 +00:00
Roger A. Light
54db895cb3
Rename clean_session to clean_start for v5.
2018-11-27 10:02:10 +00:00
Roger A. Light
c31aae25a8
Fix v5 tests with no CONNECT properties.
2018-11-27 10:01:56 +00:00
Roger A. Light
1241f68ff5
Macro update
2018-11-27 09:58:39 +00:00
Roger A. Light
3647dc357a
Test for retain_available=false.
2018-11-22 21:32:49 +00:00
Roger A. Light
0123ff1efe
Rename *_with_properties() -> *_v5().
2018-11-22 18:55:04 +00:00
Roger Light
17d213b79a
Declare lack of support for shared subs and sub IDs.
2018-11-22 18:54:12 +00:00
Roger Light
a9d19d0911
Use MQTT 5 reason strings where appropriate in clients.
2018-11-22 18:22:31 +00:00
Roger Light
9560c5bac7
Add retain_available support.
2018-11-22 18:21:40 +00:00
Roger Light
36e8659762
Only keep reading from stdin if we are connected.
2018-11-22 18:14:12 +00:00
Roger Light
f809ecbcbe
Add DISCONNECT handling to library.
2018-11-22 18:13:18 +00:00
Roger Light
236e967161
Pass properties when disconnecting clients.
2018-11-22 18:09:31 +00:00
Roger Light
47129e395e
Use v5 callback in pub client.
2018-11-22 17:34:42 +00:00
Roger Light
6ca746695f
Pass db to send__connack() to give it access to config.
2018-11-22 17:32:43 +00:00
Roger Light
f7dc097f82
Move client disconnect code to own function.
2018-11-22 17:31:17 +00:00
Roger Light
3cb8a52ef3
Add reason code to mosquitto_disconnect_with_properties()
2018-11-22 16:56:17 +00:00
Roger Light
14c2f528cf
Add reason code to send__disconnect().
2018-11-22 16:52:39 +00:00
Roger A. Light
85d9cfa2fa
Fix pub client stdin mode.
2018-11-22 14:43:35 +00:00
Roger A. Light
d64ce2e242
Make mosquitto_reason_string public.
2018-11-22 10:17:16 +00:00
Roger A. Light
dd158ffeb3
Split common publish code into separate file.
2018-11-22 09:02:27 +00:00
Roger A. Light
29cf4266d9
Remove old tests from ptest.py.
2018-11-20 23:00:02 +00:00
Roger A. Light
bb745b3308
Client prop test for format-payload-indicator.
2018-11-20 23:00:02 +00:00
Roger A. Light
22f284671d
Request-response test with/without correlation data
2018-11-20 18:42:21 +00:00
Roger A. Light
94631ae68b
Don't free properties any more, we use them.
2018-11-20 17:54:44 +00:00
Roger A. Light
59b3fdfdf8
Add client property value reading functions.
2018-11-20 17:54:26 +00:00
Roger A. Light
158189393e
Add v5 client callbacks.
2018-11-20 14:36:18 +00:00
Roger A. Light
eda150f953
Add cunit dependency for travis.
2018-11-08 16:10:18 +00:00
Roger A. Light
f77c1ca91b
private struct mqtt5__property -> public mosquitto_property.
2018-11-01 23:50:54 +00:00
Roger A. Light
80f526a5e5
Message Expiry Interval support.
2018-11-01 21:51:35 +00:00
Roger A. Light
f9e0fa246a
Validate properties coming into client library.
2018-11-01 18:53:06 +00:00
Roger A. Light
4ca83c1768
Fix leak when handling publish props.
2018-11-01 16:50:23 +00:00
Roger A. Light
4c0c632dfa
Client memory "leak" fixes.
2018-11-01 16:02:20 +00:00
Roger A. Light
8aa936936e
Library and client support for topic-alias.
2018-11-01 15:47:21 +00:00
Roger A. Light
55b46037da
Change -y to -D in clients.
2018-11-01 14:22:00 +00:00
Roger A. Light
de3a9af1f7
Client+library support for unsubscribe properties.
2018-11-01 14:12:52 +00:00
Roger A. Light
49a8642986
Disallow properties that are invalid for a command.
2018-11-01 11:59:59 +00:00
Roger A. Light
741a8a9cc3
Client disconnect property support, plus disconnect packet fix.
2018-11-01 11:57:47 +00:00
Roger A. Light
383608613a
Client+lib will property support.
2018-11-01 11:37:57 +00:00
Roger A. Light
12cba75c73
Client support for adding properties.
2018-10-31 12:38:39 +00:00
Roger A. Light
b462115fa6
Add reason code to PUBACK/REC/REL/COMP.
2018-10-31 08:24:28 +00:00
Roger A. Light
ba874c6014
Merge branch 'mqtt5' of gitlab.com:ralight/mosquitto-private into mqtt5
2018-10-30 14:58:57 +00:00
Roger A. Light
446ad6290a
Add mosquitto_string_to_property_info.
2018-10-30 11:54:36 +00:00
Roger A. Light
c19b3598c0
Add mosquitto_string_to_command.
2018-10-30 11:40:06 +00:00
Roger A. Light
63a479564b
Add mosquitto_property_command_check()
2018-10-30 11:32:37 +00:00
Roger A. Light
636e813d1c
Load of constant renames ahead of making mqtt_protocol.h public.
2018-10-30 11:11:31 +00:00
Roger A. Light
9eebcf6704
Rename property__free_all->mosquitto_property_free_all
...
Make public function.
2018-10-30 10:16:42 +00:00
Roger A. Light
be5602be28
Add sections to mosquitto.h.
2018-10-30 10:03:08 +00:00
Roger A. Light
5aa983c210
Fix copy/paste error.
2018-10-25 20:41:34 +01:00
Roger A. Light
12fa336140
Handle some incoming PUBLISH properties.
...
PAYLOAD_FORMAT_INDICATOR, CORRELATION_DATA, USER_PROPERTY, CONTENT_TYPE
are now all passed on to subscribing clients from an incoming PUBLISH
only (not from Wills). The other PUBLISH properties are silently
dropped.
2018-10-25 16:35:24 +01:00
Roger A. Light
6996fd450a
Simple pub/sub/unsub tests for v5.
2018-10-25 14:57:41 +01:00