Hello when I put breakpoint in callback (eg. def on_gap_evt_adv_report
) it does not work. Do you know how to make it working?
Hello when I put breakpoint in callback (eg. def on_gap_evt_adv_report
) it does not work. Do you know how to make it working?
I found a solution here.
Basically you need to install pydevd:
pip install pydevd
then you just add at the beginning of call back function line:
pydevd.settrace(suspend=False, trace_only_current_thread=True)
Best if this is done down in ble_driver.py
by nordic... But till then we can use this...
I test it works in tool: pycharm 2016.2