Add front end gain message (ID 191 or 0xBF hex)
@@ -621,3 +621,27 @@ definitions:
fill: u8
desc: |
Amplitude values (in the above units) of points in this packet
+
+ - MSG_FRONT_END_GAIN:
+ id: 0x00BF
+ short_desc: RF AGC status
+ desc: |
+ This message describes the gain of each channel in the receiver frontend. Each
+ gain is encoded as a non-dimensional percentage relative to the maximum range
+ possible for the gain stage of the frontend. By convention, each gain array
+ has 8 entries and the index of the array corresponding to the index of the rf channel
+ in the frontend. A gain of 127 percent encodes that rf channel is not present in the hardware.
+ A negative value implies an error for the particular gain stage as reported by the frontend.
+ fields:
+ - rf_gain:
+ type: array
+ size: 8
+ fill: s8
+ units: percent
+ desc: RF gain for each frontend channel
+ - if_gain:
+ type: array
+ size: 8
+ units: percent
+ fill: s8
+ desc: Intermediate frequency gain for each frontend channel
