Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

PC Side application/Emulator (C++)

Hello,

I'm using a nrf52832 module for my embedded device and would like to develop a pc side c++ application that is able to connect to this device using the existing Bluetooth connection of the pc. 

Is there any example? 

Another question is about the Serial LTE Modem, would like to know if there is a way to program my nrf52 module that when connected PC creates a virtual Serial port. (such as Bluetooth Serial HC05 module) and control it using an AT command.

Thanks.

Parents
  • Hello,

    We don't have anything on BLE applications on the PC side, unfortunately. Only applications that use a DK as a serial BLE gateway, from the time before most PCs came with bluetooth. I don't know if this is what you are looking for. If it is, you can check out something called pc-ble-driver. But this requires a nordic DK/dongle connected to the pc in order to run.

    If you want to write a standalone PC app, you need to look elsewhere, I am afraid.

    Best regards,

    Edvin

  • Hi Edvin thanks for your reply.

    What is the interest to use a nordic dongle if we have already Bluetooth device on our pc? 

    Actually, I can connect to my remote device that has a nordic module over my PC's Bluetooth. But I have no idea how to get and transmit the data from and to this device. I need an example application or any idea explaining me how can I exchange data between my pc (using Pc's BLE device) and a remote nordic device.

  • Hello,

    ElmarY said:

    What is the interest to use a nordic dongle if we have already Bluetooth device on our pc? 

    Exactly. But that was not the case about a decade ago, where few computers had bluetooth low energy.

    ElmarY said:
    I need an example application or any idea explaining me how can I exchange data between my pc (using Pc's BLE device)

    I agree, but that is not something we provide. I guess there are too many options. (C++/C/Java/JavaScript/... you name it). Remember that we are microcontroller engineers, mostly. 

    I wish I could tell you exactly what you needed to do, but I guess you can start off by checking out this stackoverflow post. I don't know if it is any good, but perhaps it is a starting point. 

    Best regards,

    Edvin

  • Thanks, Edvin.

    Can you tell me if I can make PC recognize connected nrf Bluetooth device as Virtual UART port using the following function:

    Nordic Semiconductor Infocenter

    Can you give an example, please?

Reply Children
Related