[android-porting] About magnetic filed report unit in android

2010-10-27 Thread lgbk
Hi all, Is there anybody know the the magnetic unit in android?Which unit the android use?In sensor.h I know it seems MT (micro telsa),but when I report the mt to android ,compass app display the data is wrong.From my compass driver in linux ,it report the data of Micro Gauss unit. like (x=466MT,

Re: [android-porting] About magnetic filed report unit in android

2010-10-27 Thread Deva R
i dont have ready hints, but u can refer our sensor hal implementation patch - http://git.omapzoom.org/?p=device/ti/blaze.git;a=commitdiff;h=12f5a218283531798e7513bcf6fb8a7d8fd711e5;hp=cd01a96cdf9dbb9235038e9c700b79a30c2e1b1f src - http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=sensors;h