Publish on 'test' channel (index 3) by default (#10)
CI / build + unit (push) Successful in 34s

This commit was merged in pull request #10.
This commit is contained in:
2026-09-24 19:44:11 +02:00
parent f640f6658c
commit 108aa400d3
7 changed files with 23 additions and 19 deletions
+5 -5
View File
@@ -57,7 +57,7 @@ export class MeshController {
@ApiOperation({
summary: 'Send a text message over the mesh',
description:
'Queues a TEXT_MESSAGE_APP packet to the resolved target (node number, node name, or broadcast). DMs are unicast and wantAck-tracked via GET /api/messages; broadcasts stay pending because firmware strips want_ack. All sends ride the pinned test channel (index 2, "testowy" — never the primary channel) regardless of DM or broadcast, since modern firmware PKI handles unicast encryption/channel anyway. Returns the Meshtastic packet id.',
'Queues a TEXT_MESSAGE_APP packet to the resolved target (node number, node name, or broadcast). DMs are unicast and wantAck-tracked via GET /api/messages; broadcasts stay pending because firmware strips want_ack. All sends ride the pinned test channel (index 3, "test" — never the primary channel) regardless of DM or broadcast, since modern firmware PKI handles unicast encryption/channel anyway. Returns the Meshtastic packet id.',
})
@ApiResponse({
status: 200,
@@ -93,8 +93,8 @@ export class MeshController {
example: [
{ index: 0, name: 'Default', uplinkEnabled: true, downlinkEnabled: true },
{
index: 2,
name: 'testowy',
index: 3,
name: 'test',
uplinkEnabled: false,
downlinkEnabled: false,
},
@@ -118,8 +118,8 @@ export class MeshController {
id: 456789,
dir: 'tx',
to: 42,
text: 'hello testowy',
channel: 2,
text: 'hello test',
channel: 3,
at: 1758000123456,
status: 'delivered',
},