Skip to main content

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

can_sniffer-0.0.5.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

can_sniffer-0.0.5-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file can_sniffer-0.0.5.tar.gz.

File metadata

  • Download URL: can_sniffer-0.0.5.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for can_sniffer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b4ce38d36fd4b08c07d7fe3552477cfec33c52d0bca75c8b07b8f52136dc8dd8
MD5 d063f38a8ea61c598246cf7e9af34c40
BLAKE2b-256 a08331d997b9b65d4f1816e30c2c8a10a0addee26f8de5592db2c85de20e1304

See more details on using hashes here.

File details

Details for the file can_sniffer-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: can_sniffer-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for can_sniffer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 42539e0ebf1ac030a9db520c23a5387e1114e68ba4b9c9dccf6e95e3e483dba5
MD5 0063514b447ad8492b8173155b10f9a8
BLAKE2b-256 56d4af3aa889fae5c9d1f0c9a9497022a3b7c2c5aa202facf5570ea8f95e461c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page