Skip to content

Chromebook Setup Bot Pairing

Linda Nichols edited this page Apr 7, 2016 · 3 revisions

Installation on Chromebooks

To enable Developer Mode:

  1. With power off, press Esc+Refresh+Power.
  2. At the scary screen, hit Ctrl+D.
  3. At next scary screen, hit enter.
  4. It will prepare the system from developer mode, let this run its course.
  5. When it reboots and for all subsequent reboots, hit Ctrl+D at the warning boot screen.

When logged in and in Developer Mode, do the following:

  1. Install the Crouton Extension
  2. Download the latest crouton installer by clicking here.
  3. Open the crosh shell by hitting Ctrl+Alt+T on the keyboard.
  4. In crosh, type shell
  5. Run sudo sh ~/Downloads/crouton -r trusty -t unity,xiwi and wait until the prompts are presented and answer them.
  6. When done, run sudo enter-chroot to go into ubuntu shell

Pair the mBot using the command line:

sudo apt-get install bluetooth bluez-utils bluez-firmware bluez-tools blueman

sudo /etc/init.d/bluetooth start

hcitool scan #to get device address

sudo bluez-simple-agent hci0 {device_address}

Bind the mBot to the Bluetooth RFComm Port:

  • Make an entry in the rfcomm.conf file:
sudo vim /etc/bluetooth/rfcomm.conf

rfcomm0 {
  bind yes;
  device <MAC address of the device>;
  channel <channel for RFCOMM>;
  comment "GNS 2000 (GPS & GLONAS)";
}

  • Restart Bluetooth
  • sudo rfcomm connect 0
  • Test connection screen /dev/rfcomm0

Install the application using the instructions in the README.md

  • Be sure that the BLE_PORT is set to /dev/rfcomm0
Clone this wiki locally