[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] What is the purpose of argument 'OK' in rx_callba
From: |
Michael Dickens |
Subject: |
Re: [Discuss-gnuradio] What is the purpose of argument 'OK' in rx_callback |
Date: |
Sun, 9 Oct 2011 10:12:37 -0400 |
OK == false: when the RX packet's embedded CRC32 does not match that computed
using the RX'd payload data. In other words, if there are RX errors in the
RX'd packet's header, payload, or CRC32, then with high probability OK == false.
On Oct 9, 2011, at 10:06 AM, bharadwaj desikan wrote:
> rx_call back function return false.ie
> in the below code n_rcvd will be increamented while n_right will not .
>
> Also if disturbance in transmission will this affect this during reception
>
> def rx_callback(ok, payload):
> global n_rcvd, n_right
> n_rcvd += 1
> if ok:
> n_right += 1
>
> Thanks you in advance.