-
Notifications
You must be signed in to change notification settings - Fork 68
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
roaming costs #3
Comments
It should be possible, but probably not easy to implement. I think what you probably want to do is save the network code for your home network and then detect when it changes, but that's going to involve additional queries to the modem in the main loop. Also difficult to test as you'd have to roam in order to check that it works. I'll add it to my someday maybe list :) |
@haegar66 Hi, I've just added two new SMS commands which allow you to enable and disable the sending of the data packets. These are "dataoff" and "dataon". In both cases it will confirm that the change has been made via sms. While in "dataoff" mode it will still poll for its location via GPS so you can still use the sms command "locate" to see where the tracker is. Also be sure to set GSM_SEND_FAILURES_REBOOT to 0 therwise a reboot may occur which will re-enable the data sending. Also note that if the device gets power cycled for any reason this will also occur. Hope this helps :) Mark |
Am 18.07.2015 um 17:10 schrieb Mark Wadham:
Hi, I have found the solution in theory. AT+CREG Network Registration so it could be implemitiert: tracker.h int ROAMING_ON = 0; //Roaming 0=off 1=on #define E-Plus_de #ifdef Drei_at #ifdef Orange_at #ifdef A1_Mobilkom_Austria_at #ifdef t-mobile_at #ifdef Bob_at #ifdef Vodafone_de #ifdef t-mobile_de #ifdef E-Plus_de #ifdef O2_de gsm.ino void gsm_status_read() // 0 Disable network registration unsolicited result code // 0 Not registered, ME is not currently searching a new operator to char *status_str; char *tmp1; debug_print(F("gsm_status() started.")); //todo check delay(500); //todo check if everything is delivered //checking how many bytes NON-acked switch (auswahl) { status_str = strtok_r(NULL, ", ", &tmp1val); debug_print(F("gsm_validate_tcp() completed.")); } sms.ino opentracker_3_0_1.ino //gsm status gsm_status_struct gsm_status; debug_print(F("Current:")); gsm_status_read(); // Roaming? if ((SEND_DATA & gsm_status.at_home ) || (SEND_DATA &
/* */ Claus Dickert |
Hi, Is anyone going to merge above roaming to master or I can do it? I suggest also to have different GPS timeouts to be set in roaming and potentially |
Hi, #define DEFAULT_APN "orangeworld" I made this because it is the APN I want to use and my SIM card does not allow SMS (it is cheaper!). My question is: if I use default settings: #define DEFAULT_APN "internet" my tracker will connect in every coutry? I am far away from any border and it's difficult for my to test. Thanks |
Hi Alfredo, if think that your mobile operator blocks GPRS connections outside your country. The APN connections are always the same. This issue treated the possibility to turn off GPRS communication in foreign countries because GPRS roaming is mostly expensive.
|
FWIW I had the same issue using giffgaff in the uk. Drove to france, tracker mysteriously stopped working. I think I checked that roaming was enabled on my account before we went, but not 100% sure. Might go back again sometime this year so if I do I'll check it again and try to figure out why it wasn't working. |
I think APN are not allways the same, in Spain APN for Orange is "orangeworld" in France it is "orange". When my vehicle went to France it stopped connecting. I have roaming activated in my SIM card. |
Maybe there's a mechanism for pushing out APN updates when you roam, that mobile phones are programmed to handle but opentracker is not. Just a theory. |
Please haegar66, maybe you can help me: which APN do you use that provokes your opentracker roam? |
Hi, |
In Czech Republic GSM operators, APN is some at roaming. But some operators in roaming, send html page with text and button to accept roaming data connect.... Without this click to button roaming not working :-( |
@agraciabona I haven't managed to get mine working with roaming yet either, probably because like you say the APN changes. I think with the current software the only way to get it to work would be to put the sim card into a modern mobile phone, see what the APN gets automatically set to and then configured that in the tracker. |
you could look at services like Jasper wireles or telit - They are "international network providers They are a bit more expensive than regular operators but have the same APN and manage the roaming for you so the device does not need separate settings per country We've used Telit before and it worked great ( sub-Saharan Africa )- They need to know how many devices and which countries you want to roam in to give you pricing, so it a bit of a pain, but can provide up to 3 test SIMS. |
I live near to a country border.
The cost of GPRS are very expensive by international rooming.
I want to turn off the default rooming of the data connection and activate only with an SMS command again (eg in case of theft).
Can this be installed?
greeting
Claus
The text was updated successfully, but these errors were encountered: