somnan / mqtt-spy

Automatically exported from code.google.com/p/mqtt-spy
0 stars 0 forks source link

User ID != Client ID #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, the Connection dialog has a field "User ID" which is in fact used as 
the MQTT connection Client ID. This is very confusing. I did not want 
authentication so I cleared this value, but then the connection failed with the 
error in the log "Null Client ID" - in fact this is a REQUIRED field. It would 
also be a good idea to autogenerate a random seed for this value in case a user 
wants to have multiple instances of mqtt-spy with multiple connections to the 
same broker.

Original issue reported on code.google.com by andypiperuk on 28 Aug 2014 at 9:26

GoogleCodeExporter commented 9 years ago
1) As suggested, 'User ID' renamed to 'Client ID'
2) Added check for empty 'Client ID' & 'User Name'
3) Added 'Generate' button to manually add a timestamp to the 'Client ID'
4) New connections get the timestamp added automatically to the default 'Client 
ID'

All in the latest snapshot.

Original comment by kamil.ba...@gmail.com on 31 Aug 2014 at 12:00