Skip to content

0.1.10: send the form-field style's fields (NO-FREQ-SENT) - #13

Merged
robotastic merged 1 commit into
mainfrom
form-fields
Nov 22, 2026
Merged

robotastic merged 1 commit into
mainfrom
form-fields

Conversation

@robotastic

Copy link
Copy Markdown
Contributor

Fixes TrunkRecorder/trunk-recorder-pro#198, and is likely the real cause of #6.

Broadcastify's upload spec (https://github.com/blantonl/bcfy-calls-upload) says each node has an upload style that Broadcastify sets from the recorder it was approved with. The request doesn't pick it.

  • Trunk Recorder style reads the call JSON sent as metadata. That's all the plugin sent before.
  • Form-field style (SDRTrunk, Trunking Recorder, "Generic") reads tg, freq (MHz), ts, callDuration and src.

The #198 node is shared with Trunking Recorder, so it's a form-field node. v0.1.9 added tg, and the next missing field was freq.

Changes

  • Every upload also sends tg (a patch's talkgroups, its own first), freq in MHz, ts (the start sent in the metadata, so the 15 s timing check lines up) and src (the first radio known).
  • Answers follow the spec's table:
    • The body is read whatever the HTTP status (1 No API Key Specified comes with 403).
    • NO-*-SENT, SLOT_ENTRY_ERROR, No-*-Table-Entry-For-Upload, metadata, encode and duration errors fail at once instead of retrying.
    • Skip-Unit-To-Unit-* is a skip.
    • Uploads-not-enabled-for-this-system and Unsupported-Node-Type-* stop the node like a bad key.
  • README: the extra fields; conventional slots are listed on the node's management page.

Not tested against a live node. The reporter on #198 will be asked to try it.

Tested: cargo fmt --check, clippy -D warnings, cargo test (17).

🤖 Generated with Claude Code

…y's spec has them

Broadcastify sets each node's upload style from the recorder it was
approved with. A node set up for SDRTrunk or Trunking Recorder reads
tg, freq (MHz), ts, callDuration and src, and answered NO-TG-SENT (#6)
and then NO-FREQ-SENT (TrunkRecorder/trunk-recorder-pro#198) without
them. Each upload now sends them beside the call JSON.

Answers follow the spec's table: the body is read whatever the HTTP
status; missing fields, unknown slots and metadata errors fail at once;
unit-to-unit calls are skipped; a node turned off is a refusal.

Spec: https://github.com/blantonl/bcfy-calls-upload

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@robotastic
robotastic merged commit 6205357 into main Nov 22, 2026
1 check passed
@robotastic
robotastic deleted the form-fields branch November 22, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broadcastify Calls v0.1.9 returns NO-FREQ-SENT on every upload (trunked P25 system)

1 participant