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] Updated: (MQTT-11) Length of client Identifier


     [ http://tools.oasis-open.org/issues/browse/MQTT-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Banks updated MQTT-11:
-----------------------------

    Proposal: 
There should be no restriction on the clientId other than it MUST comprise only Unicode characters, and the 
length of the UTF-8 encoding MUST be at least one byte and no more than 65535 bytes long.  

The server can restrict the clientIds it allows in terms of their lengths and the characters they contain, however the server MUST 
allow clientIds which are 23 or fewer UTF-8 encoded bytes in length, and contain only the characters "0123456789abcdefghijklmnopqrstuvwxyzDEFGHIJKLMNOPQRSTUVWXYZ".

  was:
There should be no restriction on the clientId other than it MUST comprise only Unicode characters, and the 
length of the UTF-8 encoding MUST be less than or equal 65535.  
The clientId MAY contain zero characters. 


> Length of client Identifier
> ---------------------------
>
>                 Key: MQTT-11
>                 URL: http://tools.oasis-open.org/issues/browse/MQTT-11
>             Project: OASIS Message Queuing Telemetry Transport (MQTT) TC
>          Issue Type: Improvement
>          Components: core
>            Reporter: Andrew Banks
>
> The current specification says that the client Identifier must be 1 - 23 characters in length.
> Should this mean 
> 1-23 bytes when transformed to UTF-8
> 1-23 Unicode characters, counting surrogate pairs as single characters
> 1-23 Unicode characters, counting surrogate pairs as two characters 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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