Skip to content

Diagnostic Session Control type is masked with 0x4F #64

@NicolasCayoux

Description

@NicolasCayoux

Hi,

On UDS Server, function "uint8_t _0x10_DiagnosticSessionControl(UDSServer_t *srv, UDSReq_t *r)"

The session type is masked with 0x4F
"uint8_t sessType = r->recv_buf[1] & 0x4F;"

Is there a specific reason to use this mask, instead of 0x7F ?
According to several UDS example on internet, the session type can be set between 0x01 and 0x7F

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions