Shawn
c3e494c735
chore: update esockd to 5.8.8
2023-01-19 10:02:46 +08:00
Zaiming (Stone) Shi
14ba75502f
chore: update copyright year
2023-01-02 14:54:38 +01:00
Thales Macedo Garitezi
0a8f3d4e16
Merge remote-tracking branch 'origin/main-v4.3' into sync-v44-a
2022-10-24 16:28:11 -03:00
firest
1e00345777
chore(emqx_sn): bump version && update appup
2022-09-26 18:00:04 +08:00
firest
0a3c8d035c
fix(mqtt_sn): after receiving publish in `idle mode` the gateway may panic
...
the `emqx_sn_gateway` will return `{keep_state, Timeout}` when received publish in `idle mode`, this is an incorrect format of `gen_statem` state return result, this return will replace the `state data` by the `Timeout`, the fix is to change it to `{keep_state_and_data, Timeout}`
2022-09-26 17:59:35 +08:00
firest
5b14d7f709
test(mqtt_sn): improve test coverage of `emqx_sn_gateway`
2022-09-26 16:37:33 +08:00
firest
502f3e8d5c
test(mqtt_sn): improve test coverage to 90%
2022-09-22 17:31:08 +08:00
zhongwencool
940ceb570d
Merge branch 'main-v4.4' into copy-of-main-v4.3
2022-08-19 10:53:48 +08:00
zhongwencool
25228ed248
test: fix compile warning
2022-08-09 09:37:05 +08:00
Zaiming (Stone) Shi
eca211373f
Merge remote-tracking branch 'origin/dev/v4.3.18' into dev/v4.4.7
2022-08-08 16:39:09 +02:00
Thales Macedo Garitezi
5e9462afc8
feat: add option to gc after TLS/SSL handshake (4.3)
...
Port of https://github.com/emqx/emqx/pull/8637
2022-08-04 08:51:50 -03:00
Shawn
ca842aa869
fix: merge main-v4.3 to main-v4.4
2022-05-23 11:23:27 +08:00
JianBo He
7357ee5918
fix(mqttsn): fix mqtt-sn client disconnected due to re-send a duplicated qos2 message
2022-05-16 13:54:38 +08:00
JimMoen
6168745f90
chore: update copyright
2022-04-14 11:23:25 +08:00
JianBo He
a3d8981635
refactor(mqttsn): assign subs_resume to mqtt-sn client process state
2022-03-15 11:28:40 +08:00
JianBo He
3823ab8693
fix: typos in emqx_sn.appup.src
2022-03-15 10:51:30 +08:00
JianBo He
f8b7b9415d
chore(mqttsn): update appup.src
2022-03-15 10:51:30 +08:00
JianBo He
d4c1b3acc6
test(mqttsn): more tests for topic register and subs_resume
2022-03-15 10:51:05 +08:00
JianBo He
3201d11212
feat(mqttsn): introduce subs_resume option
...
As the mqtt-sn v1.2 spec metioned, the gateway will be able to sync the
subscriptions topic-name registry to client when the client resume it's
session
port from: https://github.com/emqx/emqx-sn/pull/195
2022-03-15 10:51:05 +08:00
Zaiming (Stone) Shi
52ff180e55
chore: pin esockd 5.8.5
2022-03-01 17:02:29 +01:00
JianBo He
76d0835e4f
chore(mqttsn): update appup.src
2022-02-24 11:30:12 +08:00
JianBo He
e9031ea4c1
fix(mqttsn): cache and replay the invaild-topic-id delivery
2022-02-24 11:28:04 +08:00
JianBo He
96a86061c2
refactor(sn): pretty frame print formation
2022-02-24 11:28:04 +08:00
Zaiming (Stone) Shi
e09e5673eb
docs(README): EMQ X -> EMQX
2022-02-15 16:15:25 +01:00
JianBo He
cdfeb46951
test(mqttsn): remove unused vars
2022-02-10 15:30:10 +08:00
Shawn
4abcab8d52
fix(appup): update appup files for emqx,emqx_sn,rule_engine
2022-01-13 18:37:22 +08:00
Shawn
9f7f5070b2
fix(channel): update the calls to emqx_session APIs
2022-01-13 13:33:27 +08:00
Zaiming (Stone) Shi
c1cbf39552
fix(appup): add missing beams to emqx.appup.src
...
also re-formated emqx_sn.appup.src
2021-12-17 13:41:25 +01:00
zhongwencool
7477615324
fix(emqx_sn): appup.src miss 4.3.2
2021-12-09 17:26:57 +08:00
zhongwencool
f14a9d7da6
chore: bump emqx_sn to 4.3.4
2021-12-02 16:46:57 +08:00
zhongwencool
41a547d36d
fix: e4.4.0 failed to join e4.3.0 cluster
2021-12-02 16:19:36 +08:00
Turtle
a6bd1c90d5
fix: Ignore repeatedly receiving connection packet in the wait_will_msg/wait_will_topic/connected state
2021-06-23 14:37:26 +08:00
JianBo He
42a6f2aba5
fix(mqttsn): fix proto_name to MQTT-SN instead of MQTT ( #4961 )
2021-06-11 11:08:24 +08:00
Zaiming Shi
536c2ddc0e
test(emqx_sn): an attempt to fix flaky tests
...
Some flaky tests such as t_asleep_test06_to_awake_qos2_dl_msg
and t_asleep_test07_to_connected are likely due to test cases
interfering each other.
This changes the cases to use a unique client ID
2021-06-06 09:03:52 +02:00
Turtle
6f2407d5d9
fix(mqtt-sn): fix mqtt-sn test cases
2021-06-04 10:39:14 +08:00
Turtle
bfb02fe8c3
fix(mqtt-sn): fix clean session false reconnect topic-id badmatch
2021-06-03 10:08:05 +08:00
Turtle
5068678eea
fix(mqtt-sn): fix clean session false reconnect topic-id badmatch
2021-06-01 16:22:37 +08:00
Turtle
e8790f6e11
fix(mqtt-sn): Fix stop due to keepAlive at sleep mode
2021-05-21 19:22:32 +08:00
Turtle
9dc1e162fa
fix(sn): fix clean_session=false willmsgs not sent
2021-05-06 19:15:49 +08:00
Shawn
cb31d66bf2
Cache publishes before receiving the REGACK ( #4695 )
...
* refactor(emqx_sn): return new state from send_message
* fix(emqx_sn): send publish only after regack received
2021-04-30 15:31:34 +08:00
Shawn
dc95c1476a
fix(emqx_sn): willmsgs not sent
2021-04-25 09:45:16 +08:00
Zaiming Shi
6354e75626
chore: update copyrights
2021-04-23 20:43:00 +02:00
Shawn
5896e90235
fix(export): Mod:call/3 not exported
2021-04-16 18:44:28 +08:00
Shawn
a09434acd2
fix(emqx_sn): dialyzer problems
2021-04-16 14:04:34 +08:00
Shawn
98edbc39af
fix(emqx_sn): race_condition when discarding
2021-04-16 12:38:13 +08:00
Shawn
327b0c0995
fix(mqtt_sn): send pingresp until all pubacks received
2021-04-10 09:36:56 +08:00
Shawn
2b8c1efd1d
fix(mqtt_sn): refactor the log using logger.hrl
2021-04-09 16:02:29 +08:00
Shawn
6c57da31cb
fix(mqtt_sn): update the testcase for disconn in awake state
2021-04-09 16:02:29 +08:00
Shawn
e63b47bd7a
fix(mqtt_sn): remove the shutdown/2,3
2021-04-09 16:02:29 +08:00
Shawn
b8cb930c89
fix(mqtt_sn): handle disconnect msg in asleep state
2021-04-09 16:02:29 +08:00