Skip to content

RepeaterCliOptions

Defined in: src/features/repeaterAdmin.ts:506

Options for repeaterSendCli.

optional expectReply?: boolean;

Defined in: src/features/repeaterAdmin.ts:517

Wait for the repeater’s CLI reply. Default true — current behavior. Set false for commands the firmware never answers (reboot, poweroff, clkreboot, start ota): the handler reboots or powers down instead of writing a reply, and the firmware only transmits one when strlen(reply) > 0. Such a send registers no reply awaiter — it resolves '' the moment the radio confirms the send (RESP_SENT) and rejects as soon as the send definitively fails. The timer it arms bounds that send confirmation rather than a reply, which is why the default drops from CLI_REPLY_TIMEOUT_MS to the much shorter ADMIN_SENT_TIMEOUT_MS.


optional signal?: AbortSignal;

Defined in: src/features/repeaterAdmin.ts:524

Abort the awaiter; the promise rejects with signal.reason. The command may already be on the air — aborting drops our awaiter and frees the per-repeater slot, it does not recall the send.


optional timeoutMs?: number;

Defined in: src/features/repeaterAdmin.ts:520

Override the wait. Defaults to CLI_REPLY_TIMEOUT_MS when expectReply is true, ADMIN_SENT_TIMEOUT_MS when it is false.