Arquitectura de hardware.

Warnings:
There are some attempts at humor here.
----
# HARDWARE ARCHITECTURE
In engineering, hardware architecture refers to the identification of a system's physical components and their interrelationships.
![HARDWARE ARCHITECTURE]https://en.wikipedia.org/wiki/Hardware_architecture

----
## Inteligent Classroom before a Inteligent City
We think that we need a clever Classroom before think on a clever City.
----
## A short range, ultra-low power consuming wireless technology.
Shares the “Bluetooth” name, but has different design goals in mind.
----
## Power Consumption
Years, not hours or days.
----
## Short range
About 50m
----
## Packet-based
- BLE is a “star” topology network

_
====
## The Stack
- Controller
- Host

_
====
### Logical Link Control and Adaptation Protocol (L2CAP)
- MTU
- Channel Management
- Connection parameter updates

_
====
### Maximum Transmission Unit (MTU)

_
====
### Security Manager Protocol (SMP)
- Pairing
- Authentification
- Bonding

_
====
### Generic Access Profile (GAP)
- Device Discovery
- Link Establishment
- Link Management
- Link Termination
- Initiation of security features

----
### Attribute Protocol (ATT)
- A handle (address)
- A type
- A set of permissions
_
====
### Central vs Peripheral

centravsperi
_
====
### Generic Attribute Profile (GATT)

_
====
### Intervals

_
====
### Connection-less
Devices do not need to maintain connections.

_
====
### Interval

_
====
### Pairing

----
## Security
Devices pair, keys are distributed, and the connection is encrypted.
Encryption is AES-128.
----
## Two kinds of services
There are primary services and secondary services.
Services can contain other services. (Nested services)
_
====
## Profiles
Profiles define roles for devices to play.
_
====
## Profiles & Services
Profiles contain services.
Services can be contained by multiple profiles.
_
====
## Anatomy of a Peripheral

----
### Aplication
[Aplication
](https://gitlab.com/oemunoz/force-ha)
_
====
### D3 Library
[D3](https://github.com/d3/d3-force)
_
====
### Bleno Library
[Bleno](https://github.com/sandeepmistry/bleno)
----
Gracias!!