User Manual

Microchip RN4020 Certified Bluetooth® Low
Energy OEM Module User Guide
1. Introduction
Microchip RN4020 Certified Bluetooth Low Energy (BTLE) OEM module is a single
mode Bluetooth Smart module that complies with Bluetooth Core Specification 4.0.
Through its high speed UART interface, it could be configured to act as either central
or peripheral role when establishing connection. It supports 13 public profiles and
18 public services, which are adopted by Bluetooth Special Interest Group (SIG). For
all supported profiles and services, RN4020 could be configured to act as server and
client roles at the same time. Furthermore, RN4020 supports Microchip private
profile Microchip Low Power Data Profile (MLDP) that simulates Serial Port Profile
(SPP), which is defined in Bluetooth Classic and enables data stream between two
devices. Finally, Microchip RN4020 also supports user self-defined private
profile/service, which could precisely fit user’s particular application. All
configurations will be saved in onboard no-volatile memory (NVM), so user only
needs set up the module once.
Microchip RN4020 provides user an easy-to-use, fast-to-market, very flexible and
powerful solution for BTLE technology.
2. Fundamental of Bluetooth Low Energy
When two BTLE devices want to be connected, one should be in central role and the
other in peripheral role. Peripheral would advertise to show its connectable status,
while central device will start the connection process. Once connected, either end of
connection could choose to bond. Once bonded, all security related key will be saved
and security process will be waived when reconnecting. Bonded peripheral device
could only perform direct advertise, therefore, no longer to able to connect to device
other than its bonded peer.
Similar to Bluetooth Classic, BTLE uses the concept of profiles to ensure
interoperability between different devices. Unlike Bluetooth Classic, BTLE profiles
are collection of services. All BTLE services are built on top of Generic Attribute
Profile (GATT), where GATT defines accessibility of attributes called characteristics.
The main functionality of BTLE profiles, therefore, is built around the
characteristics. For those devices that maintain the value of characteristics in a
service, such device is the server of the service. On the other hand, those devices
that acquire data from their peer are called client.
Each service and its characteristics could be identified by their Universally Unique
Identifier (UUID). The UUID could be either short form (16bit) or long form
(128bit). All Bluetooth SIG adopted services and characteristics have short UUID,

Summary of content (57 pages)