Crate jeep

source ·
Expand description

jeep is an easy-to-use event handling library for your Jeep JL, including 4xE. It allows you to listen to the CAN bus for events, such as button presses, and handle them as they occur.


See this crates’s examples as well as the doctests in various modules.


pub use events::Event;
pub use frame::Frame;
pub use listener::Listener;


Events are sucessfully parsed frames from the CAN bus. The top level Event enum contains sub-events like ControlPanel which occasionally contain sub-events. Using it without a Listener (requires socketcan feature to be enabled), looks like this:
Contains our own CAN Frame, which wraps a libc::can_frame.
Contains a socketcan-powered event Listener to handle events from a Linux socketcan interface. Requires the socketcan feature.