Bluetooth uses protocols that make it easy to discover devices that are nearby, and to set up a connection between these devices. Bluetooth devices can advertise all the services they offer. Using services becomes easier; a lot of the setup related to security, networking or permissions is automatic.