Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Tridgell 4d5aa1b8e3 AP_Networking: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +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 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
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
Andrew Tridgell ec5ff94f3e AP_Networking: cleanup string to IP handling
use SocketAPM methods
2024-01-03 12:14:47 +11:00
Andrew Tridgell d289ba0181 AP_Networking: removed SLIP
PPP is the better choice
2024-01-03 12:14:47 +11:00
Andrew Tridgell 94ea22d16f AP_Networking: separate thread for sendfile 2024-01-03 12:14:47 +11:00
Andrew Tridgell 896b95654c AP_Networking: added PPP support 2024-01-03 12:14:47 +11:00
Andrew Tridgell e2dac53fca AP_Networking: added SLIP support 2024-01-03 12:14:47 +11:00
Andrew Tridgell 241323eade AP_Networking: added sendfile()
this allows for scripting to offload a file send to the AP_Networking
library, reducing CPU costs of large file downloads
2023-12-11 18:00:38 +11:00
Andrew Tridgell fec0ec79c5 AP_Networking: make lwip debugging easier 2023-12-11 18:00:38 +11:00
Tom Pittenger 7f94ae6fe7 AP_Networking: only show NET_IP,DHCP,GW,MASK,MAC if it's actually used 2023-12-02 08:17:52 +11:00
Andrew Tridgell 89506846a3 AP_Networking: improve startup wait
this ensures we wait till DHCP has completed
2023-12-01 18:33:29 +11:00
Andrew Tridgell 7d1f048ca7 AP_Networking: support UDP server, TCP client and TCP server
and implement mavlink packetisation and flow control return
2023-11-28 12:18:55 +11:00
Andrew Tridgell 84dd7eaaf1 AP_Networking: added support for mapping network ports
only UDP_CLIENT so far
2023-11-17 10:54:24 -08:00
Andrew Tridgell 4a773eabb2 AP_Networking: added SITL backend
this allows the net tests to run on SITL, and for DDS testing using
the SocketAPM API
2023-11-15 12:43:41 -08:00
Andrew Tridgell c54e6ce44b AP_Networking: added NET_TEST_IP for test server IP address
and default to same as default for DDS server
2023-11-15 12:43:41 -08:00
Andrew Tridgell 4afd0f746b AP_Networking: added networking test suite 2023-11-15 12:43:41 -08:00
Tom Pittenger c9a3cb13c1 AP_Networking: rename _backend.h to _Backend.h 2023-11-14 08:47:31 +11:00
Tom Pittenger bd97dc4de5 AP_Networking: cleanup backend defines 2023-11-14 08:47:31 +11:00
Tom Pittenger 5ddb649ed1 Update libraries/AP_Networking/AP_Networking.cpp
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-08-22 09:25:42 -07:00
muramura 4bad05c49c AP_Logger:AP_Networking: If initialization fails, the process is terminated 2023-08-22 09:25:42 -07:00
muramura 75a279a11d AP_Networking: Delete entity class pointer 2023-08-22 09:25:42 -07:00
Tom Pittenger 7e62904d5e AP_Networking:fix default MAC address UID 2023-08-17 13:51:54 +10:00
Andrew Tridgell 8ff37bc79c AP_Networking: fixed duplicate parameters in wiki
defining two parameter tables in one file causes duplicates
2023-08-10 13:34:14 -07:00
muramura 9374b374de AP_Networking: Change message level from DEBUG to INFO 2023-08-06 17:37:17 -07:00
Andrew Tridgell 5af7fdf330 AP_Networking: use host byte order addresses internally
this should make the lua API easier to handle, as it can manipulate
uint32_t easily
2023-08-06 09:20:08 +10:00
Andrew Tridgell fd70f5c7d7 AP_Networking: split ChibiOS code into its own backend 2023-08-06 09:20:08 +10:00
Andrew Tridgell 5705c68954 AP_Networking: cleanup parameter handling and fixed lwip config 2023-08-06 09:20:08 +10:00
Tom Pittenger 1e9d00fecb AP_Networking: cleanup 2023-08-06 09:20:08 +10:00
bugobliterator 724b0908e0 AP_Networking: panic if bad memory alignment 2023-08-06 09:20:08 +10:00
Tom Pittenger 6d3c5e7a61 AP_Networking: cleanup defines 2023-08-06 09:20:08 +10:00
bugobliterator 13acf60c7e AP_Networking: fix allocation of mac trx buffers 2023-08-06 09:20:08 +10:00
Tom Pittenger a4984cb595 AP_Networking: bugfixes for dynamic battery malloc 2023-08-06 09:20:08 +10:00
bugobliterator 558f0272d6 AP_Networking: dynamically allocate memory for MAC Peripheral 2023-08-06 09:20:08 +10:00
Tom Pittenger 1aff011e52 AP_Networking: astyle changes 2023-08-06 09:20:08 +10:00
Tom Pittenger f5a1525fd8 AP_Networking: new library 2023-08-06 09:20:08 +10:00