Jump to content

Web socket ID message


ebr

Recommended Posts

My message right now is clientName|deviceName|versionString

 

Are we supposed to move devicename to the end?

Link to comment
Share on other sites

The second is actually deviceid, which might be the same as deviceName if you're using computer name.

Link to comment
Share on other sites

Okay.  I'm actually using a combination of computer name and logged in windows user because there could be more than one on the same computer at once.

 

So, the last one should be the same thing or something different?

Link to comment
Share on other sites

The last one is displayable device name. It should be the same set of four values that you're using in the auth header, for example

 

Dashboard|df787898fdsf7ds80|1.0.0.0|nexus7

Link to comment
Share on other sites

Okay.  Currently the ID (the one I'm sending now) is being displayed so that is changing...

Link to comment
Share on other sites

Alright, I think my confusion here may be that the items I'm seeing displayed are actually coming from the http auth header, not the websocket ID message.  I thought it was the latter but I guess it is the former.

 

This could be why the attempt to re-connect the websocket isn't working - because I was sending device name instead of device ID.

Link to comment
Share on other sites

Please add |deviceName to the end of the message.

 

This change is backwards compatible, so versions who are not supplying it will not break. They'll function just as they do today.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...