parent
ad5f75d4a3
commit
3a218ec2a0
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue