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

Uploaded Source

Built Distribution

can_sniffer-0.0.8-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

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

Hashes for can_sniffer-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0e3e4f2d706611934274393bf7f346b4df1c4bf3d7d498d68c759d6121a50cf0
MD5 7b4094048d558c503471e9c1f39f70bf
BLAKE2b-256 2fa6620656fe28959a354c83154bb7e494c072f6ddfd4d0283574ba01de3f90d

See more details on using hashes here.

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

Hashes for can_sniffer-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0d04e65daff6a6e9b4be19bf2f08537e8646ec51543eb18b7c506edd2794f51e
MD5 9e66e042ec6de2472ca83fd9582b72a0
BLAKE2b-256 5cfc9f6ab45847bb57142d8273c6bdb54db61e1566384c6c70f71555010697ac

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