Bluetooth devices need to exchange information before actual data transmission. This information exchange involves using the following:
Device inquiry
Service discovery
Universally Unique Identifier (UUID)
Name discovery
Master/slave roles
Security