cvenckus
Posts: 3
Joined: Sat Jul 14, 2012 2:28 am

Multiple Devices shared by Multiple Users

Sat Jul 14, 2012 2:34 am

This a many-to-many scenario where there may be 5 devices shared at different times amongst 5 or more users.

It's my understanding the User is tied to the device (IMEI), but a user may have multiple IMEI's assigned to them. When I send my HTTP request to my GpsGate server I want that specific user's name to show up on the map. Currently, I believe I have it setup where its a one-to-one ratio between users & devices.

If I setup User A to be able to use Device1 & Device2 how do I submit the HTTP request to my server for updates. Do I use the username & encrypted password scenario?

BTW...love this application. Works great!

Thanks,
Chris

User avatar
johan
GpsGate
Posts: 14375
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Multiple Devices shared by Multiple Users

Sun Jul 15, 2012 11:53 am

You need to add once new user for each device.

Regards,
Johan

GpsGate Support

cvenckus
Posts: 3
Joined: Sat Jul 14, 2012 2:28 am

RE: Multiple Devices shared by Multiple Users

Mon Jul 16, 2012 8:07 am

Thanks Johan.

So, you're saying I need to add the user for each device? I can see that in the Vehicle Tracker application. I have a User who is assigned several devices. But, it might be possible that a 2nd user could use the same device at some point. I want to make sure the correct User name shows up on the map.

User A (Add Device #1, Device #2, Device #3, etc)
User B (Add Device #1, Device #2, Device #3, etc)

Then when User A sends info gps coordinates to GpsGate server how will I know that User A is using Device #1 (or #2, or #3) if I only send the server the username & password?

Or are you saying I can only have a 1 Device to 1 User relationship?

Sorry for my confusion and thanks again for your help.
Chris

User avatar
johan
GpsGate
Posts: 14375
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Multiple Devices shared by Multiple Users

Mon Jul 16, 2012 10:07 am

Yes, one device per user

Regards,
Johan

GpsGate Support

cvenckus
Posts: 3
Joined: Sat Jul 14, 2012 2:28 am

RE: Multiple Devices shared by Multiple Users

Mon Jul 16, 2012 5:22 pm

Okay...thanks!

User avatar
Ovnilord
Posts: 10
Joined: Tue Sep 01, 2015 11:42 pm
Location: Chile
Contact: Website

Re: Multiple Devices shared by Multiple Users

Tue Nov 28, 2017 8:41 pm

I cant understand this, why one user have 3 devices

Can JuanJo explain this on spanish please!

:shock:

Return to “GpsGate for Developers”