BLE Scan for production Test

Hello,

we would like to test our product after production. So I would like to connect a PC to the unit via BT-LE. My Idea was to use the nRF52840-Dongle like the nRF Connect for Desktop is using it. 

I have seen that the Dongle is shown in the device-Manager as COM-Port ("USB CDC ACM"), but I did not find any informations on the commands that can be sent. Is there any documentation about this? 

I would like to make a scan with a specific address and connect to this device (is found) to read one GATT-Characteristic. 

Parents
  • Hi Sven,

    When you connect the Dongle and are using it with the nRF Connect for Desktop app, there is a special connectivity firmware that is being run on the Dongle and this firmware uses the COM port to communicate with the app via a binary protocol. So there is no AT commands which are sent via a serial terminal.

    -Priyanka

Reply
  • Hi Sven,

    When you connect the Dongle and are using it with the nRF Connect for Desktop app, there is a special connectivity firmware that is being run on the Dongle and this firmware uses the COM port to communicate with the app via a binary protocol. So there is no AT commands which are sent via a serial terminal.

    -Priyanka

Children
  • Hello Priyanka,

    I understand, that it is a binary protocol. I think that´s no problem as soon as a documentation is available ;-)

    But where can I find this documentation? Or can you lead me to the part of the source code that connects with the dongle? Is it included in the github repo?

    I would like to use the Dongle "as is" with the firmware that is used by nRF Connect. So I can make manual test with this Software. And I would like to make only a few steps:

    - Search fo a specific MAC-Adress
    - Connect
    - Read one Characteristic
    - Disconnect.

    I think this should be possible with the binary commands.

  • I'm afraid there is no direct documentation to this protocol. But instead you can maybe go through the pc-ble-driver and pc-ble-driver-py libraries which can help you.

    The nRF Connect for Desktop app itself is based on these drivers. So hope it helps.

    -Priyanka

Related