



MIP APP

Who are we ?

Name:
Adrian Ferreres
Description:
- JavaScript
addictarchitect - GFT appverse developer
- technological speaker
Contact:
- Twitter: @ardiadrianadri
- gmail: ardiadrianadri@gmail.com
Who are we ?
Name:
Pablo Perez
Description:
- Innovative restless
- UST-Global
- technological student
Contact:
- Twitter: @PabloPL27
- gmail: pabloploz22@gmail.com

Who are we ?
Name:
Jose Manuel García (Sema)
Description:
- JS architect
- everis
- Cordovan with spark
Contact:
- Twitter: @semagarcia
- gmail:

ngBraves member



Victor Ocariz (@vocariz)
Fernando Martín
(@fer_martyni)
Bluetooth low energy
- Personal wireless network
- Communication point to point
- Range around 100 metres
- Small broadband
- Only allow connection with one device at the same time
- Low consume of energy
Interface BLE
- "UUID":"1C:05:43:5C:E3:54",
- "name":"\u0001",
- "state":"connected",
- "services":[
- {
- "UUID":"1800",
- "characteristics":[
- {
- "UUID":"2a00",
- "name":"2a00",
- "properties":{
- "read":true,
- "write":true,
- "writeWithoutResponse":false,
- "notify":false,
- "indicate":false,
- "broadcast":false,
- "authenticatedSignedWrites":false,
- "extendedProperties":false
- ,}
- "descriptors":[
- ]
- ,}Device
Service
Characteristics
Sequence of BLE

1. The BLE scans for other bluetooth devices




2. The devices found share their UUID with the app
3. The app requests a connection with the device using its UUID
4. The device returns the connection object with all the information about its services
5. To send a order, the app concatenates the UUID of the service, the UUIID of the characteristic and the input parameters (if they are needed) in a string.
Physical web



Web site that ask the browser to use the bluetooth of the host device to send commands to another device
LIVE CODING

Example of physical web

Name: Uri Shaked
Twitter: @UriShaked
Description: Google Developer Expert for Web and Cloud Technologies.
Example of physical web:
https://urish.github.io/webble-mip/
Code:
https://github.com/urish/webble-mip
Angular 2 + NativeScript

NativeScript

Don't choose, code in NativeScript
Angular 2





LIVE CODING

Mip App 2.0

NativeScript + Angular tutorial:
https://docs.nativescript.org/tutorial/ng-chapter-0
Githup of the project:
https://github.com/ngBraves/mipApp_2.0
nativescript-mip-ble

Name: Sebastian Witalec
twitter: @sebawita
Description: Telerik speaker and NativeScript expert
Github repository:
https://github.com/sebawita/nativescript-mip-ble

I hope see you in:
Each friday in Campus Madrid:
https://www.campus.co/madrid/es
Compilation AoT with Angular 2:
http://www.meetup.com/es-ES/Madrid-Angular-RoR-Meetup/events/234947579/
ngBraves
By Adrian Ferreres
ngBraves
- 717