Add Class 2 fax protocol support

- class2/commands.rs: EIA/TIA-592 Class 2 AT command definitions
- class2/send.rs: Class2Send implementation for simpler fax sending
- CLI: Add --class option for send command (1 or 2)
- CLI: Add --class2 flag for test command
- Tested with Conexant V90 modem - all Class 2 commands working
This commit is contained in:
Warren
2026-07-01 18:07:14 +08:00
parent bf1ca90a9c
commit 4b6c89bee0
5 changed files with 391 additions and 29 deletions

View File

@@ -2,6 +2,8 @@ pub mod t4;
pub mod hdlc;
pub mod negotiate;
pub mod class1;
pub mod class2;
pub use class1::Class1Session;
pub use class2::Class2Send;
pub use t4::T4Codec;