You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contacts:
- extended info field to 15 bytes, padding the structure to 48 byte and to leave space for future extensions
Channels:
- extended info to 9 bytes, padding the structure to 96 byte and to leave space for future extensions
- dropped the 20kHz channel bandwidth
M17 channel info block:
- dropped split TX and RX CAN and moved to a unique CAN field
- merged CAN and channel mode into the same 8 bit field
- merged encryption type and GNSS transmission in the same 8 bit field
| mode | uint8_t | Mode that the contact is intended to be used for|
78
-
| info |[m17Contact_t](#m17contact_t-type-description)or[dmrContact_t](#dmrcontact_t-type-description)| Either contains the m17 info or the dmr info, as described further below|
| traits | uint8_t | First two bits are channel bandwidth (refer to [Bandwidth lookup table](#bandwidth-lookup-table)), then one bit indicating true if the channel is RX only|
| infoblock |[fmInfo_t](#fminfo_t-type-description), [dmrInfo_t](#dmrinfo_t-type-description), or [m17Info_t](#m17info_t-type-description)| Information block for the channel |
| infoblock |uint8_t[9]| Information block for the channel, operating mode dependent. See [fmInfo_t](#fminfo_t-type-description), [dmrInfo_t](#dmrinfo_t-type-description), or [m17Info_t](#m17info_t-type-description)|
149
149
150
150
#### Bandwidth lookup table
151
151
152
152
| Bits | Bandwidth (kHz) |
153
153
| ---- | --------------- |
154
154
| 0b00 | 12.5 |
155
-
| 0b01 |20|
156
-
| 0b10 |25 |
155
+
| 0b01 |25|
156
+
| 0b10 |Reserved|
157
157
| 0b11 | Reserved |
158
158
159
159
#### geo_t type description
@@ -183,12 +183,11 @@ For DMR contacts, this section is laid out in the following manner:
| can | uint8_t | RX and TX channel access numbers (CANs) used, as defined by [M17 Specification section 3.1.3](https://spec.m17project.org/), with the RXvalue represented in the first half (e.g. an RX CAN of 0 and TX CAN of 2 is represented as 0b00000010) |
189
-
| mode_encr | uint8_t | Channel operation mode and encryption mode, as defined by [M17 channel modes lookup table](#m17-channel-modes-lookup-table) and [M17 channel encryption lookup table](#m17-channel-encryption-lookup-table)|
190
-
| gps_mode | uint8_t | Boolean whether GPS position should be embedded in transmit payload |
191
-
| contact_index | uint16_t | Index to retrieve contact from list for reverse lookups |
| config | uint8_t | Bit 0:3 channel access number (CAN), as defined by [M17 Specification section 3.1.3](https://spec.m17project.org/). Bit 4:7 channel operation mode, as defined by [M17 channel modes lookup table](#m17-channel-modes-lookup-table)|
189
+
| encr_gnss | uint8_t | Bit 0:3 encryption mode, as defined by [M17 channel encryption lookup table](#m17-channel-encryption-lookup-table). Bit 4: embed GPS position in transmit payload. Bit 5:7 reserved |
190
+
| contact_index | uint16_t | Index to retrieve contact from list for reverse lookups |
192
191
193
192
#### M17 channel modes lookup table
194
193
@@ -298,7 +297,7 @@ For DMR channels, this section is laid out in the following manner:
@@ -355,6 +354,7 @@ The Bank structure is variable in length depending on the number of channels. So
355
354
| ch_count | uint16_t | Count of all of the channels in the bank |
356
355
| channels | uint16_t[n]| The indexes of the channels that are present in the bank |
357
356
357
+
358
358
#### Layout
359
359
360
360
This structure is repeated for each bank present. Its start is immediately after the preceding section, and the memory locations referenced below are relative to that. The final field _channels_ is optional and variable in size depending on the _ch_count_.
0 commit comments