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.4.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: can_sniffer-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a1da5c09c6dd61de55975dc5e7a4015ed96f5283bf8ff9fe0b15c1d733267b67
MD5 19b2628952eabfc54f540756d8bc0641
BLAKE2b-256 823b4ec65515f97f2ca1292ceb70024979007a2b6755e61227b8db6a34b14e73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: can_sniffer-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 37e6ac1f006ac8793f5acbe76b4db3b7752f1bd9c886d8d84c284a041bcb2836
MD5 97e31247b6ade04d652f0716a991dbfc
BLAKE2b-256 fcf2b0da6b63e135b93fb573ca0f2edb962bdc3db27aab264fc3e9e64eb112aa

See more details on using hashes here.

Supported by

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