I use the PCAN-UDS interface and I set in all messages:
SA=0xF1
TA=0
The resulting COB-ID is internal set to 0x18.0xDA.0x00(=TA).0xF1(=SA).
How I can change the front part to other values?
PCAN-UDS change the used COB-ID
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: PCAN-UDS change the used COB-ID
Dear Alfred,
You're UDS communication is using 29 BIT CAN ID, FIXED NORMAL addressing (see TPUDSProtocol: PUDS_PROTOCOL_ISO_15765_2_29B). The CAN Identifier is therefore standardized and automatically generated.
If you wish to change the priority (first 3 bits in the CAN ID), please configure it by using funtion UDS_SetValue and the parameter PCANTP_PARAM_J1939_PRIORITY.
If you want to define your own CAN ID with a specific Network Addressing Information, use a different TPUDSProtocol value like PUDS_PROTOCOL_ISO_15765_2_29B_NORMAL, but you will have to configure mappings (see parameter PUDS_PARAM_MAPPING_ADD).
You're UDS communication is using 29 BIT CAN ID, FIXED NORMAL addressing (see TPUDSProtocol: PUDS_PROTOCOL_ISO_15765_2_29B). The CAN Identifier is therefore standardized and automatically generated.
If you wish to change the priority (first 3 bits in the CAN ID), please configure it by using funtion UDS_SetValue and the parameter PCANTP_PARAM_J1939_PRIORITY.
If you want to define your own CAN ID with a specific Network Addressing Information, use a different TPUDSProtocol value like PUDS_PROTOCOL_ISO_15765_2_29B_NORMAL, but you will have to configure mappings (see parameter PUDS_PARAM_MAPPING_ADD).
Best regards,
Fabrice
Fabrice