Peripheral GAP service custom implementation

Browse source code on GitHub

Overview

This sample demonstrates the implementation of the GAP service on the application side. In this case the GAP name write operation is limited to always start with capital letter. Once the user connects to the device and tries to set its name, only names starting with capital letter would be accepted. Additionally the fact that the name has been changed is logged immediately.

Requirements

  • BlueZ running on the host, or

  • A board with Bluetooth LE support

Building and Running

See Bluetooth samples for details.

See also

Bluetooth APIs