Search found 7 matches

by hanxueqiong129
Mon 7. Jan 2019, 11:52
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
And it is not disabled the testerPresent,I don't know why .And I set someone said
After a call to the service UDS_SvcDiagnosticSessionControl and having received a valid response from an ECU, a session information is registered in the API .If you want to disable the default tester present ...
by hanxueqiong129
Mon 7. Jan 2019, 11:47
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
Unluckly,I set it like you follwing s,but it is not worked ,the AddressType unchanged.

TPUDSSessionInfo sessionInfo = new TPUDSSessionInfo();
int sessionSize;
IntPtr sessionPtr;

sessionInfo.NETADDRINFO.SA = 0xF1;
sessionInfo.NETADDRINFO.TA = (byte)TPUDSAddress.PUDS_ISO_15765_4_ADDR_OBD ...
by hanxueqiong129
Mon 7. Jan 2019, 11:01
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
need I to change sessionInfo.SESSION_TYPE = (byte)UDSApi.TPUDSSvcParamDSC.PUDS_SVC_PARAM_DSC_ECUEDS or PUDS_SVC_PARAM_DSC_ECUPS? if I set it as PUDS_SVC_PARAM_DSC_DS,is it mean disable TesterPresent Automatic?

best wishes
by hanxueqiong129
Mon 7. Jan 2019, 10:26
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
like this ?

TPUDSStatus status;
status = UDSApi.SvcDiagnosticSessionControl(m_PcanHandle, ref UDSMsg, UDSApi.TPUDSSvcParamDSC.PUDS_SVC_PARAM_DSC_ECUEDS);
if (status == TPUDSStatus.PUDS_ERROR_OK)
{
status = UDSApi.WaitForService(m_PcanHandle, out ResponseMsg, ref UDSMsg, out UDSMsg);
if ...
by hanxueqiong129
Mon 7. Jan 2019, 09:53
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
As we all know ,after send 0x10 service,0x3e service send automatic.I want to know how to change this automatic service 's AddressingType
by hanxueqiong129
Mon 7. Jan 2019, 09:44
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

Re: UDS API

Dear
Maybe I don't express my request clearly. I don't want to know how to mapping between ECU and Client.After I send 0x10 03 service 0x3E 80 service will be following .And the type of ID 0x3e service is physical ,I want to change this service's Id type only .I want to know how 0x3E service ...
by hanxueqiong129
Mon 7. Jan 2019, 08:47
Forum: PCAN-UDS
Topic: UDS API
Replies: 11
Views: 9347

UDS API

Dear Friend
Recently I have used UDS API to send some services.I have a question confusing me .when I send UDS_SvcDiagnosticSessioncontrol service TesterPresent service will be send in periods.The testerPresent service's ID is physical .I want to know How to change its Id to function. I don't see ...