|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] CRC check |
Date: | Sun, 21 Feb 2016 16:30:28 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
Hi Jawad, ahhh you're right, of course! I was missing that the callback actually is set in the grc xml file to a lambda that calls recv_packet, so that's where the checking whether the CRC was correct happens :) So, yes, I think the logic involved here is OK, but Sang Hyuk is still seeing problems. So: You say packets for which the CRC is not correct still get accepted. What does "accepted" mean in the context? as far as I can tell, they don't get inserted into the output message queue: def recv_pkt(self, ok, payload): msg = gr.message_from_string(payload, 0, self._item_size_out, len(payload)/self._item_size_out) if ok: self._msgq_out.insert_tail(msg) because for them, "ok" is "False". Do they still appear on the output of the packet decoder? Best regards, Marcus On 21.02.2016 15:22, Jawad Seddar
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |