net:add get rssi api for esp8266_tc

This commit is contained in:
mculover666
2022-07-06 20:28:25 +08:00
parent 87fd8e839d
commit 3977c36054
3 changed files with 64 additions and 0 deletions

View File

@@ -215,3 +215,11 @@ int tos_tf_module_smartconfig_stop(void)
}
return -1;
}
int tos_tf_module_get_rssi(int *rssi)
{
if (g_tencent_firmware_module && g_tencent_firmware_module->get_rssi) {
return g_tencent_firmware_module->get_rssi(rssi);
}
return -1;
}