feat: pin sends to testowy channel (index 2), never primary (v0.1.3) (#5)
CI / build + unit (push) Successful in 36s

feat: pin sends to testowy channel (index 2), never primary (v0.1.3)
This commit was merged in pull request #5.
This commit is contained in:
2026-09-23 22:06:01 +02:00
parent 266aadf635
commit 3062f40899
7 changed files with 72 additions and 6 deletions
+2 -1
View File
@@ -64,6 +64,7 @@ export async function decodeFromRadio(
export async function buildTextToRadio(
to: number,
text: string,
channelIndex: number,
): Promise<{ bytes: Uint8Array; id: number }> {
const P = await loadProto();
let id = Math.floor(Math.random() * 0x100000000) >>> 0;
@@ -72,7 +73,7 @@ export async function buildTextToRadio(
to,
id,
wantAck: true,
channel: 0,
channel: channelIndex,
payloadVariant: {
case: 'decoded',
value: {