Line 18: |
Line 18: |
| | | |
| === Type Frame === | | === Type Frame === |
− | The Type frame, the first frame in | + | The Type frame, the first frame in a Gesture, is a 1 bit frame that determines whether a Gesture is a request from one board to another, or a response from one board from a prior request. This frame is a 0 for a request, and a 1 for a response. |
| + | |
| + | === Source & Destination Identifiers === |
| + | The Source & Destination Identifiers, the second and third frames in a Gesture, are 8 bit frames that indicate the source of the Gesture. Each board developed for the HONEY architecture is catalogued and given a unique identifier code. These unique identifiers allow boards to identify who a request or response from, and respond accordingly. Note that each unique board is given a unique identifier -- The Count, the first HONEY-compliant avionics board, has the identifier of 0, but a subsequent revision of avionics would acquire a new identifier code. This allows boards to be aware of the specific revisions that are flying in the stack -- allowing them to dynamically take advantage of the utilities of newer boards as they are added. The identifiers are encoded into the STINGR suite, and one can call a simple function to determine what board was the source or destination, without memorizing or encoding any of these identifiers in local board code. |
| + | |
| + | The following are the current identifier codes, as of writing (June 21, 2017). |
| + | |
| + | {| class="wikitable" |
| + | |- |
| + | |The Count (Gen 4 Avionics) |
| + | |00000000 |
| + | |- |
| + | |Biscuit (Gen 2 BMS) |
| + | |00000001 |
| + | |- |
| + | |Macaw (Gen 1 Radio) |
| + | |00000010 |
| + | |} |
| | | |
| | | |
| == Core Functions == | | == Core Functions == |