mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
publishDriver self test
This commit is contained in:
parent
9748043ce8
commit
b8fc1f1c93
@ -541,6 +541,10 @@ void Test_MQTT_Misc() {
|
||||
SELFTEST_ASSERT_HAD_MQTT_PUBLISH_FLOAT("miscDevice/driver/DDP", 0, false);
|
||||
SIM_ClearMQTTHistory();
|
||||
|
||||
CMD_ExecuteCommand("publishDriver xyz123", 0);
|
||||
SELFTEST_ASSERT_HAD_MQTT_PUBLISH_FLOAT("miscDevice/driver/xyz123", 0, false);
|
||||
SIM_ClearMQTTHistory();
|
||||
|
||||
//SIM_SendFakeMQTTAndRunSimFrame_CMND("setChannel", "3 100");
|
||||
//CMD_ExecuteCommand("addEventHandler OnChannelChange 7 publishFloat thirdTest $CH7*0.01+$CH3", 0);
|
||||
//// set channel 7 to 31.4 and see what we get
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user