[Ovmsdev] Any Telco engineers?

Mark Webb-Johnson mark at webb-johnson.net
Tue Mar 20 08:12:01 HKT 2012


Felix,

So, your car install went ok? Glad to hear you can finally make use of this after all your hard work on the graphics and design.

Eager to hear anything you suggest. We're getting lots of compliments on the iPhone App.

I also have some graphics refinements to discuss with you (the white boxes have some aliasing artifacts on the diagonal lines, but I need to give you the exact dimensions for this (and work it out for the new iPad retina). I'll try to let you know the details for this later tonight (my time).

Regards, Mark.

On 20 Mar 2012, at 12:38 AM, felix bonnier wrote:

> mark,
> 
>  I will send you some further ideas on the UI which I think still needs some cleaning up, now that I actually have a working unit and can play with all the functions it has been a lot easier to immerse myself in the layout and depth of the app and it's settings
> 
> best
> 
> /fb
> 
> Sent from my iPad somewhere in our beautiful universe.......
> 
> On 19 Mar, 2012, at 22:25, Mark Webb-Johnson <mark at webb-johnson.net> wrote:
> 
>> 
>> Any Telco engineers here?
>> 
>> I've been working on the iOS App code to convert the GSM signal strength indicator that comes back from the car into a 5 bar display and dBm value. There doesn't seem to be a standard for this, so I picked the iPhone 4.0.1 levels, as the reportedly the same as AT&T now use and at least I can compare with my iPhone.
>> 
>> Code looks like this:
>> 
>>   // car_gsmlevel comes back from the car as the output of AT+CSQ
>>   // It is reportedly in the range 0..31, 99.
>>   int car_gsmlevel = [ovmsAppDelegate myRef].car_gsmlevel;
>> 
>>   // Calculate dBm from AT+CSQ signal level
>>   int car_gsmdbm = 0;
>>   if (car_gsmlevel <= 31)
>>     car_gsmdbm = -113 + (car_gsmlevel*2);
>> 
>>   // Tell the user about the dBm 
>>   m_gsm.text = [NSString stringWithFormat:@"%d dBm",car_gsmdbm];
>> 
>>   // Calculate the signal bars 0..5
>>   int car_signalbars = 0;
>>   if ((car_gsmdbm < -121)||(car_gsmdbm >= 0))
>>     car_signalbars = 0;
>>   else if (car_gsmdbm < -107)
>>     car_signalbars = 1;
>>   else if (car_gsmdbm < -98)
>>     car_signalbars = 2;
>>   else if (car_gsmdbm < -87)
>>     car_signalbars = 3;
>>   else if (car_gsmdbm < -76)
>>     car_signalbars = 4;
>>   else
>>     car_signalbars = 5;
>> 
>> Does that look ok, or can anyone with experience of this suggest anything better?
>> 
>> I've got a testflightapp build ready with this, and should be able to release tomorrow morning (my time). Just waiting for some device ids / testflightapp recruits to come in from interested developers who have eMailed me offering to help.
>> 
>> Regards, Mark.
>> 
>> P.S. The last 20120318 testflightapp build looks good. Crashes for the past 24 hours have gone to zero and things seem more stable.
>> 
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20120320/37ebc291/attachment.htm>


More information about the OvmsDev mailing list