Index: leahi_dialin/td/proxies/ui_proxy.py =================================================================== diff -u -r0762e3a03157e5f3428387a6914a13ed38d3ddca -r27d9de42c0111c7f369cc335889fe6b988d09cc8 --- leahi_dialin/td/proxies/ui_proxy.py (.../ui_proxy.py) (revision 0762e3a03157e5f3428387a6914a13ed38d3ddca) +++ leahi_dialin/td/proxies/ui_proxy.py (.../ui_proxy.py) (revision 27d9de42c0111c7f369cc335889fe6b988d09cc8) @@ -576,33 +576,49 @@ can_interface = self.can_interface) - def cmd_send_ui_cartridge_install_confirm_response (self) -> None: + def cmd_send_ui_cartridge_install_confirm_request (self) -> None: """ - Constructs and sends a UI response for confirming cartridge installation. + Constructs and sends a UI command for confirming cartridge installation. :return: none """ cmd_generic_override(payload = None, reset = None, channel_id = CanChannels.ui_to_td_ch_id, msg_id = MsgIds.MSG_ID_UI_ADJUST_DISPOSABLES_CONFIRM_REQUEST, - entity_name = 'UI Confirm Cartridge Installation response', + entity_name = 'UI Confirm Cartridge Installation request', override_text = 'N/A', logger = self.logger, can_interface = self.can_interface) - def cmd_send_ui_cartridge_removal_confirm_response (self) -> None: + def cmd_send_ui_cartridge_removal_confirm_request (self) -> None: """ - Constructs and sends a UI response for confirming cartridge removal. + Constructs and sends a UI command for confirming cartridge removal. :return: none """ cmd_generic_override(payload = None, reset = None, channel_id = CanChannels.ui_to_td_ch_id, msg_id = MsgIds.MSG_ID_UI_ADJUST_DISPOSABLES_REMOVAL_CONFIRM_REQUEST, - entity_name = 'UI Confirm Cartridge Removal response', + entity_name = 'UI Confirm Cartridge Removal request', override_text = 'N/A', logger = self.logger, can_interface = self.can_interface) + + + def cmd_send_ui_patient_connect_confirm_request (self) -> None: + """ + Constructs and sends a UI command for confirming patient is connected. + + :return: none + """ + cmd_generic_override(payload = None, + reset = None, + channel_id = CanChannels.ui_to_td_ch_id, + msg_id = MsgIds.MSG_ID_UI_SETUP_CONNECTION_CONFIRM_REQUEST, + entity_name = 'UI Confirm Patient Connected request', + override_text = 'N/A', + logger = self.logger, + can_interface = self.can_interface)