-
Notifications
You must be signed in to change notification settings - Fork 6
Chromebook Setup Bot Pairing
Linda Nichols edited this page Apr 7, 2016
·
3 revisions
- First, enable developer-mode.
To enable Developer Mode:
- With power off, press Esc+Refresh+Power.
- At the scary screen, hit Ctrl+D.
- At next scary screen, hit enter.
- It will prepare the system from developer mode, let this run its course.
- 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:
- Install the Crouton Extension
- Download the latest crouton installer by clicking here.
- Open the
crosh
shell by hitting Ctrl+Alt+T on the keyboard. - In
crosh
, typeshell
- Run
sudo sh ~/Downloads/crouton -r trusty -t unity,xiwi
and wait until the prompts are presented and answer them. - 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