Index: dialin/hd/blood_leak.py =================================================================== diff -u -r1c23b35158467567fa49da4e06024e9a73b1e7d2 -r3b17d81f02ad7a93e019d1a146e94e57ca54c39a --- dialin/hd/blood_leak.py (.../blood_leak.py) (revision 1c23b35158467567fa49da4e06024e9a73b1e7d2) +++ dialin/hd/blood_leak.py (.../blood_leak.py) (revision 3b17d81f02ad7a93e019d1a146e94e57ca54c39a) @@ -30,15 +30,15 @@ class EmbModeCommands(DialinEnum): NU = 0 # NULL command CS = 1 # Control S command (this is handled automatically by using the embedded mode command) - SP = 2 # Set point command - T = 3 - G = 4 - I = 5 - V = 6 - Z = 7 - Q = 8 - D = 9 - C = 10 + SP = 2 # Set set point command + T = 3 # Self test command + G = 4 # Get self-test drive + I = 5 # Display intensity + V = 6 # Display blood detection level + Z = 7 # Zero command + Q = 8 # Zero confirm command + D = 9 # Display set point + C = 10 # Calibration command @unique Index: tests/hd_blood_leak_data.py =================================================================== diff -u -r1c23b35158467567fa49da4e06024e9a73b1e7d2 -r3b17d81f02ad7a93e019d1a146e94e57ca54c39a --- tests/hd_blood_leak_data.py (.../hd_blood_leak_data.py) (revision 1c23b35158467567fa49da4e06024e9a73b1e7d2) +++ tests/hd_blood_leak_data.py (.../hd_blood_leak_data.py) (revision 3b17d81f02ad7a93e019d1a146e94e57ca54c39a) @@ -74,7 +74,7 @@ #print(hd.blood_leak.get_blood_leak_emb_mode_command_response()) - hd.blood_leak.cmd_blood_leak_set_embedded_mode_command(EmbModeCommands.Z.value, msg_payload=0) + #hd.blood_leak.cmd_blood_leak_set_embedded_mode_command(EmbModeCommands.Z.value, msg_payload=0) #print(hd.blood_leak.get_blood_leak_emb_mode_command_response()) @@ -85,7 +85,7 @@ #print(hd.blood_leak.blood_leak_emb_mode_cmds) sleep(1) - print(hd.blood_leak.get_blood_leak_emb_mode_command_response(EmbModeCommands.Z.value)) + print(hd.blood_leak.get_blood_leak_emb_mode_command_response(6)) """ while True: