EasyManuals Logo

Microchip Technology RN4870 User Manual

Microchip Technology RN4870
65 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
Page #39 background imageLoading...
Page #39 background image
2016 Microchip Technology Inc. DS50002466A-page 39
2.7 LIST COMMANDS
List commands display critical information in multiple lines of text in an easy to read and
easy to parse format. All list commands end output with keyword END.
2.7.1
LB
Command LB lists all bonded devices in the following format:
<index>,<address>,<address type>
where <index> is a single-digit index in the range of 1 to 8, representing the index of
the bonded device in the bonding table. This index can be used in command C<1-8>
to reconnect, and in command U,<1-8> to remove bonding.
The <address> is a 6-byte number representing the address of the bonded device;
<address type> is a single-digit number, taking either 0 or 1. Value 0 for <address type>
means that the address in the bonding information is a public address. In such case,
command C or C<1-8> is used to reconnect to the bonded device. Value 1 for
<address type> means random address, therefore, reconnection is not possible using
the bonded information, since the peer device may use a different random address
when RN4870/71 tries to reconnect.
2.7.2
LC[,<P,UUID>]
Command LC lists the available client services and their characteristics. Client services
and their characteristics are only available under three conditions:
An active connection exists
Peer device supports server role services.
RN4870/71 issues command CI before initiating client role service.
Optionally, command LC takes one input parameter.
If the input parameter is letter “P”, then only the Universally Unique Identifiers (UUID)
of all services are printed out.
If the input parameter is the UUID of the service that is either a 2-byte UUID for public
service or a 16-byte UUID for private service, the indicated service and all its charac-
teristics is printed out.
If there is no input parameter, then all the services and their characteristics are printed
out.
The output of command LC has the following format:
The first line is the primary service UUID
The second line starts with two spaces followed by the characteristic UUID, han-
dle, characteristic property and for characteristic configuration handle, current
configuration settings.
The property for characteristic value follows the definition listed in Table A-1 in
Appendix A. “Bluetooth Low Energy Fundamentals”. Property for characteris-
tic value must have bit 4 and bit 5 cleared (no notification or indication), while
property for characteristic configuration must have either bit 4 or bit 5 set.
Example: LB // List all bonded devices

Other manuals for Microchip Technology RN4870

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Microchip Technology RN4870 and is the answer not in the manual?

Microchip Technology RN4870 Specifications

General IconGeneral
BrandMicrochip Technology
ModelRN4870
CategoryMotherboard
LanguageEnglish

Related product manuals