Hi
i wrote a child class by hand
i managed to compile successfully using the commands below :
cmake ..
make
gr_modtool makexml header_format_cc1101 (no suitable file found because
there is no _impl.cc file)
sudo make install
sudo ldconfig

but my module is not detected in grc

Param - Value(value):
    Value
"f4gsw.header_format_cc1101(digital.packet_utils.default_access_code, 3,
Const_PLD.bits_per_symbol())" cannot be evaluated:
    name 'f4gsw' is not defined

thanks
bob



---------- Forwarded message ---------
From: Alban Meffre <fox4...@gmail.com>
Date: sam. 19 janv. 2019 à 22:04
Subject: OOT how to write my own custom header format
To: GNURadio Discussion List <discuss-gnuradio@gnu.org>


hi all
i'm trying to derive the header_format_base with no success
i created a new module with modtool and the "no block" profile
i copied and modified the "header_format_default" sources but i get swig
error
telling me that sptr is not defined

did someone ever managed to write its own header format with modtool ?
is modtool the way to go ?
which modtool profile do i need to use ?
do you have some hints for doing so ?

i can read and write (kind of) some C++ code but i do not know anything
about SWIG. that is black magic for me, so please i would be glad if
someone explain me step by step ;)
thank you all
bob



-- 
Alban MEFFRE F4GSW
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to