Index: leahi_dialin/dd/proxies/ro_proxy.py =================================================================== diff -u -rb5aa0da384c5cc177f83d59aa221ae28881cd26a -rad1d08ef189799e3f31dcf4e630c21d9f98c33d7 --- leahi_dialin/dd/proxies/ro_proxy.py (.../ro_proxy.py) (revision b5aa0da384c5cc177f83d59aa221ae28881cd26a) +++ leahi_dialin/dd/proxies/ro_proxy.py (.../ro_proxy.py) (revision ad1d08ef189799e3f31dcf4e630c21d9f98c33d7) @@ -40,7 +40,7 @@ # no current registered call back methods - def cmd_dd_send_ro_start_stop_request(self, start: bool = 0, ro_rate: float = 0): + def cmd_dd_send_ro_start_stop_request(self, cmdID: int = 0, start: bool = 0, ro_rate: float = 0): """ Constructs and sends a DD command response to the RO. @@ -49,9 +49,10 @@ @param: rejection_code: The rejection reason. @return: none """ + cmd = integer_to_bytearray(cmdID) stt = integer_to_bytearray(start) rtt = float_to_bytearray(ro_rate) - payload = rtt + stt + payload = cmd + stt + rtt message = DenaliMessage.build_message(channel_id=DenaliChannels.dd_to_ro_ch_id, message_id=MsgIds.MSG_ID_DD_RO_START_STOP_CMD_REQUEST.value, payload=payload)