Mark, I'm now running the new version, but without an explicit DNS, just changed the server to "tmc.openvehicles.com" and it works. I just checked the DNS record for tmc.openvehicles.com: tmc.openvehicles.com. 14399 IN A 54.197.255.127 I suggest reducing the TTL to 1 hour before we recommend the change to users. Regards, Michael Am 24.09.2015 um 08:07 schrieb Mark Webb-Johnson:
By the way, anyone brave enough to try putting in ‘tmc.openvehicles.com <http://tmc.openvehicles.com>’ into the ServerIP field, even without running this new code?
From what I can see (and tested here), if your ISP provides DNS servers as part of its GPRS profile, then it should just work. The change below is just to allow you to specify a DNS server directly (rather than rely on the ISP provided ones). Switching to use DNS names should allow us to avoid problems such as TMC experienced this past week.
Regards, Mark.
On 23 Sep, 2015, at 10:51 pm, Mark Webb-Johnson <mark@webb-johnson.net <mailto:mark@webb-johnson.net>> wrote:
I’ve built a firmware for 2.8.1.
This includes all the changes since March 2014. Quite a few minor bug fixes and improvements.
Most noticeable new work is parameter #0x16, GPRSDNS. This can be configured as the fourth parameter to the GPRS command, and specifies the DNS server. It seems that the gprs protocol allows the mobile providers to push DNS server IPs to us, and the SIM908 recognises and stores those. But, for those providers that don’t support that, this parameter allows it to be explicitly set. We can now use DNS names (tmc.openvehicles.com <http://tmc.openvehicles.com/>), instead of IP addresses, for the Server IP parameter. This is a much better way of doing it.
I’ve also changed the COPS mechanism around a bit, to try to make it work better in marginal network conditions. In particular, in my garage ;-) The new logic is to wait for up to 5 minutes, after COPS fails, to see if we can get a network registration anyway. If we can, we continue with GPRS. If we can’t we try COPS again.
This is a release candidate now.
Regards, Mark.
_______________________________________________ OvmsDev mailing list OvmsDev@lists.teslaclub.hk http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26