pub const fn encode_address(dlci: u8, cr: bool, ea: bool) -> u8Expand description
Encode the RFCOMM address byte from DLCI, C/R bit, and EA bit
Format: D5 D4 D3 D2 D1 C/R EA
- DLCI in bits [7:2]
- C/R (Command/Response) in bit 1
- EA (Extended Address) in bit 0 (always 1 for single-byte)