You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
intscan_wifi(char*ssid)
{
intret=0;
if (ssid==NULL) {
printf("ssid is NULL!");
}
printf("ssid:%p\n", ssid);
printf("ssid:%c\n", ssid[0]);
returnret;
}
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0)|SHELL_CMD_TYPE(SHELL_TYPE_CMD_FUNC), scan_wifi, scan_wifi, scanwifi);
终端输入 scan_wifi 之后回车,程序崩溃,日志如下:
ssid:0x400e1dbcfi
0x400e1dbc: scan_wifi at /home/test/build/../user/app/shell_cmd.c:210
Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
The text was updated successfully, but these errors were encountered:
在使用letter shell的函数导出功能过程中,在以下两个情景遇到缺陷:
如果在终端输入
set_machine_sn 12345678 13
命令以后崩溃,报以下错误:终端输入
scan_wifi
之后回车,程序崩溃,日志如下:ssid:0x400e1dbcfi 0x400e1dbc: scan_wifi at /home/test/build/../user/app/shell_cmd.c:210 Guru Meditation Error: Core 0 panic'ed (LoadStoreError). Exception was unhandled.
The text was updated successfully, but these errors were encountered: