EasyManua.ls Logo

Microchip Technology RN4870 - Page 34

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
Loading...
RN4870/71 Bluetooth
®
Low Energy Module User’s Guide
DS50002466A-page 34 2016 Microchip Technology Inc.
2.6.19 I
Command I is used to initiate UART Transparent operation with RN4677 or RN4678.
This command expects no input parameter. Once this command is issued, RN4870/71
automatically enters Data mode.
2.6.20
IA,<hex8>,<Hex>/IB,<hex8>,<Hex>/IS,<hex8>,<Hex>
NA,<hex8>,<Hex>/NB,<hex8>,<Hex>/NS,<hex8>,<Hex>
Commands IA, IB, IS and NA, NB, NS set the advertisement, beacon and scan
response payload format, respectively.
All advertisement, beacon and scan response are composed of one or more Advertise-
ment Structure (AD Structure). Each AD structure has one byte of length, one byte of
Advertisement Type (AD Type, listed in Table 2-1 3) and Advertisement Data (AD Data).
The set of commands either append an AD structure or remove all AD structures,
depending on the first parameter.
Commands starting with letter “I” make the changes immediately effective without a
reboot. The changes are saved into NVM only if other procedures require permanent
configuration changes. This command is suitable to broadcast dynamic data in the AD
structure. On the other hand, commands starting with letter “N” make permanent
changes saved into NVM. Therefore, a reboot is required to take effect.
The second letter in the commands indicates the type of information to be changed.
Letter “A” indicates advertisement to be changed; letter “B” indicates beacon to be
changed and letter “S” indicates scan response to be changed.
The first parameter is the AD type. Bluetooth Special Interest Group (SIG) defines AD
types in the Assigned Number list in the Core Specification. If AD type is set to letter
“Z”, then all AD structures are cleared. Ta ble 2 -13 lists the commonly used AD types.
The second parameter is the AD data. AD data has various lengths and follows the for-
mat defined in Bluetooth SIG Supplement to the Bluetooth Core Specification.
Example: I // Start UART Transparent with RN4020 and
// RN4677/4678
Response: AOK
ERR
%STREAM_OPEN%
// Success
// Not connected or already enable UART
// Transparent mode
// Status string
TABLE 2-13: LIST OF AD TYPES
AD Type (HEX) Description
01 Flags
02 Incomplete list of 16-bit UUIDs
03 Complete list of 16-bit UUIDs
04 Incomplete list of 32-bit UUIDs
05 Complete list of 32-bit UUIDs
06 Incomplete list of 128-bit UUIDs
07 Complete list of 128-bit UUIDs
08 Shortened local name
09 Complete local name
0A TX power level
0D Class of device
0E Simple pairing hash
0F Simple pairing randomizer

Other manuals for Microchip Technology RN4870

Related product manuals