Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

CAN error #6

@geir54

Description

@geir54

I've got a ELM327 v1.4 interface and it causes a panic. Looks like the car does not return a VIN number

I've cut away the first part where everything works:

Output:
DEBUG: Sending command: ATSH 7DF
DEBUG: gotLine true
DEBUG: SendCmd resp= >OK
DEBUG: Timeout
DEBUG: gotLine false
DEBUG: SendCmd resp=
SendCmd Results: [>OK]
DEBUG: Sending command: 09 02
DEBUG: gotLine false
DEBUG: SendCmd resp=
DEBUG: gotLine false
DEBUG: SendCmd resp=
DEBUG: gotLine true
DEBUG: SendCmd resp= >CAN ERROR
DEBUG: Timeout
DEBUG: gotLine false
DEBUG: SendCmd resp=
SendCmd Results: [>CAN ERROR]
panic: runtime error: index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions