Open Kryol62 opened 7 months ago
I cannot reproduce this one; setting and getting the patient id works for me.
Generally, for USB there are two things to consider:
hid
module with pip3 install hid
and also install one of the required libraries; it did not work for me with Ubuntu's apt install python3-hid
.root
. Once USB communication works for root
add a rule under /etc/udev/rules.d/
to get it to work for non-root users.Hope this helps.
On Ubuntu 22.04 I see for bpm_usb.py
Starting USB communication with Blood Pressure Monitor.
Error: 'NoneType' object is not subscriptable
This happens on line 101:
patient_id = self.get_patient_id();
How to resolve?