|
From: | Nowlan, Sean |
Subject: | Re: [Discuss-gnuradio] Trouble with SWIG for packet_formatter_default child class |
Date: | Tue, 24 Feb 2015 21:09:48 +0000 |
From: discuss-gnuradio-bounces+address@hidden <discuss-gnuradio-bounces+address@hidden> on behalf of Nowlan,
Sean <address@hidden>
Sent: Tuesday, February 24, 2015 1:27 PM To: Tom Rondeau; Bastian Bloessl Cc: address@hidden Subject: Re: [Discuss-gnuradio] Trouble with SWIG for packet_formatter_default child class
From: address@hidden <address@hidden> on behalf of Tom Rondeau <address@hidden>
Sent: Tuesday, February 24, 2015 10:32 AM To: Bastian Bloessl Cc: Nowlan, Sean; address@hidden Subject: Re: [Discuss-gnuradio] Trouble with SWIG for packet_formatter_default child class On Tue, Feb 24, 2015 at 3:00 AM, Bastian Bloessl
<address@hidden> wrote:
Hi, Sean,
Did you have a look at the packet_header.i file? It's basically what Bastian figured out (maybe where he got it from). We have to do a bit more swig manipulation to get the make functions working properly.
Tom
Bastian, Tom,
Yes, I had basically copied my template from gr-digital/swig/packet_header.i. However, SWIG couldn't figure out that my subclass' parent is gr::digital::packet_formatter_default, so I didn't have access to its methods or members. I'll try again, taking
a lead from gr-ieee802-11.
Thanks,
Sean
Got it working. I may not have done #include DIGITAL_API or properly included the header, gr-digital/include/gnuradio/digital/packet_formatter_default.h. Thanks for your help!
Sean
|
[Prev in Thread] | Current Thread | [Next in Thread] |