This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Serial Port profile for BLE device

Hello, I've just purchased nRF52 dev kit and I'm using ble_app_uart example from SDK_12.2 to send/receive data from one pc (which is connected to the dev kit through usb) to a laptop. Although the laptop pairs with my bluetooth device, it does not assign a virtual com port to it. As I read in some posts, ble doesn't support serial port profile and it is suggested to build our own custom service (devzone.nordicsemi.com/.../)

It is essential for me to assign a virtual com port in order to communicate with my labview application (and building a custom service is not possible since it's not my area of expertise), is there any piece of code I could use to provide that functionality or should I give up on ble and find a classic bluetooth device? Thank you in advance.

Parents
  • Hello, thank you for your quick reply! I am using this example but, if I am getting it right, it is only creating a virtual com port on the usb side (in my case the pc connected to the Dev kit). What I want is to assign a virtual com port to the laptop that is paired with the bluetooth device. The advertising name in this example is Nordic_uart, my laptop finds it and connection is established successfully but no serial port is assigned to it.

Reply
  • Hello, thank you for your quick reply! I am using this example but, if I am getting it right, it is only creating a virtual com port on the usb side (in my case the pc connected to the Dev kit). What I want is to assign a virtual com port to the laptop that is paired with the bluetooth device. The advertising name in this example is Nordic_uart, my laptop finds it and connection is established successfully but no serial port is assigned to it.

Children
No Data
Related