2014年5月1日木曜日

UDP Ver 3.3

TPMSをセンサー仕様に準拠

Airmoniと違って電池残量とかは乗ってこないなら予約から消すかな。


typedef struct udpdata_t{
    Byte sid[8];                 
    //----------------------------
    unsigned short rpm;         
    unsigned short speed;        
    Byte eg_status;              
    Byte volt;                    
    Byte eg_load;    /
    Byte timingadvance;          
    //----------------------------
    Byte vacpress; // RESERVED
    Byte vactemp;                
    Byte watertemp;            
    Byte fuel; // RESERVED
    short innertemp;
    short outertemp;
    //-----------------------------
    short MAGNET_X;     
    short MAGNET_Y;     
    Byte sw_c;
    Byte sw_c_lp; 
    short MAGNET_Z;
    //----------------------------
    Byte lati_dd;                
    Byte lati_mm;                
    unsigned short lati_mmmm;    
    Byte longi_dd;               
    Byte longi_mm;               
    unsigned short longi_mmmm;   
    //----------------------------
    unsigned int pluse;          
    //----------------------------
    unsigned short  Tire_press_FR;  // NEW      1LSB=PSI (0=0PSI  65536=65536 PSI)
    unsigned short  Tire_press_FL;  // NEW      
    unsigned short  Tire_press_RR; // NEW
    unsigned short  Tire_press_RL; // NEW
    Byte Tire_temp_FR;  // NEW                         1LSB=1℃ (0=-50℃  255=205℃)
    Byte Tire_temp_FL;  // NEW
    Byte Tire_temp_RR;  // NEW
    Byte Tire_temp_RL;  // NEW
    Byte TPMS_Batt_FR;  // RESERVED
    Byte TPMS_Batt_FL;  // RESERVED
    Byte TPMS_Batt_RR;  // RESERVED
    Byte TPMS_Batt_RL;  // RESERVED
    //----------------------------
    Byte flag;                   
    Byte gps;                    
    Byte sw_a;                   
    Byte sw_a_lp;                
    Byte sw_b;                   
    Byte sw_b_lp;                
    Byte sw_ab;                  
    Byte sw_ab_lp;               
    //----------------------------
    unsigned short oilpress;     
    unsigned short oiltemp;      
    


}udpdata;

0 件のコメント:

コメントを投稿