Andrew Tridgell
ec806af44f
AP_Networking: disable assert messages for production builds
...
The string description for the asserts was costing us a lot of flash
for not a lot of gain. By not displaying those strings in production
builds we save about 11k
2025-12-01 19:04:09 -06:00
Andrew Tridgell
58cdf5a009
AP_Networking: fixed LWIP to produce a consistent build with --out
...
don't give __FILE__, just rely on __LINE__ for these very rare debug
events
2025-11-26 13:27:54 +11:00
Peter Barker
3e3c273229
AP_Networking: correct starting of CAN multicast server
...
same option bit was being used in both cases
2025-10-07 11:13:24 +11:00
Randy Mackay
c8fca630ad
AP_Networking: init fix if PPP Gateway is defined out
2025-10-01 16:52:07 +09:00
Randy Mackay
363d2ae0bc
AP_Networking: PPP gateway enabled on boards with native ethernet
2025-10-01 16:52:07 +09:00
Andrew Tridgell
98ba8375c9
AP_Networking: 3s timeout on TCP connect
2025-09-03 15:17:39 +01:00
Andrew Tridgell
41d22d0ee5
AP_Networking: increase stack for network ports
...
I have seen a stack overflow on a TCP client connection, this fixes it
2025-08-21 07:00:25 +10:00
Andrew Tridgell
43d56ad2d0
AP_Networking: fixed build error on SITL
2025-08-19 22:23:22 -05:00
Andrew Tridgell
1b31fe6bc6
AP_Networking: allow for network capture
...
allows for capture of ethernet or PPP traffic for debugging
2025-08-09 06:14:44 +10:00
Tom Pittenger
ed6a0e9e55
AP_Networking: cache port type in init
2025-08-05 13:49:18 -07:00
Andrew Tridgell
bcc5be1e0d
AP_Networking: support multiple PPP links
...
this allows for multiple PPP interfaces, so we can have a
PPP<->ethernet bridge and an LTE modem (or other PPP device) at the
same time
2025-07-13 13:31:59 +10:00
Andrew Tridgell
ba82b6815d
AP_Networking: add options to control PPP timeouts
...
some PPP daemons are sensitive to how we handle timeouts. This gives
options to disable the data timeout and echo limit to maximise
compatibility with a range of PPP daemon implementations
2025-06-28 09:24:42 +09:00
Christian Clauss
dc9446af62
wscript: Add # flake8: noqa linter directive
2025-06-20 20:30:15 +10:00
Andrew Tridgell
565fc9ae08
AP_Networking: make PPP much more robust
...
this fixes two key issues with PPP:
- if we lost the link (eg. serial cable unplugged) then it did not
properly restart the link when the cable is plugged back in
- if using hardware flow control and the UART write buffer fills up
then we would loop sleeping with the TCPIP lock held, which means if
the main thread tries to send an IPv4 packet then it could block on
the TCPIP lock, and we would watchdog. This is now limited to 1ms max
2025-06-16 10:24:38 +10:00
bugobliterator
7be24009c7
AP_Networking: fallback to PPP backend when ethernet PHY based backend is unavailable on ChibiOS boards
2025-04-25 12:09:49 +10:00
Randy Mackay
2a5bc6223e
AP_Networking: parm fix for ipaddr 3rd octet
colcon build/test / build-test (push) Has been cancelled
Cygwin Build / build (push) Has been cancelled
ESP32 Build / build (esp32buzz, 10) (push) Has been cancelled
ESP32 Build / build (esp32s3empty, 10) (push) Has been cancelled
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
QURT Build / build (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRed-EKF2, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test replay / build (replay, base) (push) Has been cancelled
test replay / build (replay, clang) (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test ap_periph / build-gcc-ap_periph (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test unit tests and sitl building / build (examples, base) (push) Has been cancelled
test unit tests and sitl building / build (examples, clang) (push) Has been cancelled
test unit tests and sitl building / build (sitl, base) (push) Has been cancelled
test unit tests and sitl building / build (sitl, clang) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, base) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test ap_periph / autotest-can (sitltest-can) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
test environment setup / build (bookworm, debian) (push) Has been cancelled
test environment setup / build (bullseye, debian) (push) Has been cancelled
test environment setup / build (focal, ubuntu) (push) Has been cancelled
test environment setup / build (jammy, ubuntu) (push) Has been cancelled
test environment setup / build (latest, archlinux) (push) Has been cancelled
test environment setup / build (noble, ubuntu) (push) Has been cancelled
test environment setup / build-alpine (push) Has been cancelled
test coverage / build (coverage, base, coverage) (push) Has been cancelled
test coverage / build (sitltest-can, periph) (push) Has been cancelled
test coverage / finish (push) Has been cancelled
2025-03-28 13:35:13 +09:00
Iampete1
4c32f4173a
AP_Networking: Port: track stats
2025-03-12 18:28:51 +11:00
bugobliterator
51471a0a7e
AP_Networking: make can multicast an endpoint by default
...
also add option to enable multicast with bridging to CAN bus in application
and disabled in bootloader
2025-02-05 10:23:46 +11:00
Peter Barker
226fc5c53c
AP_Networking: correct closing comment on #if
2025-01-07 12:39:42 +11:00
bugobliterator
42e2e23464
AP_Networking: fix memory error generated by CAN mcast driver
2024-12-18 21:48:54 +11:00
Randy Mackay
9d9eaa3150
AP_Networking: default IP to 192.168.144.x
2024-12-10 10:37:30 +11:00
bugobliterator
bd7bb59021
AP_Networking: make connector loopback test priority to be PRIORITY_IO-1
2024-11-20 19:14:38 +11:00
bugobliterator
5acf25973e
AP_Networking: add connector loopback test for Ethernet
2024-09-19 11:44:22 +10:00
Andrew Tridgell
cd14b2e1c5
AP_Networking: added multicast UDP CAN server
...
this allows for operation of CAN interfaces over UDP multicast
networking
2024-09-17 10:02:29 +10:00
Andrew Tridgell
96cf157df9
AP_Networking: update comment
2024-09-11 16:11:22 +10:00
Peter Barker
f32f3beceb
AP_Networking: correct compilation when network port registering disabled
...
ports doesn't exist if this condition is false
2024-08-13 10:46:45 +10:00
bugobliterator
4909ad4e4f
AP_Networking: add debug code for PPP
2024-07-25 09:37:16 +10:00
bugobliterator
5a54d9a2ec
AP_Networking: allow reconnection to TCP server or client
2024-07-17 18:20:14 +10:00
Andrew Tridgell
5a795ccba0
AP_Networking: added TCP reflection test
...
TCP to an echo server, testing bi-directional transfer
2024-06-27 10:11:14 +10:00
bugobliterator
96682b1b1b
AP_Networking: add timeout to swap the UDP Server client target
2024-06-21 20:31:31 +10:00
bugobliterator
d07e8d16df
AP_Networking: use IP4_STR_LEN instead of value 16
2024-06-21 20:31:31 +10:00
bugobliterator
a82729589c
AP_Networking: allow UDP Server to talk to different clients on the same run
2024-06-21 20:31:31 +10:00
Andrew Tridgell
ceac4969d5
AP_Networking: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
4d5aa1b8e3
AP_Networking: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Tom Pittenger
9669699405
AP_Networking: enable Socket IP reuse
2024-05-29 18:29:03 +10:00
Tom Pittenger
d3125fe8aa
AP_Networking: change NET_ENABLED to NET_ENABLE
2024-03-20 19:08:31 +11:00
Tim Tuxworth
1941313201
AP_Networking: change NET_ENABLED to NET_ENABLE
2024-03-20 19:08:31 +11:00
Andrew Tridgell
1be9c79e35
AP_Networking: fixed network bootloader without serial manager
2024-01-30 12:32:23 +11:00
Andrew Tridgell
e9b84fa94d
AP_Networking: allow hwdef.dat to override more options
2024-01-21 12:30:08 +11:00
Andrew Tridgell
9f646c8238
AP_Networking: allow reuse of some of AP_Networking in bootloader
2024-01-21 12:30:08 +11:00
Andrew Tridgell
30546f2903
AP_Networking: added address_to_str() for scripting
2024-01-12 19:06:49 -08:00
Andrew Tridgell
39a1fc9dbd
AP_Networking: added option for PPP<->ethernet bridge
...
when NET_OPTIONS is set to enable PPP bridging both an ethernet and a
PPP link will be brought up, with IP forwarding making the PPP remote
endpoint available on the ethernet LAN
2024-01-12 14:23:34 -08:00
Rhys Mainwaring
ad3cf26338
AP_Networking: enable networking on macOS
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com >
2024-01-11 06:58:41 +11:00
Rhys Mainwaring
a66dc31fbc
AP_Networking: update lwipopts for macOS
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com >
2024-01-11 06:58:41 +11:00
Andrew Tridgell
2ba3ac0a9e
AP_Networking: fixed a lockup bug in network ports
...
we need to not hold the write semaphore when calling network socket
calls. This fixes a critical error where network sockets block due to
low level PPP issues while main thread is going mavlink sends
2024-01-10 18:07:29 +11:00
Andrew Tridgell
7292c89766
AP_Networking: auto-restart PPP on error
...
this makes it easier to handle startup timing with PPP
2024-01-07 13:07:24 -08:00
Henry Wurzburg
ce4a450d3a
AP_Network:add reboot req'd metadata to params missing it
2024-01-07 01:15:34 -08:00
Andrew Tridgell
535a6a3316
AP_Networking: fixed build of evtimer.c on firmware server
...
the firmware server uses --out option to waf configure which changes
the include paths
2024-01-06 09:20:47 +11:00
Andrew Tridgell
fa2b87b05a
AP_Networking: hide unused params for PPP
2024-01-05 06:52:11 -08:00
Andrew Tridgell
b0bbed01c6
AP_Networking: speed up sendfile download
...
use a multiple of sector size and DMA safe memory
2024-01-05 06:52:11 -08:00