Skip to Academy content
MODULE 01 · LESSON 04
Beginner8 min read

Understanding BLE Central and Peripheral Roles

The central and peripheral labels describe the connection roles in a BLE interaction, not the importance of either device.

LEARNING OBJECTIVES

What you’ll learn

  • Describe what central and peripheral roles do
  • Separate GAP roles from GATT client and server roles
  • Distinguish a connectable peripheral from a broadcast-only beacon

Central: find and initiate

A central can scan for advertisers and initiate a connection to a connectable peripheral. A phone connecting to a fitness tracker is a familiar example. A BleuIO dongle configured in central role can also scan for nearby devices. The central role describes who initiates the connection, not which device is more important.

Peripheral: advertise and accept

A peripheral advertises to allow a central to establish a connection. A connectable sensor is a familiar example. A broadcast-only beacon instead uses the GAP broadcaster role: it advertises data but does not accept a connection. This distinction matters when a device appears in a scan but cannot be connected to.

GAP roles at a glance
01CentralInitiates a connection
02PeripheralAccepts a connection
03BroadcasterSends without connecting
04ObserverListens without connecting

GAP roles versus GATT roles

Central/peripheral are connection roles defined at the GAP level. GATT client/server describe who asks for attribute operations and who holds the attribute database. A central is often the GATT client and a peripheral often the server, but the concepts are separate. Some devices support more flexible combinations. GAP also defines an observer role for receiving broadcast data without connecting.

Useful mental model

GAP answers “how do these devices find and connect?” GATT answers “how is application data organized and exchanged?”

Compare the roles

GAP roleTypical behaviorExample
CentralInitiates a connection to a peripheralPhone connecting to a tracker
PeripheralAccepts a central’s connectionConnectable tracker
BroadcasterSends advertising data without accepting a connectionBroadcast-only beacon
ObserverReceives broadcasts without connectingListener collecting beacon data

BleuIO’s AT+CENTRAL command places the dongle in central role for its AT+GAPSCAN scan. The advertising lesson uses those commands in a complete lab. For now, identify the roles in the phone-and-tracker example above.

QUICK CHECK

Check your understanding

A beacon broadcasts an identifier but never accepts a connection. Which GAP role best describes it?

IN BRIEF

Key takeaways

  • A central scans and can initiate connections.
  • A peripheral advertises for a possible connection; a broadcaster sends data without accepting one.
  • GAP connection roles and GATT data roles describe different layers.

Further Reading and Resources

Finished this lesson?

Save your progress in this browser.