Installing BtleJuice

From Embedded Lab Vienna for IoT & Security
Revision as of 20:20, 14 February 2020 by Epotetz (talk | contribs)
Jump to navigation Jump to search

Summary

Description what this documentation is about

Requirements

  • Operating system: Ubuntu 18.04 bionic amd64
  • Packages: git emacs

In order to complete these steps, you must have followed Some Other Documentation before.

Install nodejs

Step 1 Remove nodejs

sudo apt-get purge nodejs && sudo apt-get autoremove && sudo apt-get autoclean

Step 2 run the following script

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash

Step 3 install npm 6.17.1

nvm list
nvm ls-remote
nvm install 6.17.1
nvm use 6.17.1
nvm alias default 6.17.1
node -v
npm install -g npm
npm -v

Step 3 increases the amount of inotify watches.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

Install BtleJuice and dependencies

Step 1 Install the dependencies of BtleJuice using the package manager.

sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev

Step 2 Install Btlejuice

npm install -g btlejuice

Step 3 Setting up BtleJuice proxy

service bluetooth start
hciconfig  

Step 2 Launch Btlejuice

btlejuice-proxy


Setting up BtleJuice core

Used Hardware

References