nrf/samples/bluetooth/peripheral_cts

The instructions for running the sample are too difficult to follow. Here is why/where:

>>The sample also requires a device running a CTS Server to connect with (for example, a BluetoothRegistered Low Energy dongle and nRF Connect for Desktop).

In fact, I do possess an nRF52840 Dongle. But I don't have any idea how I would turn it into a CTS Server. Reading the peripheral_cts instructions, I get the idea that this is supposed to be totally obvious to me. Where did I go wrong? I mean, I haven't the slightest clue how to program my nRF52840 Dongle into a CTS server.Thank you.

Burt Silverman

Parents
  • Hi Burt,

    I understand that this can be confusing.. 

    I haven't the slightest clue how to program my nRF52840 Dongle into a CTS server

    The steps are explained in the testing part of the documentation.. See here: https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_cts_client/README.html#testing

    Best Regards,

    Swathy

  • Hi Swathy,

    I don't think you see what is confusing me. Step 4 of the testing documentation has me just as stumped as the earlier sentence that I highlighted. But let me clarify what I tried: I started the test instructions at Step 4. When it tells me to Select Device in the upper left, I assumed that it wanted me to select the dongle, as that is how Step 4 is worded. Is it possible that it really wants me to first select the DK board that will be used for the CTS Client? Because I can have the nRF52840 dongle plugged into a USB port on my computer, and it will not be recognized by Select Device.

    Now I should explain why I did not start with steps 1-3. I will be using custom hardware that has an nRF52832 and should appear/behave like an nRF52DK board (I hope). But I am waiting on a special Tag Connect cable we use to interface the JLink programmer, to arrive. I don't possess an actual nRF52DK board. But I thought I could get a jump start with the Bluetooth Low Energy app.

    Thank you, Swathy.

    Burt S.

  • I now have cables. It is still completely unclear what dongle they are talking about in each and every place on the entire peripheral_cts_client sample page where dongle is referred to. All four places. We know what the kits are--they are the three Hardware platforms mentioned under Requirements near the top of the page. But nowhere is there an explanation of what the dongle is. Please help. Thanks.

    Burt S.

  • This is what I see when I try to connect my nRF52832 custom board to the nRF Connect BLE Standalone app:

    Selected device with s/n 000050100377
    19:42:00.749
    Error while setting up device 000050100377: Error: No serial port available for device with serial number 000050100377
    19:42:00.753
    Device closed.
    I actually have a serial port connected to TeraTerm, and when I reset my board I see these messages:
    *** Booting nRF Connect SDK v2.5.0 ***
    Starting Current Time Service client example
    Advertising successfully started
    Burt
Reply
  • This is what I see when I try to connect my nRF52832 custom board to the nRF Connect BLE Standalone app:

    Selected device with s/n 000050100377
    19:42:00.749
    Error while setting up device 000050100377: Error: No serial port available for device with serial number 000050100377
    19:42:00.753
    Device closed.
    I actually have a serial port connected to TeraTerm, and when I reset my board I see these messages:
    *** Booting nRF Connect SDK v2.5.0 ***
    Starting Current Time Service client example
    Advertising successfully started
    Burt
Children
  • I finally figured this out. Your test instructions are incomplete, and equally incomplete was your advice to look at step 4 of the test procedure. I'm guessing someone ripped the instructions out of one of your courses and forgot that they are not standalone instructions. It was in no way obvious to me that "the dongle" referred to an nRF52840 Dongle. I happened to have purchased one a year ago only because it was cheap enough that I didn't have to bother my boss to purchase a DK board. So, it was totally a coincidence that I had that particular dongle in my possession (as opposed to a random BLE dongle). The second thing that is never stated anywhere in the instructions is that the BLE app knows what to program into the dongle, and hence, one needs to put the nRF52840 dongle into DFU mode.

    I now have everything working except I need to adjust dts for my custom hardware--the button apparently is on a different GPIO than the nRF52DK board. So, I couldn't see the time printed, but I assume that will work itself out with a minor effort on my part.

    Burt

Related