refactor(drivers/telemetry/iridiumsbd): convert params.c to module.yaml

Convert 1 parameter file(s) from legacy C format to YAML
module configuration.
This commit is contained in:
Jacob Dahl
2026-03-17 21:55:33 -08:00
committed by Jacob Dahl
parent 86526ab067
commit 7a91fb9603
3 changed files with 35 additions and 32 deletions
@@ -39,5 +39,6 @@ px4_add_module(
IridiumSBD.h
MODULE_CONFIG
module.yaml
iridiumsbd_params.yaml
DEPENDS
)
@@ -1,32 +0,0 @@
/**
* Satellite radio read interval. Only required to be nonzero if data is not sent using a ring call.
*
* @unit s
* @min 0
* @max 5000
* @group Iridium SBD
*/
PARAM_DEFINE_INT32(ISBD_READ_INT, 0);
/**
* Iridium SBD session timeout
*
* @unit s
* @min 0
* @max 300
* @group Iridium SBD
*/
PARAM_DEFINE_INT32(ISBD_SBD_TIMEOUT, 60);
/**
* Time the Iridium driver will wait for additional mavlink messages to combine them into one SBD message
*
* Value 0 turns the functionality off
*
* @unit ms
* @min 0
* @max 500
* @group Iridium SBD
*/
PARAM_DEFINE_INT32(ISBD_STACK_TIME, 0);
@@ -0,0 +1,34 @@
module_name: iridiumsbd
parameters:
- group: Iridium SBD
definitions:
ISBD_READ_INT:
description:
short: Iridium SBD read interval
long: Satellite radio read interval. Only required to be nonzero if data is
not sent using a ring call
type: int32
default: 0
unit: s
min: 0
max: 5000
ISBD_SBD_TIMEOUT:
description:
short: Iridium SBD session timeout
type: int32
default: 60
unit: s
min: 0
max: 300
ISBD_STACK_TIME:
description:
short: Iridium SBD message stacking wait time
long: |-
Time the Iridium driver will wait for additional mavlink messages to combine them into one SBD message
Value 0 turns the functionality off
type: int32
default: 0
unit: ms
min: 0
max: 500