No ACL setup yet! Denying access to everyone.
en:edu:zmitac:s2:iotn:esp32ble2
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:edu:zmitac:s2:iotn:esp32ble2 [2024/03/31 17:15] – created ktokarz | en:edu:zmitac:s2:iotn:esp32ble2 [2024/04/09 08:58] (current) – [Prerequisites] ktokarz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| This scenario presents how to create the Bluetooth Low Energy server device, which allows us to connect to and read the data. This can be the sensor device which responds to the client with the results of the measurements. This can also be the output device, which we can control writing the data to. This scenario presents the use of the concept of services and characteristics. | This scenario presents how to create the Bluetooth Low Energy server device, which allows us to connect to and read the data. This can be the sensor device which responds to the client with the results of the measurements. This can also be the output device, which we can control writing the data to. This scenario presents the use of the concept of services and characteristics. | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | It is necessary to understand the principles of the Bluetooth Low Energy protocol with concepts of services, characteristics and descriptors. We will use in this scenario the knowledge of the advertising process so making the IoT_7 exercise is recommended. | + | It is necessary to understand the principles of the Bluetooth Low Energy protocol with concepts of services, characteristics and descriptors. We will use in this scenario the knowledge of the advertising process so making the part 1 exercise is recommended. |
| ===== Suggested Readings and Knowledge Resources ===== | ===== Suggested Readings and Knowledge Resources ===== | ||
| - | * [[en: | + | None at the time. |
| - | * [[en: | + | |
| - | * [[en: | + | |
| - | + | ||
| ===== Hands-on Lab Scenario ===== | ===== Hands-on Lab Scenario ===== | ||
| This scenario is intended to be implemented using actual equipment on-site. Although it is possible to make it remotely, with the use of two BLE laboratory nodes, to observe all the details you need to have your mobile phone or similar device with an application which allows you to scan and explore your Bluetooth Low Energy devices and communicate with them. One of the best applications is nRF Connect created by Nordic Semiconductors. | This scenario is intended to be implemented using actual equipment on-site. Although it is possible to make it remotely, with the use of two BLE laboratory nodes, to observe all the details you need to have your mobile phone or similar device with an application which allows you to scan and explore your Bluetooth Low Energy devices and communicate with them. One of the best applications is nRF Connect created by Nordic Semiconductors. | ||
| Line 16: | Line 12: | ||
| ==== Start ==== | ==== Start ==== | ||
| - | A similar program is available as the software example for the BLE server device in the ESP32 BLE Arduino package. You can use this example or the beacon program from IoT_7 as the starting point. | + | A similar program is available as the software example for the BLE server device in the ESP32 BLE Arduino package. You can use this example or the beacon program from part 1 as the starting point. |
| ==== Steps ==== | ==== Steps ==== | ||
| Line 36: | Line 32: | ||
| BLECharacteristic | BLECharacteristic | ||
| </ | </ | ||
| - | Any service or characteristic is identified with a unique UUID. If you use the standard service, like eg. Health Thermometer or Binary Sensor Service you can use a 16-bit UUID defined by Bluetooth SIG in the document (()). The same document defines the UUIDs for characteristics. | + | Any service or characteristic is identified with a unique UUID. If you use the standard service, like eg. Health Thermometer or Binary Sensor Service you can use a 16-bit UUID defined by Bluetooth SIG in the document ((https:// |
| < | < | ||
| Example of the standard UUIDs for service and characteristic: | Example of the standard UUIDs for service and characteristic: | ||
| + | \\ | ||
| Health Thermometer Service - 0x1809 | Health Thermometer Service - 0x1809 | ||
| + | \\ | ||
| Temperature Measurement Characteristic - 0x2A1C | Temperature Measurement Characteristic - 0x2A1C | ||
| </ | </ | ||
| Line 133: | Line 131: | ||
| <WRAP noprint> | <WRAP noprint> | ||
| ===== Project information ===== | ===== Project information ===== | ||
| - | {{:en:iot-open: | + | {{:en:edu: |
| This Intellectual Output was implemented under the Erasmus+ KA2.\\ | This Intellectual Output was implemented under the Erasmus+ KA2.\\ | ||
| Project IOT-OPEN.EU Reloaded – Education-based strengthening of the European universities, | Project IOT-OPEN.EU Reloaded – Education-based strengthening of the European universities, | ||
| Line 146: | Line 144: | ||
| The content is Copyrighted and distributed under CC BY-NC [[https:// | The content is Copyrighted and distributed under CC BY-NC [[https:// | ||
| <figure label> | <figure label> | ||
| - | {{:en:iot-open: | + | {{:en:edu: |
| </ | </ | ||
| </ | </ | ||
en/edu/zmitac/s2/iotn/esp32ble2.1711898155.txt.gz · Last modified: by ktokarz
