Skip to content

Latest commit

 

History

History
131 lines (117 loc) · 7.08 KB

File metadata and controls

131 lines (117 loc) · 7.08 KB

Vario Displsay

Name                                         vario_displsay                     
Object Id                                    4                                  
Preffered IDs for Specific Datapoints        0x280 - 0x28f                      
Preffered IDs for Generic Datapoints         0x680 - 0x68f                      
Comment                                      Datagrams of a 57mm, 80mm Vario Display

ID 0x280 Frequency, volume and duty-cycle for the sound output

Name: sound
Object-ID Version: 0
Type: Data Object
Interval: 100 ms
Length: 6 Bytes
Dynamic Id: Id(Heartbeat) - 0x400 + 0x00

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   frequency                u16       hertz                                        
2   duty_cycle               u16       oscilations                                  
4   volume                   u8        db                                           
5   continuous               bool      true, false                                  

ID 0x281 Voltage measured by device an PCB temperature

Name: volt_temp
Object-ID Version: 0
Type: Data Object
Interval: 1000 ms
Length: 8 Bytes
Dynamic Id: Id(Heartbeat) - 0x400 + 0x01

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   voltage                  f32       V                                            
4   temperature              f32       °C                                           

ID 0x680 Heartbeat

Name: heartbeat
Object-ID Version: 0
Type: Data Object
Interval: 1000 ms
Length: 8 Bytes
Dynamic Id: Id(Heartbeat) + 0x00

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   object_id                u16       Enumeration, see CAN Specificatiion          
2   object_id_generation     u16       Generation of Object Id                      
4   dev_uid                  u8[4]     DevUid                                       

ID 0x681 Hardware and Firmware Version

Name: version
Object-ID Version: 0
Type: Data Object
Interval: if required by remote frame request, check exact id
Length: 8 Bytes
Dynamic Id: Id(Heartbeat) + 0x01

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   hw_version               HwVersion .                                            
4   fw_version               FwVersion .                                            

ID 0x682 Set System Wide Config Item

Name: set_config
Object-ID Version: 0
Type: Service
Interval: if required
Length: 8 Bytes
Dynamic Id: Id(Heartbeat) + 0x02

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   config_id                u16       Enumeration                                  
                                       0: volume_vario                              
                                       1: mac_cready                                
                                       2: water_ballast                             
                                       3: bugs                                      
                                       4: qnh                                       
                                       5: pilot_weight                              
                                       6: vario_mode_control                        
                                       7: tc_climb_rate                             
                                       8: tc_speed_to_fly                           
2   config_data              u8[6]     Specific to the item                         
                                       0: volume_vario:       u8 unit db, u8[5] reserved
                                       1: mac_cready:         u8[2] reserved, f32 unit m/s
                                       2: water_ballast:      u8[2] reserved, f32 unit fraction
                                       3: bugs:               u8[2] reserved, f32 unit factor
                                       4: qnh:                u8[2] reserved, f32 unit Pa
                                       5: pilot_weight:       u8[2] reserved, f32 unit kg
                                       6: vario_mode_control  u8: 0 Vario, 1 SpeedToFly, 2 Auto
                                       7: tc_climb_rate:      u8[2] reserved, f32 unit s
                                       8: tc_speed_to_fly:    u8[2] reserved, f32 unit s

ID 0x683 Transfer of Binary Data Blocks

Name: blob_upload
Object-ID Version: 0
Type: Service
Interval: if required
Length: 8 Bytes
Dynamic Id: Id(Heartbeat) + 0x03

No  Datapoint                Type      Unit / Comment                               
--------------------------------------------------------------------------------------------
0   upload_state             u3        0 type_of_transmission                       
                                       1 length                                     
                                       2 crc                                        
                                       3 data                                       
                                       4 last data                                  
                                       5 ack_transmission                           
0.3 block_count              u5        block counter                                
1   content                  u8[7]     upload_state 0: u8[3] reserved (u8=0), u32 type_of_transmission
                                       upload_state 1: u8[3] reserved (u8=0), u32 blob_length
                                       upload_state 2: u8[3] reserved (u8=0), u32 crc
                                       upload_state 3: u8[7] blob data              
                                       upload_state 4: u8[7] blob data              
                                       upload_state 5: u8[3] reserved (=0), u32 requested_block
                                       _                                            
                                       Type of transmission:                        
                                       0 NMEA GPS data                              
                                       1 NMEA Flarm data                            
                                       2 Larus configuration data                   
                                       3 Larus firmware image