[Discuss-gnuradio] Tracking down error messages

2019-01-19 Thread david vanhorn
I am only a couple days into this, with a project that has several heir
blocks.
I just started getting a message "port number 0 exceeds max of (none)"

I've looked through my files, and I don't see any unconnected ports.
I don't see anything that indicates even which file or heir block is
causing the problem.
How can I track this down?

-- 
K1FZY (WA4TPW) SK  9/29/37-4/13/15
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Fwd: OOT how to write my own custom header format

2019-01-19 Thread Alban Meffre
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 
Date: sam. 19 janv. 2019 à 22:04
Subject: OOT how to write my own custom header format
To: GNURadio Discussion List 


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


[Discuss-gnuradio] OOT how to write my own custom header format

2019-01-19 Thread Alban Meffre
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
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] CC1101 GFSK packet decode with variable length

2019-01-19 Thread Alban Meffre
Hi
i spent the past few weeks studying the gnuradio blocks c++ source codes,
the doxygen documentation, and the provided examples (specially packet_tx
and packet_rx ones)
and eventually i managed to understand how packetized transmission, tags
and messages work
it was easer than i thought initially even if the learning curve is very
steep
many thanks for your support

now i plan to learn how to write my own blocks based on the existing, using
gr_modtool
i need to write my own custom header formats

bob

Le lun. 31 déc. 2018 à 01:28, Julian Arnold  a
écrit :

> Hey Bob,
>
> there is plenty of documentation on this topic you can check out under
> [1,2].
> Especially, the Header Payload Demuxer (HPD) [3] should be worth a look
> if you are dealing with packetized variable length data.
>
> Hope those pointer can get you started. If you have further questions
> after going through those pages, let me know.
>
> Cheers,
> Julian
>
> [1] https://www.gnuradio.org/doc/doxygen/page_packet_data.html
> [2] https://www.gnuradio.org/doc/doxygen/page_packet_comms.html
> [3]
>
> https://www.gnuradio.org/doc/doxygen/classgr_1_1digital_1_1header__payload__demux.html
>
> On 31.12.18 01:00, Alban Meffre wrote:
> > Hi
> > I would like to decode a simple GFSK packet
> >
> > here is the packet structure :
> > preamble : AAh x 4
> > sync word : D391h
> > length byte : 1 byte
> > payload : 1 to 64 bytes
> > CRC : 2 bytes
> >
> > TX : arduino + CC1101 module, 2GFSK, 100kbps, excursion 50kHz, carrier
> > 433 MHz
> > RX : RTLSDR
> >
> > until now i was able to demodulate the signal and add a "sync" tag using
> > the correlate access code.
> >
> > my goal is to extract the payload and send it to a file or a socket.
> > is there a simple way to do that without writing my own block ?
> >
> > i can't go further, because i do not manage to find the info i need
> > i do not know where to start : stream, tagged stream, PDU, messages,
> etc..
> > i do not figure out how to use these tag for variable length. nothing
> > clear in the doc
> >
> > i'd be glad if someone helps me
> > best regards
> > bob
> >
> >
> >
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
>


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