72b72b72bget fields command, Preamble, Packet type – Moog Crossbow NAV440 Series User Manual

Page 91: Length, Payload, Termination, Byte offset, Name, Format, Scaling

Advertising
background image

 

 

 

 

 

ge 91

NAV440 User Manual 

7430‐0131‐01 Rev. F 

Pa

 
 

RF Payload Contents 

Byte Offset 

mat 

ling 

its 

Name 

For

Sca

Un

Description 

field1Data 

U2 

— 

— 

The second field ID’s data read 

… 

… 

U2 

— 

— 

… 

numFields*4 ‐3 

field… 

U2 

— 

— 

The last field ID read 

numFields*4 ‐1 

field…Data 

U2 

— 

— 

The last field ID’s data read 

Get Fields Command 

Table 77  Get Fields 

Get Fields (‘GF’ = 0x4746) 

Preamble  Packet Type 

Length 

Payload 

Termination 

0x5555 

0x4746 

1+numFields*2  <GF Data> 

CRC (U2)> 

<

This command allows the user to get the unit’s current configuration fields.  NumFields is the number of fields to get.  
The field0, field1, etc. are the field IDs to get.  GF may be used to get configuration, calibration, and algorithm fields 

from RAM.  Multiple algorithm fields will not necessarily be from the same algorithm iteration.  If at least one field is 
successfully collected, the unit will respond with a get fields response with data containing the field IDs of the 

successfully received fields.   
If any field is unable to be received, the unit will respond with an error response.  Note that both a get fields and an 

rror response may be received as the result of a get fields command.   

e
 

Table 78  Get Fields  Payload Contents 

GF Payload Contents 

Byte Offset 

Name 

Format 

Scaling  Units 

Description 

numFields 

U1 

— 

— 

The number of fields to get 

field0 

U2 

— 

— 

The first field ID to get 

field1 

U2 

— 

— 

The second field ID to get 

… 

… 

U2 

— 

— 

More field IDs to get 

numFields*2 – 

Field… 

U2 

— 

— 

The last field ID to get 

 

Get Fields Response 

Table 79  Get Fields  Response 

Get Fields (‘GF’ = 0x4746) 

Preamble  Packet Type 

Length 

Payload 

Termination 

0x5555 

0x4746 

1+numFields*4  <GF Data> 

<CRC (U2)> 

The unit will send this packet in response to a get fields request if the command has completed without errors. 

Advertising