Comments (8)
GatewayTester is opened to the public. It is in the repo.
See MQTTSNGateway/GatewayTester/README.md
from paho.mqtt-sn.embedded-c.
Thank you very much for your information!
I'll check it out soon.
from paho.mqtt-sn.embedded-c.
Hi all,
Thank you for your giving information other day.
As I tried out the GW to send DISCONNECT to unknown clients, I recognized your proposal was really good!
I have a question.
When a client periodically sends PUBLISH (QoS0) in a shorter period than T_ADV (interval time of ADVERTISE) and also when GW is down completely, the client doesn't recognize it's down for more than 15 minutes?
The value 15 minutes is recommended value for T_ADV in MQTT-SN specification.
I think this interval experimentally obtained is too longer than the purpose of MQTT's PING specification "shorter than TCP time out."
One of my idea is to send PINGREQ and PINGRESP between SN-Client and GW.
The similar procedure is also proposed in MQTT-SN specification 6.11 "Keep Alive and PING Procedure."
In case of MQTT, even when client sends messages in a shorter period than keep alive time, the broker needn't send PINGREQ to the client due to the implementation on TCP.
As a result, my idea is sending PINGREQ from the SN-Clients to the GW during keep alive interval in spite of previous client's transmission.
I guess PINGREQ from GW to the SN-Clients is also good for keeping connection.
I'm looking forward your feedback.
Kitagawa
from paho.mqtt-sn.embedded-c.
- T_ADV is configurable. so you can make it shorter as you want.
- Anyway you have to send PINGREQ. otherwise Broker disconnects the client.
you can set Keep Alive time as you want. - I think that using QoS1 is a answer of this case.
from paho.mqtt-sn.embedded-c.
Dose this issue still open ?
from paho.mqtt-sn.embedded-c.
Thank you for your feedback and sorry for my late reply.
- T_ADV is configurable. so you can make it shorter as you want.
I agree with you, but too short T_ADV makes bandwidth congestion in the network.
For clients and GW, It may or may not be a serious problem.
- Anyway you have to send PINGREQ. otherwise Broker disconnects the client.
you can set Keep Alive time as you want.- I think that using QoS1 is a answer of this case.
Exactly, it is one of the solution.
I thought My proposal might be helpful for QoS0 and made fewer message sequence than QoS1.
from paho.mqtt-sn.embedded-c.
I think this issue should be discussed in [mqtt] mailing list.
from paho.mqtt-sn.embedded-c.
Thank you for your advice.
It's concerned about GW's behavior, so I thought that I should discuss here.
I close this issue.
from paho.mqtt-sn.embedded-c.
Related Issues (20)
- dtls branch has bugs. HOT 2
- No Gateway found when enabling Authentication HOT 18
- Ping Response Resolver in mqttsn client HOT 1
- Gateway: DTLS with PSK support HOT 2
- MQTT-SNGateway - MQTT Publish Message missing corresponding MQTT-SN Topic ID when sending to MQTT-SN client HOT 2
- Client CONNECT sending will topic and message not working HOT 3
- The build not works with dtls6 HOT 2
- Multicast hop not properly setted
- Inconsistent short topic types HOT 1
- DTLS support for mqtt-sn client
- MQTT-SNGateway error
- MQTT-SN Gateway on Win 7 ?
- LoginID Πrror
- MQTT-SN Gateway crashing when enabling QoS-1 with the error "Max number of Clients" HOT 2
- ClientID not updated for known clients at CONNECT
- PUBLISH with QoS Level -1 not working HOT 3
- When subscribing to a wildcard topic the SUBACK responds with msg-id == 0x00
- Gateway support "raw" serial device as sensor network
- Does the paho MQTT-SN Gateway support pre-shared keys for DTLS? HOT 1
- Make file issue in MQTTSNGateway HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paho.mqtt-sn.embedded-c.