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 500 > /proc/sys/fs/mqueue/msg_max'
sudo sh -c 'echo 500 > /proc/sys/fs/mqueue/msgsize_max'

Co-authors: Roberto Aldea, Javier Sanz, Marius Crisan

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

rfb_can_sniffer-0.0.1.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

rfb_can_sniffer-0.0.1-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file rfb_can_sniffer-0.0.1.tar.gz.

File metadata

  • Download URL: rfb_can_sniffer-0.0.1.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for rfb_can_sniffer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a04a381d80e39ba7e02174255472b190250afb4bc4ed2c0941e6882cb00edbe8
MD5 c67c241f40039d9f6edcd20cf90bb818
BLAKE2b-256 0f4fd96bfa593d966c677178b93310c5ec7abe8d87b9b69ae035364e761ead12

See more details on using hashes here.

File details

Details for the file rfb_can_sniffer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rfb_can_sniffer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54405ebbf51c6e3a78e3dad0583606a491bc963a47dbdcb77dba72e7253a63f5
MD5 334b5fe6a7ac6931208c36977e08e22d
BLAKE2b-256 08d8896fcd681b3f76ce9c2ac927eb463a013b2a566de8f93b56c94eca1668ae

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