Skip to content

Allow requesting a did without decoding it #188

@philippoo66

Description

@philippoo66

could please somebody advice?!

I'm trying to read long data over vcan0 (so a bit slow) and

    response = client.send_request(
        udsoncan.Request(
            service=ReadDataByIdentifier,
            data=(did).to_bytes(2, byteorder='big')
        )
    )

returns before data transmission has finished (always after 1 second) :-(

My latest attempt was

    config = dict(udsoncan.configs.default_client_config)
    config['request_timeout'] = 3

    with Client(conn, config=config) as client:

but that did not change anything.

before I tried

        conn = IsoTPSocketConnection(can, rxid=rx, txid=ecutx, timeout=3)

and

    with Client(conn, request_timeout=3) as client:

but nothing took effekt - always returned after 1 second.

I tried 'timeout' and 'request_timeout', I tried 3 and 3000 - alway no effect.

How should I do?

thank you!!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions