Bluetooth Low Energy central and peripheral
The fundamental communication technique used in Bluetooth Low Energy (BLE) is client-server architecture. This mode of communication has been used in the computing industry for over half a century and is proven to be very successful over the years. The term client-server is used in its critical definition:
- Client: A device that asks for the data from the server
- Server: A device that serves the data to the client
It is a distributed architecture that divides the responsibilities between a receiver and a provider, in other words, a client and a server. Technically, client and server reside on different machines but it is completely possible that single-machine hosts both. Bluetooth Low Energy works on the same concept of data exchange. There is a BLE GATT client which asks for the data from the BLE GATT server.
Note
The word GATT is an acronym of the Generic Attribute Profile and it defines the way a BLE device behave in the communication.
Keeping GATT...