Commit Graph

43 Commits

Author SHA1 Message Date
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
Andrew Tridgell 55b5e1cff1 AP_Networking: fixed off by one error in cache size calculation
this caused some of the memory to be cacheable which led to TCP
checksum errors
2023-12-04 10:12:41 +11:00
Andrew Tridgell 63f9046265 AP_Networking: fixed docs for network port types
and document broadcast and multicast
2023-12-03 11:37:21 +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
Tom Pittenger f72dd8cc89 AP_Network: mavlink packetise requires mavlink 2023-11-29 12:29:19 +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
Tom Pittenger 8ab3ad2777 AP_Networking: add support for AP_Periph 2023-11-26 11:28:57 +11:00
Andrew Tridgell 68e2bb1f15 AP_Networking: enable receive of multicast packets 2023-11-25 12:19:43 -08:00
Andrew Tridgell e06d65bd75 AP_Networking: simplify port registration 2023-11-22 17:19:12 +11:00
Andrew Tridgell 8e50584bd8 AP_Networking: fixed buffer size handling
make begin() able to change buffer sizes
2023-11-18 16:54:54 -08:00
Tom Pittenger 3b35915774 AP_Networking: return bug fix
Co-authored-by: Ryan <ryanfriedman5410+github@gmail.com>
2023-11-17 18:24:39 -08:00
Tom Pittenger fcf602cbe2 AP_Networking: init socket null check 2023-11-17 18:24:39 -08:00
Tom Pittenger 30bccf6266 AP_Networking: adjustable PORT buf size 2023-11-17 18:24:39 -08: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 8151ee36c7 AP_Networking: fixed build with gcc 11.x 2023-11-15 12:43:41 -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 fbe2651840 AP_Networking: removed unuused send_udp in ChibiOS backend 2023-11-15 12:43:41 -08:00
Tom Pittenger 74f9b74fe7 AP_Networking: add get_str() accessor to IP address parms 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
Tom Pittenger 1e83e61b25 AP_Networking: fix build for periph 2023-08-07 17:04:27 -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 90dc58be29 AP_Networking: Enable DHCP as default, add example to default netmasks 2023-08-06 09:20:08 +10:00
Tom Pittenger f5a1525fd8 AP_Networking: new library 2023-08-06 09:20:08 +10:00