[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (MQTT-599) In ASLEEP state also a PUBLISH-1 should trigger the sending of the pending messages on the subscribed topics
[ https://issues.oasis-open.org/browse/MQTT-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=82417#comment-82417 ] Simon Johnson commented on MQTT-599: ------------------------------------ Hi Davide,  If the client wishes to receive messages whilst in the sleeping state, this is achieved by issuing a PINGREQ packet bounded by a PINGRESP packet. Receiving messages whilst not in the AWAKE state essentially means there is no distinct between ASLEEP state and AWAKE state this meaning it is obsolete (as I understand your proposal). The sleep state has shown itself (in my experience with the protocol) to be a very powerful feature, giving the devices fine grained control over their presence on the network.  Please can you clarify why devices simply wouldn't issue a PINGREQ to achieve the desired functionality?  > In ASLEEP state also a PUBLISH-1 should trigger the sending of the pending messages on the subscribed topics > ------------------------------------------------------------------------------------------------------------ > > Key: MQTT-599 > URL: https://issues.oasis-open.org/browse/MQTT-599 > Project: OASIS Message Queuing Telemetry Transport (MQTT) TC > Issue Type: Improvement > Components: MQTT-SN > Reporter: Davide Lenzarini > Priority: Major > > In ASLEEP state also a PUBLISH-1 should trigger the sending of the pending messages on the subscribed topics terminating with a PINGRESP > The scenario that I have in mind is the following: > # A client CONNECT to a gateway (client enrollment) with a very long session expiry interval > # The client subscribe to a certain topic to receive pending messages as soon as it sends a publish-1 message to a certain (also different) topic > # The client DISCONNECTÂwith a very long session expiry interval > # After some time the client send a PUBLISH-1 message and would like to receive (like with the PINGREQ when in ASLEEP state) all pending messages on the topic it has subscribed to >  >  -- This message was sent by Atlassian Jira (v8.3.3#803004)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]