Fail to find protocol, any guess?

Inquiry and support for Freematics products
Post Reply
wookhyun
Posts: 3
Joined: Tue Nov 01, 2016 5:04 pm

Fail to find protocol, any guess?

Post by wookhyun »

I drive Kia Ray.

It's expected to SP6 (CAN 11bit/500Kbps) Freematics v4 fail to find protocol.
When I force set SP6, then it gives "CAN ERROR" for message

When I use other EML327-bluetooth dongle, it's working fine.

Freematics one page says only 11bit/250K is supported.
Can you check 11bit/500K is supported?

{code}
[4125]ATI

[4129]OBDUART v1.1
>
[4179]ATZ

[4184]OBDUART v1.1
>
[4234]ATE0

[4238]OK

>
[4288]ATL1

[4292]OK

>
[4342]ATAL

[4346]?

>
[4397]ATS0

[4401]OK

>
[4451]ATRV

[4454]14.1V
>
[4505]ATAT1

[4508]?

>
[4558]ATSP0

[4562]OK

>
[4613]ATDP

[4617]AUTO, ERROR

>
[4668]ATSH7E4

[4672]OK

>
[4722]2101

[7465]SEARCHING...
UNABLE TO CONNECT

>

{code}
protomor
Posts: 99
Joined: Wed Oct 14, 2015 9:17 am

Re: Fail to find protocol, any guess?

Post by protomor »

I can't see your code but how are you initializing the OBD class? Default is "PROTO_AUTO" but I've had to manually force it a few times. I think you're looking for PROTO_CAN_11B_500K .
You can look in the OBD.H for more informatoin but here's the enum definition.


typedef enum {
PROTO_AUTO = 0,
PROTO_ISO_9141_2 = 3,
PROTO_KWP2000_5KBPS = 4,
PROTO_KWP2000_FAST = 5,
PROTO_CAN_11B_500K = 6,
PROTO_CAN_29B_500K = 7,
PROTO_CAN_29B_250K = 8,
PROTO_CAN_11B_250K = 9,
} OBD_PROTOCOLS;
wookhyun
Posts: 3
Joined: Tue Nov 01, 2016 5:04 pm

Re: Fail to find protocol, any guess?

Post by wookhyun »

Thank you for reply.

I also tried "PROTO_CAN_11B_500K = 6".

In this case, ATSP6 gives OK.

But actual data "2101" gives "CAN ERROR".


The code is modified version of "FreematicsONE.cpp".

I added commands to "bool COBDSPI::init(OBD_PROTOCOLS protocol)" for test purpose, so that I can see the response from OBD.
protomor
Posts: 99
Joined: Wed Oct 14, 2015 9:17 am

Re: Fail to find protocol, any guess?

Post by protomor »

I don't have the list in front of me. What's the 2101 command?

I don't have the one so I don't know much about how it works. I'm at the limit of how I can help you.
Post Reply