fengzero
61b113e63d
fix(connection): disconnect if recv return 0
2023-03-07 03:23:13 +00:00
fengzero
958149e95d
eth connectino
2023-03-07 02:53:00 +00:00
eeff
0f5fa0abcd
chore: reduce mqtt client pub log level
2023-02-06 15:27:38 +08:00
fengzero
858b8431cb
fix(connection): tcp server accept assert
2023-01-30 02:26:13 +00:00
fengzeroz
7056b7c741
Merge pull request #967 from eeff/eeff/dev
...
fix(mqtt-client): work around segfault due to NanoSDK race condition
2022-12-06 16:26:48 +08:00
eeff
2927e17a74
fix(mqtt-client): work around segfault due to NanoSDK race condition
2022-12-06 14:51:39 +08:00
fengzero
50e32eba86
fix connection log cate
2022-12-06 02:37:26 +00:00
eeff
d35fd4db08
fix(mqtt-client): publish method memory leak when sock not ready
2022-12-01 16:02:03 +08:00
eeff
4072c67e79
feat(mqtt-client): refactor set cache interface
2022-11-29 17:30:48 +08:00
eeff
738ec1fa7f
fix(mqtt-client): avoid data condition
2022-11-28 17:53:12 +08:00
eeff
514e232c58
feat(mqtt-client): add neu_mqtt_client_get_cached_msgs_num
2022-11-28 14:41:49 +08:00
eeff
afe11b7a73
feat(mqtt-client): refactor publish/subscribe interface
2022-11-27 19:25:35 +08:00
eeff
20feda1fc8
fix(mqtt-client): task callback free only SUBACK/UNSUBACK messages
2022-11-23 17:48:53 +08:00
eeff
d36ea326d5
fix(mqtt-client): disable cache correctly
2022-11-23 16:27:27 +08:00
eeff
75083e65ba
fix(mqtt-client): connect with correct url w/wo tls
2022-11-23 11:43:46 +08:00
fengzeroz
6c8e461220
Merge pull request #924 from eeff/eeff/dev
...
feat(nano-mqtt): add client-id setting
2022-11-22 10:54:38 +08:00
fengzero
c9926fde0f
fix tcp server recv
2022-11-21 08:07:18 +00:00
eeff
e14b012b68
feat(mqtt-client): add method neu_mqtt_client_set_id
2022-11-21 12:07:22 +08:00
eeff
341c54d388
feat(mqtt-client): update client interface
...
1. Change constructor neu_mqtt_client_new to take only version argument
2. Add constructor new_mqtt_client_from_addr
3. Add method neu_mqtt_client_set_addr
2022-11-18 16:36:10 +08:00
eeff
9658d8ac72
fix(mqtt-client): add task queue and avoid blocking
...
1. use nng_send_aio instead of nng_sendmsg to avoid blocking due
to NanoSDK quirks
2. add task queue for both sending/receiving messages
2022-11-18 11:34:15 +08:00
fengzeroz
ef536f6f99
Merge pull request #916 from eeff/eeff/dev
...
feat(nano-mqtt): handle read/write request
2022-11-16 09:32:28 +08:00
eeff
8d2e533492
feat(mqtt-client): implement subscribe method
2022-11-15 18:02:12 +08:00
fengzero
25cb987a1a
fix tcp server accept
2022-11-15 05:56:40 +00:00
eeff
a7f8678940
fix(mqtt-client): not sqlite caching when cache limit is zero
2022-11-15 00:23:44 +08:00
fengzeroz
9402cc6d52
Merge pull request #907 from eeff/eeff/dev
...
feat: add mqtt client
2022-11-14 17:06:04 +08:00
eeff
4ca5b5ad37
feat: add mqtt client
2022-11-14 16:52:59 +08:00
fengzero
301b023806
fix(connection): tcp server accpet client
2022-11-14 08:09:40 +00:00
eeff
47ce1132d0
feat: move mqtt_client_intf stuff from base to plugin mqtt
2022-11-14 14:40:54 +08:00
fengzero
e5634002df
connection(tty): flush input/output
2022-11-14 01:59:48 +00:00
fengzero
3a9e4b888d
connection: statics of bytes sent and recvied
2022-11-10 02:29:52 +00:00
fengzero
4765a5bc1f
connection(serial): wait reading all msg
2022-11-04 08:31:22 +00:00
fengzero
8616fdab97
fix(connection): recv disconnect
2022-10-24 08:18:40 +00:00
gc87
a6c4c636e7
fix(mqtt): cmd string log error
2022-10-08 10:37:26 +08:00
gc87
156a044b66
fix(mqtt): non-user login to rabbitmq auth failed
...
- empty user name login to rqbbitmq login failed for user ''
2022-09-16 14:19:01 +08:00
fengzero
b2d150bfb7
fix(connection): multithreaded connection status exception
2022-09-09 03:20:25 +00:00
fengzero
a7a6ede305
chore(connection): stop/start connection
2022-08-18 09:04:45 +00:00
gc87
1991a3e836
fix(mqtt): handling bio connect error in inspector
2022-08-17 14:34:57 +08:00
gc87
4805340571
fix: bio read crash when do connect error
2022-08-17 14:34:57 +08:00
fengzero
7a54325804
chore(driver): optimize the time when the driver reads tag for the first time
2022-08-16 06:24:02 +00:00
fengzeroz
373641bbe0
Merge pull request #711 from eeff/eeff/dev
...
fix: neu_conn_wait_msg reset buffer offset at outset
2022-08-15 14:51:52 +08:00
eeff
aef6e83a10
fix: neu_conn_wait_msg/neu_conn_tcp_server_recv reset buffer offset at outset
2022-08-15 14:46:10 +08:00
fengzero
04675ec04c
fix(http): remove aio timeout
2022-08-05 09:32:42 +00:00
fengzero
55e009dc05
connection: serial port support more baud rates
2022-08-02 02:01:18 +00:00
gc87
8cf9ba95f8
refactor(mqtt): static alloc -> dynamic alloc
2022-07-29 15:52:39 +08:00
fengzero
844efd9ab0
fix serial port parameter
2022-07-28 08:55:46 +00:00
fengzero
58ce412192
fix: replace large stack var with heap var
2022-07-26 02:37:44 +00:00
fengzeroz
f628c9153b
Merge pull request #636 from gc87/branch-mqtt
...
Add heartbeat support for mqtt plugin
2022-07-15 17:21:22 +08:00
fengzero
003c31e4a6
fix(connection): send with bolck flag if conn is bolck
2022-07-15 06:48:08 +00:00
gc87
3c59046314
feat(mqtt): setting optional field
2022-07-15 13:51:02 +08:00
gc87
96992eff71
refactor(mqtt): Modify unreasonable code
...
* Modify header file ordering
* Modify mqtt.* to mqtt_*.* to avoid ide parsing exception
* Modify part of the code according to the pr revision comments
2022-07-15 13:51:02 +08:00