Ionic Philadelphia - December 7, 2017
Don Coleman - @doncoleman
0000FF10-0000-1000-8000-00805F9B34FB
0000FF11-0000-1000-8000-00805F9B34FB
0000FF12-0000-1000-8000-00805F9B34FB
0000FF16-0000-1000-8000-00805F9B34FB
Provides services
Uses services on a peripheral
src/pages/home/home.ts
src/pages/home/home.ts
src/pages/home/home.ts
src/pages/home/home.html
src/pages/home/home.html
NOTE: must run on real hardware
src/pages/home/home.html
$ ionic generate page detail
src/pages/home/home.ts
src/pages/detail/detail.ts
src/pages/detail/detail.ts
src/pages/detail/detail.ts
write(
deviceId: string,
serviceUUID: string,
characteristicUUID: string,
value: ArrayBuffer
): Promise
src/pages/home/home.ts
src/pages/detail/detail.html
src/pages/detail/detail.ts
src/pages/detail/detail.html
src/pages/detail/detail.ts
read(
deviceId: string,
serviceUUID: string,
characteristicUUID: string
): Promise
src/pages/detail/detail.ts
src/pages/detail/detail.ts
startNotification(
deviceId: string,
serviceUUID: string,
characteristicUUID: string
): Observable
src/pages/detail/detail.ts
src/pages/detail/detail.ts
src/pages/detail/detail.ts
src/pages/detail/detail.ts
src/pages/detail/detail.ts
src/pages/detail/detail.html
src/pipes/format-temperature-c/format-temperature-c.ts
src/pipes/format-temperature-f/format-temperature-f.ts
Don Coleman - Chariot Solutions
Slides http://don.github.io/slides/
Code http://github.com/don/ionic-ble-examples
Building Bluetooth Apps with Ionic by Don Coleman is licensed under a Creative Commons Attribution 4.0 International License.