Establish the Lua dissector action/device/etc tables as authoritative

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Allen Hill
2026-07-06 16:53:13 -07:00
parent e92d61adca
commit b538e07577
9 changed files with 632 additions and 37 deletions
+15 -12
View File
@@ -31,7 +31,8 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
// LAN related
List_Functions_Req = 0x00,
List_Functions_Resp = 0x10,
Restart_Lan = 0x01,
Lan_Init = 0x01,
Lan_Init_Complete = 0x58,
// Lan_Startup_Complete = 0x58,
Lancheck_End_Req = 0x08,
Lancheck_End_Resp = 0x18,
@@ -50,7 +51,7 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
Disable_Function_Req = 0x43,
Disable_Function_Resp = 0x53,
Current_Function = 0x45,
Advertise_Function = 0x45,
General_Query = 0x46,
// Events
@@ -60,6 +61,7 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
// Physical interface
Backlight_Adjust = 0x59,
Beep = 0x60,
Screen_Press = 0x78,
Eject = 0x80,
Disc_Up = 0x90,
Disc_Down = 0x91,
@@ -69,6 +71,7 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
Track_Rewind = 0x99,
Pwrvol_Knob_Righthand_Turn = 0x9c,
Pwrvol_Knob_Lefthand_Turn = 0x9d,
Tape_Not_Ready = 0x9f,
CD_Enable_Repeat = 0xa0,
CD_Disable_Repeat = 0xa1,
CD_Enable_Disk_Repeat = 0xa3,
@@ -83,21 +86,21 @@ enum AVCLAN_ENUM_CLASS Action : uint8_t {
CD_Disable_Disk_Random = 0xb4,
// Requests and Response pairs
Initial_Report_Request = 0xe0,
Initial_Report_Response = 0xf0,
Initial_Report_Req = 0xe0,
Initial_Report_Resp = 0xf0,
Playback_Request = 0xe2,
Playback_Report = 0xf2,
Playback_Req = 0xe2,
Playback_Resp = 0xf2,
Loading_Request2 = 0xe4,
Loading_Response2 = 0xf4,
Loading_Req = 0xe4,
Loading_Resp = 0xf4,
Request_Track_Name = 0xed,
Report_Track_Name = 0xfd,
Track_Name_Req = 0xed,
Track_Name_Resp = 0xfd,
// Reports
Status_Report = 0xf1, // Typically unprompted, sent to Device::STATUS
Loading_Status_Report = 0xf3, // Typically unprompted, sent to Device::STATUS
Playback_Status = 0xf1, // Typically unprompted, sent to Device::STATUS
Loading_Status = 0xf3, // Typically unprompted, sent to Device::STATUS
Report_TOC = 0xf9,
};