Download BlueNRG, BlueNRG-MS stacks programming guidelines

Transcript
PM0237
Bluetooth low energy technology
On GAP context, two fundamental concepts are defined:
•
GAP modes: it configures a device to act in a specific way for a long time. There are
four GAP modes types: broadcast, discoverable, connectable and bendable type.
•
GAP procedures: it configures a device to perform a single action for a specific, limited
time. There are four GAP procedures types: observer, discovery, connection, bonding
procedures.
Different types of discoverable and connectable modes can be uses at the same time. The
following GAP modes are defined:
Table 20. GAP broadcaster mode
Mode
Broadcast mode
Description
Notes
Device only broadcasts
data using the link layer
Broadcasts data can be
advertising channels and
detected by a device using
packets (it does not set any the observation procedure
bit on Flags AD type).
GAP role
Broadcaster
Table 21. GAP discoverable modes
Mode
Non-discoverable
mode
Description
Notes
It cannot be discovered by a
It cannot set the limited and
device performing a general
general discoverable bits on
or limited discovery
Flags AD type.
procedure
GAP role
Peripheral
It is allowed for about 30 sec.
It is used by devices with
It sets the limited
Limited
which user has recently
discoverable bit on Flags AD
discoverable mode
interacted. For example,
type.
when a user presses a button
on the device.
Peripheral
It is used when a device
It sets the general
General
wants to be discoverable.
discoverable bit on Flags AD
discoverable mode
There is no limit on the
type.
discoverability time.
Peripheral
DocID027104 Rev 3
27/97
97