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

Functionment of the Tracker #19

Open
Nanoseb opened this issue Aug 4, 2018 · 7 comments
Open

Functionment of the Tracker #19

Nanoseb opened this issue Aug 4, 2018 · 7 comments

Comments

@Nanoseb
Copy link
Member

Nanoseb commented Aug 4, 2018

Hello all,
Today we got around to test the trackers a bit more in depth. We however still have a couple of questions:

START

+CPIN: READY

SMS DONE

PB DONE

on serial, but the autorun script doesn't always starts, why so, and how to make it run?

  • running manually at+cscriptstart=d:/autorun.lua (with the file autorun.lua on the sd card) gives me ERROR does any of you know why?

Does any of you know this? @chinchifou @SylvainHunault @Sylyon maybe?

@SylvainHunault
Copy link
Contributor

SylvainHunault commented Aug 4, 2018 via email

@SylvainHunault
Copy link
Contributor

In addition, the script runs the following commands at start:

  • at+cpin=1234 => Enters the pin of the SIM card
    Then you received the ack of the SIM card correctly unlock.
  • at+cgps=1 => Starts GPS
  • at+netopen=,,1 => Opens socket with mode multiclient. It relies on the default defined socket.
    The default defines socket must have been configured before hand on each tracker with the following commands :
  • at+cgsockcon=[0],[1],[2] =>[0] is for the "context", you kind of choose a configuration ID that you could refer afterward with at+csocksetpn. You may use "IP" (with the ") for the first parameter [1] and look at this website (https://www.hw-group.com/support/international-apn-settings-for-mobile-broadband-network-operators) to find out [2] according to your SIM card provider.
  • at+csockauth=[0], 1, [username],[password] => [0] to refer to your configuration setup ID, 1 to specify PAP (you can dive in the datasheet to find out) With the same website, put the username and password between "".
  • at+csocksetpn=[0] => Set the active configuration for the socket. Use your configuration.
  • at+printdir=1 => Enables print.

Hope it helps.

Regards.

Sylvain

@chinchifou
Copy link

chinchifou commented Aug 15, 2018 via email

@Nanoseb
Copy link
Member Author

Nanoseb commented Aug 15, 2018

Thank you both for your help, I have gathered the info I had in a wiki page, feel free to edit it if you find mistakes.
https://github.com/WRSC/tracking/wiki/Tracker-handling

@Nanoseb
Copy link
Member Author

Nanoseb commented Aug 26, 2018

Hello guys,
Quick question: do you know if the trackers have the charging circuitry working properly? Can we charge the batteries from them?

@chinchifou
Copy link

chinchifou commented Aug 27, 2018 via email

@saerdnaer
Copy link
Contributor

Just to clarify: It is possible to charge a battery via the tracker via USB, but it is slower than directly connecting the battery to a external charger.

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

4 participants