I have simple Bluetooth commination working. I can connect to nRF52840 with your nRF Toolbox on my Android. I can send a string from the nRF52840 to the Android app and have it display and also send a string from the Android App to the nRF52840 and see it display in J-Link RTT Viewer. So sending data back and forth with the nRF Toolbox on Android works.
Our device creates log info about it's operation and I want to send this data to a Python app I'm developing. On a PC, I have a Bluegiga Bluetooth Low Energy dongle that shows as an entry in the COM Ports. With our device advertising, I can connect to it and get it's Services and Characteristics.
In Python, I'm using the bgapi package to connect to the nRF52840. With the below command, I can send data from the Python App to the nRF52840.
ble_dongle.connection.write_by_handle(21, b'test')
Problem is I can't seem to figure out how to get data from the nRF52840 to the Python App. I'm sending a simple string from the nRF52840 when connected but bt_nus_send returns an error. One thing I also noticed is that the Bluegiga Bluetooth Low Energy dongle won't connect in the nRF Connect Bluetooth Low Energy app. Any thoughts?