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

Connecting NRF52840 DK with PC through BLE

I am currently trying to connect the NRF52849 developing board with my PC through bluetooth. My problem is that I cannot access the data through the software TeraTerm on a 'standard serial over bluetooth link' so I can access the incoming data from the board. I am able to connect the board to the nrf connect application. But I need the data to be transferred on virtual comport so I can access the data and process it by a python program.

Is there any software or method I can use so that from my PC I can read and process the data coming from nrf board by bluetooth?

Parents
  • Hi,

    Your requirements are not fully clear to me from your description. Do you get the data through the serial port and need this data into a Python application, or do you need to control the BLE device through the serial port? If you get the data through the serial port, you can use pyserial directly in your Python application.

    If you need to control the BLE device from the Python application, you should look into our pc-ble-driver-py library.

    Best regards,
    Jørgen

  • The HC-05 is a Bluetooth Classic device, which implements the Serial Port Profile (SPP). As far as I know, there are not any such profiles for BLE, which are supported natively by OSes. The Nordic UART service is a proprietary BLE service which enables transferring strings wirelessly, but support for this is not available in Windows, etc., and is not mappable to any virtual COM port in the OS.

    For later OSes, you can use BLE API to connect and interact with BLE devices from applications. The alternative is to connect a second Nordic device to the PC to receive the NUS data over BLE and transmit it to the PC over UART. For instance, you can run the ble_app_uart_c example together with the ble_app_uart example, to create a two-way UART-over-BLE connection.

  • Is it possible to create this hardware configuration:  serial communication between Host(PC) and nrf52 dongle, and wireless Bluetooth communication with nrf52 dongle and nrf52 dk to send and receive data without nrf connect apps?. 

Reply Children
No Data
Related