Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
isotpsend: add SF_BROADCAST support for functional addressing
When CAN_ISOTP_SF_BROADCAST is set in the CAN_ISOTP_OPTS flags the CAN_ISOTP socket is switched into functional addressing mode, where only single frame (SF) protocol data units can be send on the specified CAN interface and the given tp.tx_id after bind(). In opposite to normal and extended addressing this socket does not register a CAN-ID for reception which would be needed for a 1-to-1 ISOTP connection with a segmented bi-directional data transfer. The new option '-S' sets the CAN_ISOTP_SF_BROADCAST to test the option with different length settings, e.g. link layer data lengths. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
- Loading branch information