Sniffer to send and receive can messages running in an independant thread.
Project description
Drv Can
Repository that storages classes and functions used create a thread that can send, and receive can messages. The node class will create a thread with a shared object that receives the commands both for the can module and also the messages to send through can bus. The commands that can be send to can are create and remove filter, and also send messages.
The version 0.1.X forward is using posix ipc queues, if there is any problem with posix it will possibly be due to the max messages in queue and the max message size limited by the system. For more information check system-shared-tool github To see which is the max messages and the max message size in system run:
cat /proc/sys/fs/mqueue/msg_max
cat /proc/sys/fs/mqueue/msgsize_max
In order to change the max message or message size in queues run:
sudo sh -c 'echo 200 > /proc/sys/fs/mqueue/msg_max'
sudo sh -c 'echo 200 > /proc/sys/fs/mqueue/msgsize_max'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file can_sniffer-0.0.8.tar.gz.
File metadata
- Download URL: can_sniffer-0.0.8.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e3e4f2d706611934274393bf7f346b4df1c4bf3d7d498d68c759d6121a50cf0
|
|
| MD5 |
7b4094048d558c503471e9c1f39f70bf
|
|
| BLAKE2b-256 |
2fa6620656fe28959a354c83154bb7e494c072f6ddfd4d0283574ba01de3f90d
|
File details
Details for the file can_sniffer-0.0.8-py3-none-any.whl.
File metadata
- Download URL: can_sniffer-0.0.8-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d04e65daff6a6e9b4be19bf2f08537e8646ec51543eb18b7c506edd2794f51e
|
|
| MD5 |
9e66e042ec6de2472ca83fd9582b72a0
|
|
| BLAKE2b-256 |
5cfc9f6ab45847bb57142d8273c6bdb54db61e1566384c6c70f71555010697ac
|