Re: BLE central device as GATT server
Re: BLE central device as GATT server
- Subject: Re: BLE central device as GATT server
- From: András Kövi <email@hidden>
- Date: Mon, 11 Nov 2013 15:30:12 +0100
Say you have a bipartite graph (
http://en.wikipedia.org/wiki/Bipartite_graph) where the nodes are the roles of devices. A device with role can be Peripheral or Central (and the same node can implement both roles but this is still visualized as two nodes). One group is constituted by the peripherals, the other by the centrals (U and V in the image) There are edges (connections) only between U and V points. As long as you look at a single central, it will look like the center of a star graph where the leafs are the peripherals. But the same applies to peripherals. :) This is all to it.
Building a mesh is possible by using just single role nodes or nodes that implement both roles. Say you want a chat system:
With single role devices: you create clients (centrals) and servers (peripherals) and the clients communicate with each other over the servers
With dual role devices: you create a bittorrent architecture