Commit Graph
187 Commits
Author SHA1 Message Date
Peter Barker 7ba7d7fd39 AP_SerialManager: annotate and correct parameter conversion comments
AP_SerialManager::convert_parameters() widens SERIALn_OPTIONS and
carried no annotation; added Jun-2025.

The pre-arm check's annotation read "Added May 2028", which is in the
future.  That conversion was authored 2025-06-02 and landed in master
2025-06-03, so Jun-2025 is correct.  Both are now in the standard form.
2026-08-31 08:18:26 +10:00
Iampete1 aca2000bbb AP_SerialManager: add device ID getter 2026-08-27 10:59:59 +10:00
Bob Long 99f8c40ae7 AP_SerialManager: add Range to baud param doc 2025-10-23 08:13:22 +11:00
Andrew Tridgell ce61506eff AP_SerialManager: removed PPP serial config from SerialManager
do it in the PPP driver, saves memory if unused
2025-06-28 09:24:42 +09:00
Andrew Tridgell 8466e95108 AP_SerialManager: allow for permanent passthrough
it is sometimes useful to setup a serial passthrough as permanent,
this allows for that by setting SERIAL_PASSTIMO to -1
2025-06-05 13:47:39 +10:00
Peter Barker 4811e29723 AP_SerialManager: add pre-arm check for serial manager 2025-06-03 16:16:43 +10:00
Peter Barker 891437074f AP_SerialManager: convert options to 32 bits 2025-06-03 16:16:43 +10:00
Peter Barker 28007e83e7 AP_SerialMananger: adjust metadata for moved options bits 2025-06-03 16:16:43 +10:00
Iampete1 4f6a931158 AP_SerialManager: set_protocol_and_baud call set_and_default on protocol and baud params 2025-05-13 10:13:06 +10:00
Iampete1 749e996547 AP_SerialManager: add IOMCU serial protocol to param docs 2025-05-13 10:13:06 +10:00
bugobliterator 3d5f925419 AP_SerialManager: add hide serial parameter define 2025-04-09 18:09:00 +10:00
Peter Barker d348ac0c62 AP_SerialManager: move serial port init of SBusOut protocol into SBusOut library 2025-04-02 05:41:49 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 73d8f1b7cd AP_SerialManager: fix baudrate metadata
The first field must be an integer, the second can be a string.
Not the other way around
When <= 2MBaud the number is in Kbits/s
When > 2 MBaud the number is in bit/s
2025-03-25 09:50:43 +09:00
Randy Mackay 1aacdc53ba AP_SerialManager: support 12500 baud rate
colcon build/test / build-test (push) Waiting to run
Cygwin Build / build (push) Waiting to run
ESP32 Build / build (esp32buzz, 10) (push) Waiting to run
ESP32 Build / build (esp32s3empty, 10) (push) Waiting to run
Macos Build / build (CubeOrange) (push) Waiting to run
Macos Build / build (sitl) (push) Waiting to run
QURT Build / build (push) Waiting to run
test ccache / build (10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Waiting to run
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (CubeRed-EKF2, 10, chibios) (push) Waiting to run
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (MatekF405-Wing, 10, chibios) (push) Waiting to run
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Waiting to run
test chibios / build (SOHW, 10, chibios) (push) Waiting to run
test chibios / build (build-options-defaults-test, 10, chibios) (push) Waiting to run
test chibios / build (configure-all, 10, chibios) (push) Waiting to run
test chibios / build (fmuv2-plane, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3, 10, chibios) (push) Waiting to run
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (iofirmware, 10, chibios) (push) Waiting to run
test chibios / build (new-check, 10, chibios) (push) Waiting to run
test chibios / build (periph-build, 10, chibios) (push) Waiting to run
test chibios / build (revo-bootloader, 10, chibios) (push) Waiting to run
test chibios / build (revo-mini, 10, chibios) (push) Waiting to run
test chibios / build (signing, 10, chibios) (push) Waiting to run
test chibios / build (stm32f7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7, 10, chibios) (push) Waiting to run
test chibios / build (stm32h7-debug, 10, chibios) (push) Waiting to run
test dds / build (sitl) (push) Waiting to run
test dds / build (stm32h7) (push) Waiting to run
test Linux SBC / build (bbbmini, armhf) (push) Waiting to run
test Linux SBC / build (bebop, armhf) (push) Waiting to run
test Linux SBC / build (bhat, armhf) (push) Waiting to run
test Linux SBC / build (canzero, armhf) (push) Waiting to run
test Linux SBC / build (erlebrain2, armhf) (push) Waiting to run
test Linux SBC / build (linux, base) (push) Waiting to run
test Linux SBC / build (navigator, armhf-musl) (push) Waiting to run
test Linux SBC / build (navigator64, aarch64) (push) Waiting to run
test Linux SBC / build (navio, armhf) (push) Waiting to run
test Linux SBC / build (navio2, armhf) (push) Waiting to run
test Linux SBC / build (pxf, armhf) (push) Waiting to run
test Linux SBC / build (pxfmini, armhf) (push) Waiting to run
test replay / build (replay, base) (push) Waiting to run
test replay / build (replay, clang) (push) Waiting to run
test scripts / build (astyle-cleanliness) (push) Waiting to run
test scripts / build (check_autotest_options) (push) Waiting to run
test scripts / build (logger_metadata) (push) Waiting to run
test scripts / build (param_parse) (push) Waiting to run
test scripts / build (python-cleanliness) (push) Waiting to run
test scripts / build (validate_board_list) (push) Waiting to run
test blimp / build (base) (push) Waiting to run
test blimp / build (clang) (push) Waiting to run
test blimp / autotest (sitltest-blimp) (push) Blocked by required conditions
test copter / build (base) (push) Waiting to run
test copter / build (clang) (push) Waiting to run
test copter / autotest (sitltest-copter-tests1a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1b) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1c) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1d) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests1e) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2a) (push) Blocked by required conditions
test copter / autotest (sitltest-copter-tests2b) (push) Blocked by required conditions
test copter / build-gcc-heli (push) Waiting to run
test copter / autotest-heli (sitltest-heli) (push) Blocked by required conditions
test ap_periph / build-gcc-ap_periph (push) Waiting to run
test ap_periph / autotest-can (sitltest-can) (push) Blocked by required conditions
test plane / build (base) (push) Waiting to run
test plane / build (clang) (push) Waiting to run
test plane / autotest (sitltest-plane-tests1a) (push) Blocked by required conditions
test plane / autotest (sitltest-plane-tests1b) (push) Blocked by required conditions
test plane / autotest (sitltest-quadplane) (push) Blocked by required conditions
test rover / build (base) (push) Waiting to run
test rover / build (clang) (push) Waiting to run
test rover / autotest (sitltest-balancebot) (push) Blocked by required conditions
test rover / autotest (sitltest-rover) (push) Blocked by required conditions
test rover / autotest (sitltest-sailboat) (push) Blocked by required conditions
test sub / build (base) (push) Waiting to run
test sub / build (clang) (push) Waiting to run
test sub / autotest (sitltest-sub) (push) Blocked by required conditions
test tracker / build (base) (push) Waiting to run
test tracker / build (clang) (push) Waiting to run
test tracker / autotest (sitltest-tracker) (push) Blocked by required conditions
test unit tests and sitl building / build (examples, base) (push) Waiting to run
test unit tests and sitl building / build (examples, clang) (push) Waiting to run
test unit tests and sitl building / build (sitl, base) (push) Waiting to run
test unit tests and sitl building / build (sitl, clang) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, base) (push) Waiting to run
test unit tests and sitl building / build (unit-tests, clang) (push) Waiting to run
2025-03-18 19:07:17 +09:00
Iampete1 03ee7f5a04 AP_SerialManager: add stats and logging for registered ports 2025-03-12 18:28:51 +11:00
bugobliterator d1f7695244 AP_SerialManager: add support for SerialProtocol_IOMCU 2025-02-27 20:11:40 +11:00
Randy Mackay 5813cc52e1 AP_SerialManager: add i-BUS Telemetry protocol param desc 2025-01-22 17:22:55 +11:00
Randy Mackay 8c2f599228 AP_SerialManager: alphabetise protocol param values 2025-01-15 14:54:14 +09:00
Peter Barker 05e5d2e6bb AP_SerialManager: move serial port init of Volz protocol into Volz library 2024-12-17 09:14:08 +11:00
Peter Barker 061097ac31 AP_SerialManager: add a method to set the default baud
this allows a library to change what the GCS will see in the parameter for a serial port's baud rate.
2024-12-17 09:14:08 +11:00
Peter Barker b65a5a904c AP_SerialManager: tweak error message 2024-08-06 11:36:33 +10:00
Peter Barker cbdbbf436c AP_SerialManager: add warning iffrsky already configured 2024-08-06 09:46:56 +10:00
Iampete1 a551b4f296 AP_SerialManager: remove Volz port config 2024-07-11 13:07:24 +10:00
Andrew Tridgell f532f7a9e6 AP_SerialManager: added docs for SERIALn_PROTCOL=PPP 2024-06-27 10:11:14 +10:00
Randy Mackay 19ea0944b1 AP_SerialManager: TYPE param renamed to MAVLink 2024-05-21 08:38:59 +10:00
Peter Barker b623b8ec94 AP_SerialManager: move serial_manager parameters up to base class 2024-02-29 12:12:19 +11:00
Andrew Tridgell 2cb177ef72 AP_SerialManager: added PPP serial type 2024-01-03 12:14:47 +11:00
Andrew Tridgell 6c2a7b8cfd AP_SerialManager: expose HAVE_SERIAL_xxx in config 2023-12-27 05:13:14 -07:00
Andrew Tridgell e58e8b861d AP_Serialmanager: added IMOUT uart type
# Conflicts:
#	libraries/AP_SerialManager/AP_SerialManager.cpp
#	libraries/AP_SerialManager/AP_SerialManager.h
2023-11-30 07:05:02 +11:00
Andrew Tridgell e63a2250ca AP_SerialManager: ensure registered ports are in sorted order
this avoids ordering issues if using both CAN and network serial ports
2023-11-22 17:19:12 +11:00
Andrew Tridgell 0ae5c9116c AP_SerialManager: added AP_SerialManager_config.h 2023-11-22 17:19:12 +11:00
Ryan Friedman 213cba86af AP_SerialManager: Add missing option for XRCE DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-20 08:40:06 +09:00
Andrew Tridgell 31fd43ba25 AP_SerialManager: fixed passthru with network ports 2023-11-17 10:54:24 -08:00
Andrew Tridgell f9f07912e6 AP_SerialManager: added register_port() API
allows another library to register a UART driver for exposing via
AP_SerialManager APIs
2023-11-17 10:54:24 -08:00
Andy Piper ad126cc96e AP_SerialManager: only enable configuration ports that are available 2023-09-26 11:31:08 +10:00
Andrew Tridgell a6055033ab AP_SerialManager: removed set_blocking_writes_all 2023-07-12 17:06:02 +10:00
Andy Piper 993da19f27 AP_SerialManager: check for incorrect usage of old HAL_SERIALx_PROTOCOL 2023-07-07 16:55:26 +10:00
Randy Mackay c41d5f4ff6 AP_SerialManager: improve OPTIONS desc for Swap bit 2023-05-17 17:34:10 +10:00
Randy Mackay e672a75776 AP_SerialManager: generalise SToRM32 serial protocol desc and enum 2023-05-17 17:34:10 +10:00
Peter Barker 8cfd9f8ef1 AP_SerialManager: consolidate AP_Periph serialmanager defaults 2023-05-16 10:16:10 +10:00
Peter Barker 530e665c4d AP_SerialManager: add missing include for GCS 2023-05-16 09:16:37 +10:00
Peter Barker ef657438fc AP_SerialManager: add and use AP_RCPROTOCOL_ENABLED 2023-05-16 09:16:37 +10:00
Henry Wurzburg b4f9992ab7 AP_SerialManager: normalize SerialManagers ports defaults to allow inclusion in hwdefs 2023-05-11 18:45:53 +10:00
Henry Wurzburg ba6d467c9d AP_SerialManager: allow SERIAL1 protocol to be hwdef defined 2023-04-08 14:02:29 -07:00
murata 0fedd83208 AP_SerialManager: Add 2Mbps for simulator 2023-01-03 12:52:07 +11:00
Peter Barker 798cc2633f AP_SerialManager: implement parameter CopyFieldsFrom and use it 2023-01-03 11:08:43 +11:00
Henry Wurzburg 0a33799216 AP_SerialManager: move multiple RC input error to pre-arm failure 2022-10-25 11:34:13 +11:00
Andy Piper 6b602cefec AP_SerialManager: only use the first defined serial port for RCIN 2022-10-18 11:20:25 +11:00
Henry Wurzburg 83a45661f1 AP_SerialManager: generalize EFI serial protocol name 2022-08-28 08:12:48 +10:00
xianglunkai b728b8179d AP_SerialManager:correct find_baudrate() function 2022-07-25 16:03:27 +10:00