This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Scripting nRF52840 Dongle test

Hello,

I'm trying to quickly prototype a BLE radio tester and was thinking of trying to use the nRF52840 Dongle as the BLE central to simply pair and read a couple of basic BLE characteristics from the device under test (DUT).  This is my first foray into Bluetooth so I'm not too versed on writing a firmware application to sit on top of the Soft Device.

I have an nRF52840 DK and am looking at the "ble_app_interactive" example from the SDK and it appears to do what I need and should be easily scriptable for a test script since it's just a simple serial console.

However I do notice there isn't a Dongle configuration for this example.  I don't mind doing a little bit of firmware work, but considering I don't have the JLink complex to convert my CLI UART to USB on the 840Dongle like there is on the 840DK, should I think of another solution?

Perhaps there is another more convenient way to script a pairing with the 840 Dongle?  I saw this project, https://github.com/NordicSemiconductor/pc-ble-driver-py , but the documentation says it doesn't work with the S140 soft device.

Sorry, my question is a little vague, but I'm trying to make a decision on a direction do go and feel like I don't have all of the options discovered and am running out of time :)  Thought a "scriptable front end" for interacting with the Nordic soft devices would be a common request around here and I was surprised I didn't find any obviously good choice.

Thanks!