Merge lp:~bhdouglass/rockwork/readme-updates into lp:rockwork

Proposed by Brian Douglass
Status: Merged
Merged at revision: 13
Proposed branch: lp:~bhdouglass/rockwork/readme-updates
Merge into: lp:rockwork
Diff against target: 55 lines (+34/-17)
1 file modified
README.md (+34/-17)
To merge this branch: bzr merge lp:~bhdouglass/rockwork/readme-updates
Reviewer Review Type Date Requested Status
Michael Zanetti Pending
Review via email: mp+280381@code.launchpad.net

Description of the change

Updated README with setup and snooping instructions

To post a comment you must log in.
13. By Brian Douglass

Added cli args to launch wireshark with

14. By Brian Douglass

Added missing unsaved info

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.md'
2--- README.md 2015-11-21 22:55:06 +0000
3+++ README.md 2015-12-12 21:11:32 +0000
4@@ -1,17 +1,34 @@
5-Ubuntu Pebble App
6-
7-* Compiling:
8-
9- - Compile with Ubuntu Phone platform integration:
10- - Use the Ubuntu SDK to compile and run the app the phone
11- or
12- - qmake path/to/source && make
13-
14- - Compile on desktop for testing/developemt
15- - Use the Ubuntu SDK, edit build configuration and add
16- CONFIG+=testing
17- to qmake arguments
18- or
19- - qmake path/to/source CONFIG+=testing && make
20-
21-
22+# Ubuntu Pebble App
23+
24+An unofficial Pebble App for Ubuntu
25+
26+## Development
27+
28+* Install the [Ubuntu SDK](https://developer.ubuntu.com/en/start/ubuntu-sdk/installing-the-sdk/)
29+* Setup a [click chroot](https://developer.ubuntu.com/en/apps/sdk/tutorials/click-targets-and-device-kits/) (for armhf compiling)
30+* Installing dependencies (in the armhf chroot)
31+ * Use the Ubuntu SDKs kit management interface to open up cli access to the chroot
32+ * OR access it via command line: `click chroot -a armhf -f ubuntu-sdk-15.04 maint`
33+ * Run: `apt-get install qtconnectivity5-dev:armhf libqt5bluetooth5:armhf libtelepathy-qt5-dev:armhf libqmenumodel-dev:armhf libquazip-qt5-dev:armhf`
34+* Compile uPebble
35+ * Build/Run using the Ubuntu SDK and the desired kit
36+ * OR from the cli: `qmake path/to/source && make`
37+* Compile uPebble for Debugging
38+ * Edit the build configuration to include CONFIG+=testing in the qmake arguments, then build/run using the Ubuntu SDK and the desired kit
39+ * OR from the cli: `qmake path/to/source CONFIG+=testing && make`
40+
41+## Snooping on Pebble communications
42+
43+NOTE: This setup requires an Android device
44+
45+* Install [Wireshark](https://www.wireshark.org/)
46+* Launch Wireshark with the [Pebble Dissector](https://github.com/bhdouglass/PebbleDissector)
47+ * Run: `wireshark -X lua_script:pebble.lua`
48+* Setup [developer options](https://wiki.cyanogenmod.org/w/Doc:_developer_options) on Android
49+* In the developer options enable "Enable Bluetooth HCI snoop log"
50+* Do something interesting with your Pebble
51+* Send the bluetooth log (`/sdcard/btsnoop_hci.log`) to your computer with Wireshark
52+* Load btsnoop_hci.log into Wireshark
53+ * If Wireshark does not automatically detect the Pebble portions of the log you will need to use the option "Decode As" and make sure options for "BT RFCOMM" are selected
54+
55+Original guide found here: <http://wordpress.meulenhoff.org/?p=996>

Subscribers

People subscribed via source and target branches