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

Automating writing to a custom BLE characteristic using Windows PC

I am trying to find the optimal way to automate some tests that I run on my BLE device. In this test, I need to write a specific hex value to a custom BLE characteristic of my device. I have this working manually in two different ways:

  1. Connected my BLE device to an Android phone using the nRFConnect app. Once connected, manually write to that custom characteristic using the app.
  2. Connected my BLE device to my Windows PC using the nRF52840 dongle, then using the nRFConnect windows app in a similar way to the phone app to write to that custom characteristic manually.

I was hoping that, with my BLE device connected to the PC, the nRFConnect software would allow some simple mechanism for being able to accomplish the same thing through a script, API, or command line options, but that doesn't seem to be the case?

What is my best option here to move away from having to manually initiate these tests?

Thanks!

Related