Skip to content

Alternate installation instructions for using RFcat

Barış Kurtlutepe edited this page May 22, 2018 · 5 revisions

On windows you need to install the libusb driver for your USB capture device. Easiest way to do this is by running the Zadig application. Please note in the Zadig installer, you have to choose "libusb-win32" for your device and pay attention to choose the correct hardware from the drop-down list first. Otherwise other USB hardware will stop working.

I copied and edited https://github.com/openaps/openomni/blob/master/README.md to reflect my successful experience doing an installation of a python distribution and dependencies for running omni_listen_rfcat on a MacOS machine with an RFcat dongle: http://int3.cc/products/rfcat

OpenOmni

Documentation and python library for decoding omnipod communications. Join the Slack channel to discuss this work. This is the wiki where all can contribute https://github.com/openaps/openomni/wiki . The main github page is https://github.com/openaps/openomni

Installation

Prerequisites:

One easy way is to use the Anaconda python distribution. It targets multiple platforms. What I have here worked for MacOS but it should work for Windows and Linux also with some tweaking. Let me (slack: @yeagerm) know about other experiences with Windows, Linux and maybe VMs running them I can add that to this page.

You might as well download the current Anaconda python 3.6 distribution-- there are easy tools explained here to quickly setup an environment for python 2.7 that has specific other dependencies for using the RFcat device.

Then from your terminal application in your user directory this will make sure the Anaconda distribution is up to date:

conda update conda
conda update anaconda

To create a python 2.7 environment named "omnipod":

conda create -n omnipod python=2.7

On MacOS and Linux, activate the "omnipod" python 2.7 environment:

source activate omnipod

On Windows, activate the "omnipod" python 2.7 environment:

activate omnipod

This is already included with Anaconda

sudo pip install pyusb

On MacOS, you'll need libusb1

sudo pip install libusb1
sudo pip install python-dateutil
git clone https://github.com/atlas0fd00m/rfcat.git
cd rfcat
sudo pip install -e .
cd ~

You can install openomni in editable mode like this:

git clone https://github.com/openaps/openomni.git
cd openomni
sudo pip install -e .
cd ~

** Note: You can capture packets by plugging an RFCat into a USB port -- then go to the command line, and navigate to this directory:

cd ~
cd openomni/openomni/bin/

Then type:

omni_listen_rfcat

Then issue commands from your PDM and they'll appear at the command line, as well as responses from the active Pod. Make sure PDM and Pod are close to the RFCat. 2-3 feet seems a sufficient distance.

=======

** Please note the details below are related to a project created to better understand how the omnipod communicates **

Stay Up to Date!

Join the Slack channel to discuss this work.

Contributors on Slack: (in no particular order)

(To view, you must be logged into the OmniAPS Slack channel. Click here to join.)

Rules for Contributing to this Repository

  • All code updates require the use of Pull Requests.
  • Documentation updates can be made directly on master.

https://files.slack.com/files-pri/T0B2X082E-F0D390KTP/download/pod_datacap_23oct2015.odt


Clone this wiki locally