trackerNum should not exists inside the protocol #100
Labels
Area: Application Protocol
Related to communication with apps like the GUI, overlay, games
Type: Discussion
Further information is requested
currently the tracker id holds the device id and the tracker num. like so
but the issue with this is that you need to know the device id to change anything with the tracker. In many instance in the server code you have to do a lot of checks to make sure you are getting the right tracker.
also 99% of the time you are not changing settings to a device but to the tracker. So working with the device as the id is not that necessary.
And when you are mutating a device you will only send the device id anyway, no need to send a trackerNum.
here in the server code a function to get the tracker from its tracker id
the protocol should hold unique ids for the device and the tracker.
lets see what a rewrite would look like
The text was updated successfully, but these errors were encountered: