@springfield/ham-radio-utils 4.5.1 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,8 @@
40
40
  "receiveFrequency": { "type": "string", "minLength": 1 },
41
41
  "transmitFrequency": { "type": "string", "minLength": 1 },
42
42
  "receiveTone": { "type": "string", "minLength": 1 },
43
- "transmitTone": { "type": "string", "minLength": 1 }
43
+ "transmitTone": { "type": "string", "minLength": 1 },
44
+ "extras": { "type": "string", "minLength": 1 }
44
45
  },
45
46
  "additionalProperties": false
46
47
  },
@@ -105,7 +106,8 @@
105
106
  "required": ["kind", "length"],
106
107
  "properties": {
107
108
  "kind": { "const": "ascii" },
108
- "length": { "type": "integer", "minimum": 1 }
109
+ "length": { "type": "integer", "minimum": 1 },
110
+ "pad": { "type": "integer", "minimum": 0, "maximum": 255 }
109
111
  },
110
112
  "additionalProperties": false
111
113
  },
@@ -162,6 +164,32 @@
162
164
  "reverseOffset": { "type": "integer" }
163
165
  },
164
166
  "additionalProperties": false
167
+ },
168
+ {
169
+ "type": "object",
170
+ "required": ["kind", "values"],
171
+ "properties": {
172
+ "kind": { "const": "ctcss-index" },
173
+ "values": {
174
+ "type": "array",
175
+ "items": { "type": "integer" },
176
+ "minItems": 1
177
+ }
178
+ },
179
+ "additionalProperties": false
180
+ },
181
+ {
182
+ "type": "object",
183
+ "required": ["kind", "values"],
184
+ "properties": {
185
+ "kind": { "const": "dcs-index" },
186
+ "values": {
187
+ "type": "array",
188
+ "items": { "type": "integer" },
189
+ "minItems": 1
190
+ }
191
+ },
192
+ "additionalProperties": false
165
193
  }
166
194
  ]
167
195
  },
@@ -172,7 +200,7 @@
172
200
  "id": { "type": "string", "minLength": 1 },
173
201
  "type": {
174
202
  "type": "string",
175
- "enum": ["u8", "u16", "bits", "char"]
203
+ "enum": ["u8", "u16", "u32", "bits", "char"]
176
204
  },
177
205
  "width": { "type": "integer", "minimum": 1, "maximum": 8 },
178
206
  "reserved": { "type": "boolean" },
@@ -194,6 +222,8 @@
194
222
  },
195
223
  "count": { "type": "integer", "minimum": 1 },
196
224
  "stride": { "type": "integer", "minimum": 1 },
225
+ "groupSize": { "type": "integer", "minimum": 1 },
226
+ "groupPad": { "type": "integer", "minimum": 0 },
197
227
  "emptyWhen": { "$ref": "#/definitions/emptyWhen" },
198
228
  "clearEmpty": { "type": "boolean" }
199
229
  },
@@ -120,6 +120,10 @@
120
120
  "odd"
121
121
  ],
122
122
  "default": "none"
123
+ },
124
+ "rtscts": {
125
+ "type": "boolean",
126
+ "description": "Hardware RTS/CTS flow control (Kenwood TH-D74 clone on macOS)"
123
127
  }
124
128
  }
125
129
  },
@@ -270,6 +274,11 @@
270
274
  "required": [
271
275
  "expect"
272
276
  ]
277
+ },
278
+ {
279
+ "required": [
280
+ "setBaudRate"
281
+ ]
273
282
  }
274
283
  ],
275
284
  "additionalProperties": false,
@@ -289,6 +298,12 @@
289
298
  "description": "Timeout in milliseconds",
290
299
  "minimum": 1,
291
300
  "default": 5000
301
+ },
302
+ "setBaudRate": {
303
+ "type": "integer",
304
+ "description": "Switch serial baud rate before send/expect (TH-D74 clone transfers at 57600)",
305
+ "minimum": 1200,
306
+ "maximum": 115200
292
307
  }
293
308
  }
294
309
  },