![]() |
nRF5 SDK
v15.0.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
This example uses the USB CDC ACM module. See the documentation of this module for links to relevant specification documents. For explanation of the BLE part, see UART/Serial Port Emulation over BLE example.
This example shows how to use the CDC ACM USB class, commonly known as Virtual COM port, with the Nordic UART Service.
After connecting the USB cable, the development kit enumerates as a COMx port on Windows hosts or as a /dev/ttyACMx
device on Linux/Unix hosts. The port can be opened and closed just like a traditional serial port.
Windows 8 (and later) hosts pick the correct driver (usbser.sys
) automatically.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\usbd_ble_uart
LED assignments:
Test the USBD BLE UART Application with the nRF UART app, which is available for iOS (App Store) and Android (Google Play).
Test the USBD BLE UART Example application by performing the following steps: