Merge pull request #221 from DavidLin1577/patch-11
Update bc35_28_95_lwm2m.c
This commit is contained in:
@@ -158,6 +158,10 @@ static int bc35_28_95_signal_quality_check(void)
|
||||
}
|
||||
|
||||
str = strstr(echo.buffer, "+CSQ:");
|
||||
if (!str)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
sscanf(str, "+CSQ:%d,%d", &rssi, &ber);
|
||||
if (rssi == 99) {
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user