fix for SNR
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ class CoreParser {
|
|||||||
$m->snr = 0;
|
$m->snr = 0;
|
||||||
|
|
||||||
if( $m->code == CoreProtocol::RESP_CODE_CHANNEL_MSG_RECV_V3 ) {
|
if( $m->code == CoreProtocol::RESP_CODE_CHANNEL_MSG_RECV_V3 ) {
|
||||||
$m->snr = ord($payload) / 4;
|
$m->snr = ord($payload[$idx]) / 4;
|
||||||
$idx += 1;
|
$idx += 1;
|
||||||
// two reserved bytes
|
// two reserved bytes
|
||||||
$idx += 2;
|
$idx += 2;
|
||||||
|
|||||||
Reference in New Issue
Block a user