Index: dialin/ui/dg_simulator.py =================================================================== diff -u -r79ed3e7d26065bb2f2155be984c4381175299cd7 -rf283900f5c30a4672df1eca0870b275a0d7979c3 --- dialin/ui/dg_simulator.py (.../dg_simulator.py) (revision 79ed3e7d26065bb2f2155be984c4381175299cd7) +++ dialin/ui/dg_simulator.py (.../dg_simulator.py) (revision f283900f5c30a4672df1eca0870b275a0d7979c3) @@ -604,7 +604,8 @@ def cmd_send_dg_general_response(self, message_id: int, accepted: int, reason: int, is_pure_data: bool = False, has_parameters: bool = False, - parameters_payload: any = 0x00) -> None: + parameters_payload: any = 0x00, + channel_id=DenaliChannels.hd_to_ui_ch_id) -> None: """ a general method to send any standard response message, by it's id and list of parameters. @param message_id: the id of the message @@ -613,6 +614,7 @@ @param is_pure_data: The message only has data @param has_parameters: if the message has parameter this needs to be true. @param parameters_payload: the list of parameters pre-converted and ready to be concatenated to the payload. + @param channel_id: (int) indicates the channel @return: None """ payload = "" @@ -624,7 +626,7 @@ if has_parameters: payload = parameters_payload - message = DenaliMessage.build_message(channel_id=DenaliChannels.dg_to_ui_ch_id, + message = DenaliMessage.build_message(channel_id=channel_id, message_id=message_id, payload=payload)