



MIP APP

Who am I ?

Name: Adrian Ferreres
Description:
JavaScript addict architect
Contact:
Twitter: @ardiadrianadri
gmail: ardiadrianadri@gmail.com
technological speaker



ngBraves member





Victor Ocariz (@vocariz)
Jose Manuel García (@semagarcia)
Pablo Perez (@pablopl27)
Fernando Martín
(@fer_martyni)
GFT employee


https://appverse.gftlabs.com/wiki/dopeopledirectorysearch.action?queryString&showOnlyPersonal=false
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
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





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:
Graphql workshop in BCN:
https://www.meetup.com/es-ES/AngularJS-Beers/events/234354326/
Each friday in Campus Madrid:
https://www.campus.co/madrid/es
Mip APP
By Adrian Ferreres
Mip APP
- 990