| 数据搜索系统,热门电子元器件搜索 |
|
PM0237 数据表(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 数据表(HTML) 41 Page - STMicroelectronics |
|
41 / 88 page ![]() DocID027104 Rev 2 41/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 3 Design an application using BlueNRG, BlueNRG-MS ACI APIs This section provides information and code examples about how to design and implement a Bluetooth low energy application on the selected microcontroller. User implementing a BLE host application on the selected MCU has to go through some basic and common steps: 1. Initialization phase and main application Loop 2. BlueNRG, BlueNRG-MS events and events Callback setup 3. Services and characteristic configuration (on GATT server) 4. Create a connection: discoverable, connectable modes & procedures. 5. Security (pairing & bonding) 6. Service and characteristic discovery 7. Characteristic notification/indications, write, read 8. Basic/typical error conditions description The STM32L1xx microcontroller is the reference external microcontroller used for the programming guidelines described on the following sections, since the available BlueNRG, BlueNRG-MS kits platforms are based on such microcontroller. Note: On the following sections, some user application “Defines” are used to simply identify the devices Bluetooth low energy role (central, peripheral, client and server). Further on each provided pseudo codes any reference to BlueNRG device is also valid for the BlueNRG-MS device. Any specific difference is highlighted whenever it is needed by using #ifdef BLUENRG_MS. Table 31. User application defines for BLE devices role Define Description GAP_CENTRAL GAP central role GAP_PERIPHERAL GAP peripheral role GATT_CLIENT GATT client role GATT_SERVER GATT server role |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |