-
Notifications
You must be signed in to change notification settings - Fork 7
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
Comments
Hello.
I never touched the switches. It works fine as shown in your picture. If you like you may test the effect of those buttons.
From SIMCOM doc :
AT+CSCRIPTSTART Start running a LUA script file.
Description
The command is used to start running a LUA script file. The script file must exist in c:\ in the
module EFS. This command shouldn’t be used by sio LIB in LUA script files.
Copy file in c:. It cannot be launched on the SIM card.
To copy :
at+fscopy="D:/autorun.lua","C:/autorun.lua"
Then to run :
at+cscriptstart="autorun.lua"
Keep us in touched.
Regards.
Sylvain HUNAULT
Ingénieur ENSTA Bretagne
Option SPID - Profil Robotique & Systèmes Embarqués
Promotion 2016
Ingénieur Systèmes Embarqués à RUAG Defence France (Albi)
…________________________________
De : Nanoseb <[email protected]>
Envoyé : samedi 4 août 2018 17:28:16
À : WRSC/tracking
Cc : Sylvain HUNAULT (CI2016); Mention
Objet : [WRSC/tracking] Functionment of the Tracker (#19)
Hello all,
Today we got around to test the trackers a bit more in depth. We however still have a couple of questions:
* What is the RF switch doing?
* What is the tck switch doing?
* What is the bottom right blue button doing? (on this: https://raw.githubusercontent.com/WRSC/tracking/master/MYR_rails/public/stylesheets/images/default/TrackingSystemInBox.jpg)
* when plugin in the tracker via usb, we get
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<https://github.com/chinchifou> @SylvainHunault<https://github.com/SylvainHunault> @Sylyon<https://github.com/Sylyon> maybe?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#19>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJJRCi7KozchEBTD1g1sqfa7R-0pZrC8ks5uNb2QgaJpZM4VvCKG>.
|
In addition, the script runs the following commands at start:
Hope it helps. Regards. Sylvain |
Hello all,
In addition to Sylvain's answer :
- The first step is indeed to make sure that you have a valid local SIM
card with enough data (bought from the operator) + you have the correct PIN
and login/password to log your device the local phone service coverage.
- You have to make sure that you have 3G coverage ang GPS coverage (stick
the antenna to a window or go outside for instance). You may have to check
the lua script but I suppose that it waits until it gets the GPS signal
before starting to send the data to the server.
- If I remember well (extra caution with that ...) the aspect of the LED
should change as soon as you are succesfully connected to 3G.
Le sam. 4 août 2018 à 17:52, SylvainHunault <[email protected]> a
écrit :
… 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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGXZUIH2WsgzXd0qd0hARPS6uNwYxs6Iks5uNcMlgaJpZM4VvCKG>
.
|
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. |
Hello guys, |
Hello,
As far as I remember, we used to charge the battery separetely
(disconnected from the board). I suppose that when plugged into a PC, the
small USB of the board device does not charge the battery.
Le dim. 26 août 2018 à 18:25, Nanoseb <[email protected]> a écrit :
… Hello guys,
Quick question: do you know if the trackers have the charging circuitry
working properly? Can we charge the batteries from them?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGXZUJz1WH3CiUAkwb1zUZ-fzRqZ5wwiks5uUsv0gaJpZM4VvCKG>
.
|
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. |
Hello all,
Today we got around to test the trackers a bit more in depth. We however still have a couple of questions:
on serial, but the autorun script doesn't always starts, why so, and how to make it run?
at+cscriptstart=d:/autorun.lua
(with the file autorun.lua on the sd card) gives meERROR
does any of you know why?Does any of you know this? @chinchifou @SylvainHunault @Sylyon maybe?
The text was updated successfully, but these errors were encountered: