[Ovmsdev] Firmware 2.8.1
mark at webb-johnson.net
Thu Sep 24 14:07:06 HKT 2015
By the way, anyone brave enough to try putting in ‘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.
> On 23 Sep, 2015, at 10:51 pm, Mark Webb-Johnson <mark at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OvmsDev