Skip to content
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

Network available and location available report #450

Open
SuarezJF opened this issue Jun 15, 2023 · 5 comments
Open

Network available and location available report #450

SuarezJF opened this issue Jun 15, 2023 · 5 comments

Comments

@SuarezJF
Copy link

SuarezJF commented Jun 15, 2023

Hi.
Again, i am very pleased using this app, it's great. I have been working getting the values traccar client sends, it's almost ideal to me.

I wonder if you could, please, in future versions of traccar client, add a coup of fields in the array of data it sends, i mean having this:

(
    [id] => XXxxxXXXxXX
    [timestamp] => 1686429423
    [lat] => -38.9613683
    [lon] => -68.0680459
    [speed] => 6.556485525446892
    [bearing] => 244.0159454345703
    [altitude] => 285.1000061035156
    [accuracy] => 96.0
    [batt] => 4.0
    [charge] => true
)

just add two like:

[network]  => true
[location] => false

am asking since the app already reports when network is available or not in the status, it can be sent in the array, for example.

Hope you consider it, thanks.

@tananaev
Copy link
Member

You would need to explain why you need those and what those mean exactly.

@SuarezJF
Copy link
Author

OK.

  • [network] => {true/false}:

means in the record if network service in the mobile is available or not (such as in the status report within the app). I need it because i can see in the array report:

    [timestamp] => 1686429423

and i use it to see the difference between mobile time log and the date report arrived to server. BUT, i don't know if it is caused by a network trouble (all the way to the server) or it is because mobile has not network available. Sending this, will clear this up.

  • [location] => {true/false}:

means if the location service is available or not in the mobile. I have got some many missing points in a device track, caused by a not receiving a gps signal or somthing like that. BUT i have the same result, deactivating location service in the mobile, there is no difference, to the servers side, in these two cases. I need to know the difference between those two different situations.

I hope to be clear enough, but if not, tell me and i will try to say it better.

Thanks

@tananaev
Copy link
Member

If you disable location, you won't get any data at all.

As for network, it should be easy to check by the time difference.

@SuarezJF
Copy link
Author

yes, it is exactly what i have said.

You asked me, why i need what i reuqested, and now, i am telling.

I need traccar client to send to the server if network in mobile is disabled or not. More than time calculations i can make. It is not the same network unreacheble with network disabled.

so with location, i need traccar client to send if location is available or not. Again, it is not the same not having any data cause gps is not reachable with location service disabled.

Please, tell me if i am being clear, if you understand what i am requesting.

All these is thought if the users of THAT mobile intentionally disables those services. I need to know it on servers side.

@SuarezJF
Copy link
Author

so... you're also without connection concept?
you just stop reporting..?
your're offline?, you're iddle?, bat=0? :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants