-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sub id's for individual members of units #13
Comments
I'd first check how bad it is to allow multiple devices per id in a real scenario. But you captured my thinking ...
It is an important design decision whether geobroker stays as simple as it is or whether it should implement business logic. Pro my suggestion:
Con:
Mitigation: implement in geobroker, but extend the API
All the above to be reviewed ... |
I think the geobroker shall stay as tracking tool per unit. As I understand the main request here, it is about having multiple devices registered, and using the most reliable source. This can be done by adding the device-id to the position request. Then the geobroker can define by internal rules, which sources is used for the position provided to other parties:
|
Looks like a decision, but still with a few questions:
How will we generate QR-codes? |
What about appending a second get parameter like device={devicetoken} via JavaScript in the webclient or in the app by reading the device id (http://codeworks.it/blog/?p=260) and then do the management in geobroker |
Any UUID or random value would do. I like `device={anything}`, no need to generate more QR codes...
|
I think IDs should have something like sub ids - for example, if one units ID is ID-2asdfasdfasdf, the members of the unit should be able to use the same unit but the geobroker should return a sub-number e.g. ID-2asdfasdfasdf#1 so that you can regiser devices as fallback and only use location data of unit ID-2asdfasdfasdf#2 when ID-2asdfasdfasdf#1 has not sent a location update in a certain time.
With this change, every member of a unit can install the app or open the website and there can't be any confusion with different location data from several devices.
The text was updated successfully, but these errors were encountered: