BLE supports three modes of communication (Figure 15.1.2). In point-to-point mode, two devices form a dedicated connection: a central and a peripheral, defined in the next subsection, exchange data in both directions in a structured way. This is the most common BLE mode, and it is the one we will use. In broadcast mode, one device transmits small packets to everyone nearby, one way, with no connection at all; some fitness sensors work this way. In mesh mode, many devices relay messages from one to the next so that data can cross a large space, with no single device in charge; environmental monitoring in a greenhouse is a typical use.
Figure15.1.2.The three BLE communication modes, left to right: point-to-point between two devices, broadcast from one device to everyone nearby, and a mesh in which messages hop from device to device.