The arbitration_id is defined as uint16_t.
When using the isotp-c library in combination with the UDS library and sending extended UDS messages this results in the CAN id only showing the first four bytes.
Changing all the arbitration_id to uint32_t should solve the problem.