0c8cb0586a
Fixed addressing as specified in ISO 15765-2 encodes the source and target address of a device or function inside the CAN ID according to SAE J1939. In order to allow to receive incoming requests from different nodes, the CAN filter mask has to be set such that the source address is ignored in the receive context. In addition to that, flow control frames have to be sent back to the actual source of the request, which requires adjustments to the TX CAN ID. This commit implements above features and thus allows ISO-TP to be used in a network based on SAE J1939 or NMEA-2000. Signed-off-by: Martin Jäger <martin@libre.solar> |
||
---|---|---|
.. | ||
main.c | ||
random_data.h |