dotnet / dotnet/iot

Error message functionality for Iot.Device.SocketCan.CanRaw

Open
#1,430 7 comments 0 reactions 0 assignees View on GitHub
api-suggestion Priority:3 up-for-grabs
Dominant language
C#
Stars
2.4k
Forks
630
Avg merge
11d 3h
Merged PRs (30d)
2

Description

The Linux SocketCan module supports Error Message Frames. These frames offer a mechanism for userspace applications to be notified when the state of the CAN Bus changes. By default these are filtered out. They can be enabled by a setsockopt call.
The current implementation of the Raw CAN socket in Iot.Device.SocketCan.CanRaw contains a method for setting a regular Message Filter of type CAN_RAW_FILTER, but not one for setting an Error Message filter (CAN_RAW_ERR_FILTER).
If it were to be added, it would give an application a lot more control over the underlying interface.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.