EasyManua.ls Logo

NXP Semiconductors UM11490 - Bluetooth LE device as GATT client

NXP Semiconductors UM11490
88 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
4.7 Bluetooth LE device as GATT client
This section describes the procedure to configure the i.MX 8M Quad as a Bluetooth LE
client. It also shows the options to list the attributes available in the Bluetooth LE server
and access information.
Follow these steps to configure the Bluetooth LE GATT client.
Connect with a remote Bluetooth LE device
Refer to Section 4.1 "Scan, pair and connect to Bluetooth classic/Bluetooth LE".
List the attributes
[LE Device]# menu gatt
Menu gatt
[LE Device]# list-attributes
Primary Service
/org/bluez/hci0/dev_5F_82_1E_F1_DE_CC/service0001
00001801-0000-1000-8000-00805f9b34fb
Generic Attribute Profile
Characteristic
/org/bluez/hci0/dev_5F_82_1E_F1_DE_CC/service0001/char0002
00002a05-0000-1000-8000-00805f9b34fb
Service Changed
[LE Device]#
Retrieve the attribute information
[LE Device]# attribute-info
/org/bluez/hci0/dev_5F_82_1E_F1_DE_CC/service0001/char0002
Characteristic - Service Changed
UUID: 00002a05-0000-1000-8000-00805f9b34fb
Service: /org/bluez/hci0/dev_5F_82_1E_F1_DE_CC/service0001
Notifying: no
Flags: indicate
[LE Device]#
UM11490 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 2 — 29 January 2021
72 / 88

Table of Contents

Related product manuals