OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

mqtt message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (MQTT-559) DISCONNECT duration 16-bit field does not allow long enough to sleep


    [ https://issues.oasis-open.org/browse/MQTT-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=77268#comment-77268 ] 

Ian Craggs edited comment on MQTT-559 at 7/1/20 12:07 PM:
----------------------------------------------------------

If we change the type of the duration field of the disconnect packet, then should we also change that in the connect packet? If not, we should probably call them different names. (https://twitter.com/ty4tw/status/1263094466719526912)

Â


was (Author: icraggs1):
If we change the type of the duration field of the disconnect packet, then should we also change that in the connect packet? If not, we should probably call them different names.

Â

> DISCONNECT duration 16-bit field does not allow long enough to sleep
> --------------------------------------------------------------------
>
>                 Key: MQTT-559
>                 URL: https://issues.oasis-open.org/browse/MQTT-559
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: MQTT-SN
>    Affects Versions: MQTT-SN-1.2
>            Reporter: Simon Johnson
>            Assignee: Allan Stockdill-Mander
>            Priority: Minor
>
> Assuming the time unit of a DISCONNECTED sleep session is SECONDS, per the 1.2 specification, this only allows a sleeping period of 18 hours 12 minutes and 15 seconds. This is not enough for real-world LPWAN devices. We need to somehow accommodate more space for larger durations OR change the time unit of the duration field to be minutes (which would allow for ~45 days sleeping).



--
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]