How to use nRF52840 with Windows UWP

Hello!

Is it possible to develop a windows app using the native windows BLE (UWP) for the nRF52840?

This is because I need to do that, and I have read in some posts here that some have used UWP. I have done that in windows with the embedded BLE device that my laptop has, but I want to use the nRF52840 dongle to do that in order to put nRF52840 in advertise mode, set a service and a characteristic. I don't know how to start since the nRF52840 dongle appears in the windows device manager in the Ports (COM $ LPT) section as a nRF Connect USB CDC ACM (COM9) instead of a Bluetooth device. When I first connected the dongle the nRF Connect for Desktop it flash it with Connectivity firmware version: ble-connectivity 4.1.4+Mar-11-2021-08-36-04. SoftDevice API version: 5. Baud rate: 1000000.

I´ll appreciate your help for pointing me in into the right direction on how to do this.

Thank you so much in advance.

Parents
  • I do not know of any way to use the WIndows Runtime API for BLE devices to communicate with the nRF52840 dongle.

    But i know that NordicSemiconductor provides a library for the usecase of using the dongles functionality in a application via communication by serial port.
    Maybe the NordicSemiconductor/pc-ble-driver on Github is the component you are looking for.
    The nRF52840 dongle is one of the supported dev kits and the usage of the driver is documented in the repository.

    You can look at the examples provided to act as a quick guide or starting point for your application.

    I think the UWP part could be build around the functionaltiy - i assume, since i have no actual experience with UWP application development.

    EDIT: Have a look at the suggestions in this question about using the nRF52840 dongle from a custom application.

    I hope this quick tip is usefull for you.

Reply
  • I do not know of any way to use the WIndows Runtime API for BLE devices to communicate with the nRF52840 dongle.

    But i know that NordicSemiconductor provides a library for the usecase of using the dongles functionality in a application via communication by serial port.
    Maybe the NordicSemiconductor/pc-ble-driver on Github is the component you are looking for.
    The nRF52840 dongle is one of the supported dev kits and the usage of the driver is documented in the repository.

    You can look at the examples provided to act as a quick guide or starting point for your application.

    I think the UWP part could be build around the functionaltiy - i assume, since i have no actual experience with UWP application development.

    EDIT: Have a look at the suggestions in this question about using the nRF52840 dongle from a custom application.

    I hope this quick tip is usefull for you.

Children
No Data
Related