Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE CLI NUS COM Port

I am trying to use the RF5 BLE CLI (Nordic NUS driver). 

I need a plug and play COM port for Windows, iOS, and OS/X.  This has to work for a customer.

It pairs easily, but then what?  nRF5 Connect doesn't work (it just gives me a blank screen on connect), and it is pretty useless anyway since it reprograms everything.  The Python script doesn't do anything, and that is also useless for end customer use.  If there was an API or document that explained how to interface an app, that would work as well as a COM port.

-Erik

Parents
  • Hi Erik, 

    Could you give me some more explanation on your set-up ? What do you want to achieve and how are you connecting things together ? What is RF5 BLE CLI ? 

    Please provide exact SDK version, exact firmware project you are using. 

  • Hello Hung Bui,

    The nRF5_SDK_15.2.0;  Console over Bluetooth Application (internally known as the BLE CLI).   (Harware: Laird BL652: S132 on PCA10040)

    What I need is a real-time BLE monitoring of a Accelerometer and being able to read a history via BLE.  Using XML over the BLE CLI seems to be the only solution I can find after spending a week digging through the Nordic, Laird, and Bluetooth websites.

    I am asking for a way to generate a serial port for the BLE pairing, or some Win32 or Linux sample code to connect to the pairing.

    Thanks,

    -Erik

  • Hi Erik, 

    Thanks for the explanation. Please correct me if I'm wrong, you want to use a PC, with a dongle/nRF52 board plugged in, to connect via BLE to another nRF52 board which has an accelerometer ? 

    Since you are using Laird product you may want to contact them to ask about their BLE CLI application. Note that we have no control over Laird's software, nor familiar with any of their implementation. 

    For your application I would sugggest to use our pc-ble-driver we provided here. In the example we use the connectivity(serialization) firmware for the nRF52 instead of CLI. Please have a look here.

    The nRFConnect app is running on top of pc-ble-driver. 

  • The BLE CLI app is from Nordic, it is part of the nRF5 SDK.  And I am connecting via the Bluetooth built into my PC.

    Thanks for the link.  I will explore the pc-ble-driver.  Maybe that should be part of the SDK?

Reply Children
Related