A peripheral can be connected to only one central device at a time.A central cannot connect to another central and a peripheral cannot connect to another peripheral.In the perspective of a peripheral, the connected mode is a one-to-one mode. The GATT protocol describes how the conversation is made in this mode. Connected mode: allows a central to exchange complex data with a peripheral.In the perspective of a peripheral, this is a one-to-many mode. In this mode, simple information can be exchanged using GAP broadcasting. This mode allows a peripheral to be known by centrals, thus the term “advertising”. Advertising mode: the peripheral sends information to be available to all the centrals around.In the next section, we will introduce the possible communication modes in BLE. The iPhone that connects to a smart band acts as a central.Smart-bands such the MI-Band is a peripheral.Some devices can act a as central peripheral at the same time. In a client / server model the central can be seen as the client and the peripheral can be seen as the server. The central is the device that initiates the connection to the peripheral. The central is a device that connects to peripherals in order to read or write data exposed by the peripherals. ![]() In the BLE world there are two type of devices: peripheral and central.Ī peripheral is a device that exposes services and data for reading or writing. BLE communication the central and the peripheral: Now that we have some BLE peripherals, we will see in the next section how they communicate. We can recognize a BLE peripheral if it contains in its specifications the terms “Bluetooth smart” “Bluetooth Low Energy” or “BLE”. So be careful to check the compatibility of the peripheral with BLE. ![]() For clarification, the Bluetooth 4 specification defines a set of technologies which include Classic Bluetooth, Bluetooth high speed and Bluetooth low energy protocols. Bluetooth Low Energy is also abbreviated to BLE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |