Peripheral Object Transfer Service (OTS)

Browse source code on GitHub

Overview

Similar to the Peripheral sample, except that this application specifically exposes the OTS (Object Transfer) GATT Service.

Requirements

  • BlueZ running on the host, or

  • A board with Bluetooth LE support

Building and Running

Build and flash the sample as follows, replacing <board> with your target board:

west build -b <board> samples/bluetooth/peripheral_ots
west flash

After flashing, use the Central OTC sample on a second board to connect and interact with the Object Transfer Service (OTS), or use a Bluetooth scanner app with OTS client support (e.g. nRF Connect).

See also

Object Transfer Service (OTS)
Bluetooth APIs