2011/04/19

UDPデータ (Rev1.8ドラフト)

引き続き業務連絡な感じで。

FLAGに無駄1バイト使ってた。


最近SQLServerとかばっかの仕事だったからだよ。いやあねぇ。

==========================================================
- - - - - - 
Byte[8]            ID                     //ただし[7]は\0固定

- - - - - - 
unsigned short  エンジン回転数   //LSB=1rpm
unsigned short  車速           //LSB=0.01km/h  
Byte               スロットル開度     //LSB=1%    
Byte               燃料                    //LSB=1%  
Byte               空燃比                //LSB=0.1%  
Byte               電圧                    //LSB=0.1V
- - - - - - 
unsigned short  吸気圧              //LSB=0.1Kpa  (絶対圧)
unsigned short  吸気温度     //LSB=0.1℃
unsigned short  水温        //LSB=0.1℃
unsigned short  排気温度     //LSB=1℃
- - - - - - 
unsigned short  室温        //LSB=0.1℃
unsigned short  外気温       //LSB=0.1℃
unsigned short  O2センサー        //LSB=0.1V
unsigned short  方位        //LSB=0.1 磁北=0 東=90
- - - - - - 
Byte               緯度DDD                 //NMEA Format
Byte               緯度MM                   //NMEA Format
short              緯度.MMMM             //【N】MSB=0/【S】MSB=1
Byte               経度DD                   //NMEA Format
Byte               経度MM                  //NMEA Format
short              経度MMMM             //【E】MSB=0/【W】MSB=1
- - - - - - 
unsigned int     車速パルス       //LSB=1パルス(64パルス計算) 
- - - - - - 
unsigned short  タイヤ空気圧(FR)       //LSB=0.1Kgm/cm2
unsigned short  タイヤ空気圧(FL)       //LSB=0.1Kgm/cm2
unsigned short  タイヤ空気圧(RR)      //LSB=0.1Kgm/cm2
unsigned short  タイヤ空気圧(RL)      //LSB=0.1Kgm/cm2
- - - - - - 
Byte               タイヤ空気温度(FR)       //LSB=1℃
Byte               タイヤ空気温度(FL)       //LSB=1℃
Byte               タイヤ空気温度(RR)       //LSB=1℃
Byte               タイヤ空気温度(RL)       //LSB=1℃
Byte               TPMS電池残量(FR)       //0(空)-3(満)
Byte               TPMS電池残量(FL)       //0(空)-3(満)
Byte               TPMS電池残量(RR)       //0(空)-3(満)
Byte               TPMS電池残量(RL)       //0(空)-3(満)
- - - - - - 
Byte               ステータスBit        ///+0(LSB)  ライト
                                     ///+1   GPS捕捉
                                     ///+2   後退信号
                                     ///+3   サイドブレーキ 
                                     ///+4   可変バルブタイミング
                                     ///+5   GPSステータス   1=Active/0=Void
                                     ///+6  2次排気エア作動  ///1=作動中,0=未作動

Byte                 GPS衛星捕捉数   ///0-32(が上限だっけ)  
Byte       Reserved
Byte       Reserved1
Byte       Reserved2

Byte       Reserved3

Byte       Reserved4

Byte       Reserved5

- - - - - - 
unsigned short  Reserved 燃圧     //LSB=1Kpa  (絶対圧) (取得不可)
unsigned short Reserved 油圧     //LSB=1Kpa  (絶対圧) (取得不可)
unsigned short  Reserved 油温  //LSB=0.1℃  (取得不可)
=========================================================

0 件のコメント:

コメントを投稿