dear sir
I am sure I mapping address right.because I have send data and receive data normally before
the code is as following
public uint SecurityAcess()
{
uint res = ERROR;
TPUDSStatus status;
TPUDSMsg request = new TPUDSMsg();
TPUDSMsg response = new TPUDSMsg();
request.NETADDRINFO.SA ...
Search found 15 matches
- Mon 11. Mar 2019, 12:36
- Forum: PCAN-UDS
- Topic: the UDS send SecurityAccess
- Replies: 3
- Views: 5604
- Mon 11. Mar 2019, 08:30
- Forum: PCAN-UDS
- Topic: the UDS send SecurityAccess
- Replies: 3
- Views: 5604
the UDS send SecurityAccess
Dear sir
Abouting UDS APi I have some question want to ask for help .
because the customer asked the client send 10 83 /10 82/10 01,so In this diagnosticsession,I send 27 03/27 04and other services.But After the client send 27 03 and the ECU has response positive response,the 27 04 can't send .But ...
Abouting UDS APi I have some question want to ask for help .
because the customer asked the client send 10 83 /10 82/10 01,so In this diagnosticsession,I send 27 03/27 04and other services.But After the client send 27 03 and the ECU has response positive response,the 27 04 can't send .But ...
- Tue 5. Mar 2019, 12:32
- Forum: PCAN-UDS
- Topic: The data didn't send
- Replies: 5
- Views: 5193
Re: The data didn't send
Dear sir
sorry ,I didn't understand what you said.
I have mapped the ID like this
TPCANTPStatus result;
uint canID = 0x702;
uint canIDResponse = 0x70A;
byte N_SA =(byte)TPUDSAddress.PUDS_ISO_15765_4_ADDR_TEST_EQUIPMENT;
byte N_TA = (byte)TPUDSAddress.PUDS_ISO_15765_4_ADDR_ECU_8;
byte N_RA ...
sorry ,I didn't understand what you said.
I have mapped the ID like this
TPCANTPStatus result;
uint canID = 0x702;
uint canIDResponse = 0x70A;
byte N_SA =(byte)TPUDSAddress.PUDS_ISO_15765_4_ADDR_TEST_EQUIPMENT;
byte N_TA = (byte)TPUDSAddress.PUDS_ISO_15765_4_ADDR_ECU_8;
byte N_RA ...
- Mon 4. Mar 2019, 11:51
- Forum: PCAN-UDS
- Topic: The data didn't send
- Replies: 5
- Views: 5193
The data didn't send
Dear sir
I used the PCAN-UDS function
status = UDSApi.SvcWriteDataByIdentifier(m_PcanHandle, ref request, (ushort)UDSApi.TPUDSSvcParamDI.PUDS_SVC_PARAM_DI_ASFPDID, buffer, (ushort)buffer.Length);
to send data.the length of data is more than 7 ,but when the ECU send 30 00 05,the remain data did't ...
I used the PCAN-UDS function
status = UDSApi.SvcWriteDataByIdentifier(m_PcanHandle, ref request, (ushort)UDSApi.TPUDSSvcParamDI.PUDS_SVC_PARAM_DI_ASFPDID, buffer, (ushort)buffer.Length);
to send data.the length of data is more than 7 ,but when the ECU send 30 00 05,the remain data did't ...
- Fri 1. Mar 2019, 02:44
- Forum: PCAN-UDS
- Topic: how to change the TPUDSparameter
- Replies: 9
- Views: 9720
Re: how to change the TPUDSparameter
Dear sir
I want to know how to set the NO_POSITIVE_RESPONSE_MSG =0.I do like this :
status = UDSApi.SvcSecurityAccess(m_PcanHandle, ref request, 0x21, buffer, (ushort)buffer.Length);
if (status == TPUDSStatus.PUDS_ERROR_OK)
{
status = UDSApi.WaitForService(m_PcanHandle, out response, ref ...
I want to know how to set the NO_POSITIVE_RESPONSE_MSG =0.I do like this :
status = UDSApi.SvcSecurityAccess(m_PcanHandle, ref request, 0x21, buffer, (ushort)buffer.Length);
if (status == TPUDSStatus.PUDS_ERROR_OK)
{
status = UDSApi.WaitForService(m_PcanHandle, out response, ref ...
- Thu 28. Feb 2019, 10:37
- Forum: PCAN-UDS
- Topic: how to change the TPUDSparameter
- Replies: 9
- Views: 9720
Re: how to change the TPUDSparameter
dear sir
I do it like this
status = UDSApi.SvcSecurityAccess(m_PcanHandle, ref request, 0x21, buffer, (ushort)buffer.Length);
if (status == TPUDSStatus.PUDS_ERROR_OK)
{
status = UDSApi.WaitForService(m_PcanHandle, out response, ref request, out request);
if (status == TPUDSStatus.PUDS_ERROR ...
I do it like this
status = UDSApi.SvcSecurityAccess(m_PcanHandle, ref request, 0x21, buffer, (ushort)buffer.Length);
if (status == TPUDSStatus.PUDS_ERROR_OK)
{
status = UDSApi.WaitForService(m_PcanHandle, out response, ref request, out request);
if (status == TPUDSStatus.PUDS_ERROR ...
- Thu 28. Feb 2019, 09:42
- Forum: PCAN-UDS
- Topic: how to change the TPUDSparameter
- Replies: 9
- Views: 9720
Re: how to change the TPUDSparameter
Dear sir
if I change like this,then the time between 27 03 and 27 04 can be effected?
and if I want to change 27 03 and 27 04 to 27 21 and 27 22,Can I use the same method?or change PUDS_SVC_PARAM_SA_RSD_3 = 0x03 to PUDS_SVC_PARAM_SA_RSD_3 = 0x21?
thank you very much
best wishes
if I change like this,then the time between 27 03 and 27 04 can be effected?
and if I want to change 27 03 and 27 04 to 27 21 and 27 22,Can I use the same method?or change PUDS_SVC_PARAM_SA_RSD_3 = 0x03 to PUDS_SVC_PARAM_SA_RSD_3 = 0x21?
thank you very much
best wishes
- Thu 28. Feb 2019, 01:57
- Forum: PCAN-UDS
- Topic: how to change the TPUDSparameter
- Replies: 9
- Views: 9720
Re: how to change the TPUDSparameter
Dear sir
you said can not change PCAN-UDS headers.Then how to set the correct parameter 'sessionType' when I used svcDiagnosticSessionControl(m_channel,msReq,sessiontype)?because PCAN-UDS headers didn't include 81/82/83 defines,how can use it ?can you give me an example ?
if I didn't change the ...
you said can not change PCAN-UDS headers.Then how to set the correct parameter 'sessionType' when I used svcDiagnosticSessionControl(m_channel,msReq,sessiontype)?because PCAN-UDS headers didn't include 81/82/83 defines,how can use it ?can you give me an example ?
if I didn't change the ...
- Wed 27. Feb 2019, 04:14
- Forum: PCAN-UDS
- Topic: how to change the TPUDSparameter
- Replies: 9
- Views: 9720
how to change the TPUDSparameter
Dear sir
I have a question to hope getting your help.First questio: as we all know ,in generally ,we send 10 01/02/03 to set diagnosticSessionControl.but now I want to send 10 81/82/83 to set diagnosticsession.how to change it ?
before I change the defines PUDS_SV_PARAM_DSC_DS =0x01 to PUDS_SV ...
I have a question to hope getting your help.First questio: as we all know ,in generally ,we send 10 01/02/03 to set diagnosticSessionControl.but now I want to send 10 81/82/83 to set diagnosticsession.how to change it ?
before I change the defines PUDS_SV_PARAM_DSC_DS =0x01 to PUDS_SV ...
Re: UDS API
Dear
Do you mean ,if I want to send the time of two consecutive frames is 5 ms .The ECU have to set 30 00 05,then the time between two consecutive frames will be 5ms
best wishes
Do you mean ,if I want to send the time of two consecutive frames is 5 ms .The ECU have to set 30 00 05,then the time between two consecutive frames will be 5ms
best wishes