ArchLinux:
$ <in>yaourt -S pebble-sdk<in>
A Debian package is available here.
Examples are in /opt/pebble/Examples
According to https://github.com/pebble/libpebble#c-debian-additional-dependencies.
$ <in>sudo hciconfig hci0 up</in> $ <in>bluetoothctl</in> [NEW] Controller AA:BB:CC:DD:EE:FF host-0 [default] [bluetooth]# <in>scan on</in> Discovery started [CHG] Controller 60:D8:19:F9:3E:B2 Discovering: yes [NEW] Device 00:11:22:33:44:55 Pebble 4455 [bluetooth]# <in>pair 00:11:22:33:44:55</in> Attempting to pair with 00:11:22:33:44:55 [CHG] Device 00:11:22:33:44:55 Connected: yes [CHG] Device 00:11:22:33:44:55 Modalias: bluetooth:v005Ep0001d0112 [CHG] Device 00:11:22:33:44:55 UUIDs: 00001101-0000-1000-8000-00805f9b34fb 0000110e-0000-1000-8000-00805f9b34fb 00001200-0000-1000-8000-00805f9b34fb [CHG] Device 00:11:22:33:44:55 Paired: yes Pairing successful [CHG] Device 00:11:22:33:44:55 Connected: no [bluetooth]# quit [DEL] Controller AA:BB:CC:DD:EE:FF host-0 [default] $ <in>export PEBBLE_BTID=00:11:22:33:44:55 PEBBLE_ID=4455</in> # avoid having to use --pebble_id later $ <in>sudo rfcomm bind 0 ${PEBBLE_BTID} 1</in> $ <in>sudo ln -s /dev/rfcomm0 /dev/tty.Pebble${PEBBLE_ID}-SerialPortSe</in>
Alternatively, the Pebble can be reached through the phone app, with developer mode enabled.
$ <in>export PEBBLE_PHONE=192.2.0.1</in>
$ <in>pebble new-project</in> $ <in>pebble build</in> $ <in>pebble install</in>