I have a custom nRF52840 board that transmits sensor data (using UART) to a PC with an embedded Bluetooth adapter. I have a code on Matlab that works just fine (using blelist command).
What it does: setup default adapter, discover the devices, connect to those with right UART characteristics and uses characteristics to read data from nordic board.
I am trying to use and adapt the heart_rate_collector.py and nus_collector.py example for the same purpose but can barely understand half of the code.
First, when I run nus_collector.py (from this forum) it ends with "Please specify connectivity IC identifier", so I even can't even run init() part. So, the sys.argv is not created or corrupted. How can I understand what is it and how I can debug it?
I dig this forum for the answer but only can find the discussion of errors that occurred after.