|
|
@ -467,6 +467,7 @@ void MicroComputerModuleDeviceScriptCmderPaser::do_wait_for_module(int32_t modul |
|
|
|
|
|
|
|
void MicroComputerModuleDeviceScriptCmderPaser::do_scan_module(int32_t paramN, const char* paraV[], ICmdParserACK* ack) { |
|
|
|
m_deviceManager->for_each_module([this](int32_t id) { //
|
|
|
|
// ZLOGI(TAG, "ping %d", id);
|
|
|
|
int32_t ecode = m_deviceManager->module_ping(id); |
|
|
|
if (ecode == 0) { |
|
|
|
ZLOGI(TAG, "module %d : %s", id, ecode == 0 ? "online" : "offline"); |
|
|
|