Commit Graph

37 Commits

Author SHA1 Message Date
Andrew Tridgell
c2864b5733 AP_CANManager: support CAN frame logging
this supports logging of all bxCAN and CANFD frames, which helps with
debugging tricky CAN support issues and for the development of new CAN
driver lua scripts
2024-12-11 08:43:56 +11:00
Andrew Tridgell
89c2b48286 AP_CANManager: ensure we only remove our own fwd registrations
keep a record of which bus we have registered a callback for and only
unregister with that bus. This prevents us unregistering a multicast
callback when disconnecting from MAVCAN
2024-09-23 21:01:22 +10:00
Andrew Tridgell
cc930bd49f AP_CANManager: update for new callback API 2024-09-17 10:02:29 +10:00
Peter Barker
565e3f0175 AP_CANManager: correct array bounds used for sanity check
both of these are currently HAL_MAX_CAN_PROTOCOL_DRIVERS in length
2024-03-19 07:29:58 +11:00
Andrew Tridgell
d17a1ca7bc AP_CANManager: support CAN_Dn_PROTOCOL2 for an aux 11 bit protocol 2023-11-28 11:38:16 +11:00
Peter Barker
3c93fd3c5f AP_CANManager: handle CAN_FORWARD as both command_INT and COMMAND_LONG 2023-09-20 17:50:56 +10:00
Andrew Tridgell
f1aaf78fee AP_CANManager: fixes for macos CAN SITL build 2023-08-29 15:09:48 +10:00
Peter Barker
ce00251333 AP_CANManager: correct gate on definition of AP_CANManager class 2023-04-20 08:53:46 +10:00
Peter Barker
fea2c8d923 AP_CANManager: move and rename CAN Driver_Type enumeration 2023-04-20 08:53:46 +10:00
Peter Barker
b055b67a7f AP_CANManager: remove CANTester 2023-04-18 11:43:58 +10:00
Tom Pittenger
eed3cf3255 AP_CANManager: promote KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Andrew Tridgell
33df480f87 AP_CANManager: rename more variables, types and defines 2023-04-11 10:31:31 +10:00
Peter Barker
c1c8158687 AP_CANManager: add and use option to compile SLCAN support out of code 2023-03-15 19:08:09 +11:00
Andrew Tridgell
34bb5e10cd AP_CANManager: add an output buffer for MAVCAN
this fixes firmware update of peripheral nodes using MAVCAN
2022-11-30 20:06:13 +11:00
Peter Barker
23dd4f54df AP_CANManager: remove GCS.h from library header files 2022-11-16 18:29:07 +11:00
jackhong12
4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Andrew Tridgell
1b25babd8a AP_CANManager: added scripting2 protocol
allows for lua scripts to distinguish two CAN interfaces
2022-07-03 08:21:55 +10:00
Randy Mackay
533a16287e AP_CANManager: remove ToshibaCAN support 2022-06-10 12:08:05 +09:00
bugobliterator
cb1bc4e613 AP_CANManager: add support for enabling CANFD 2022-03-11 18:13:54 +11:00
Andrew Tridgell
c94c9d8859 AP_CANManager: added CAN_FRAME filter handling 2022-02-19 18:24:56 +11:00
Andrew Tridgell
6e83633a12 AP_CANManager: moved CAN_FRAME timeout code to CANManager 2022-02-19 18:24:56 +11:00
Andrew Tridgell
0b95272f27 AP_CANManager: support mavcan message forwarding 2022-02-12 16:36:05 +11:00
Shiv Tyagi
d846a81055 AP_CANManager: remove MPPT_PacketDigital parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these from parameter descriptions and enums
2021-12-17 20:24:25 +09:00
Andrew Tridgell
4f6da39bb7 AP_CANManager: support Benewake CAN 2021-11-30 09:49:20 +11:00
Andrew Tridgell
7cdd18924e AP_CANManager: fixed printf format errors 2021-08-05 09:43:35 +10:00
Iampete1
bd36053abc AP_CANManager: support scripting CAN driver 2021-07-27 09:04:17 +10:00
Tom Pittenger
c756138ede AP_CANManager: add MPPT PacketDigital driver 2021-04-28 19:22:53 -07:00
Randy Mackay
83c18249a4 AP_CANManager: chane KDECAN enum from 2 to 8
This is to force users to realise that something has changed in the hopes they will read the 4.1 release notes
2021-04-20 09:13:30 +10:00
Andrew Tridgell
0c6b4a1045 AP_CANManager: use ExpandingString class 2021-01-05 10:52:00 +11:00
Andrew Tridgell
b7fa1a4b98 AP_CANManager: added USD1 CAN driver type 2021-01-01 17:29:54 +11:00
Andrew Tridgell
db798ace05 AP_CANManager: added EFI_NWPMU 2021-01-01 17:29:54 +11:00
Andrew Tridgell
32c3a2feef AP_CANManager: added CANSensor class
this makes creation of custom CAN protocol handlers much easier
2021-01-01 17:29:54 +11:00
Andrew Tridgell
b2885e3e32 AP_CANManager: exposed can log level 2020-12-01 11:14:50 +11:00
Siddharth Purohit
73dea6d29c AP_CANManager: return max number of drivers for get_num_drivers 2020-10-28 18:38:05 +11:00
Oliver Walters
fc29e40463 AP_PicolloCAN: Load PiccoloCAN parameters from EEPROM 2020-09-09 15:31:21 +10:00
Siddharth Purohit
8a0d98967f AP_CANManager: panic if can manager is used before allocation 2020-08-20 07:44:53 +10:00
Siddharth Purohit
979b0b82d0 AP_CANManager: add CANManager library 2020-08-19 17:31:09 +10:00