Hi Marcin,

On 18/11/2021 15.23, Marcin Puchlik wrote:
> *pmt.cons(pmt.intern(""), pmt.make_u8vector(16, 0xFF))  - *where Debug
> block cannot extract the PDU - gr::log :WARN: message_debug0 - Non PDU type
> message received. Dropping.

Not every message is a PDU [1]. Have a look at is_pdu() in pmt.h [2] and read 
the discussion in issue #4191 [3].

/*!
 * Returns true if the object is a PDU meaning:
 *   the object is a pair
 *   the car is a dictionary type object (including an empty dict)
 *   the cdr is a uniform vector of any type
 */
PMT_API bool is_pdu(const pmt_t& obj);


[1] https://wiki.gnuradio.org/index.php/Message_Passing#PDUs
[2] 
https://github.com/gnuradio/gnuradio/blob/maint-3.9/gnuradio-runtime/include/pmt/pmt.h#L707-L713
[3] https://github.com/gnuradio/gnuradio/issues/4191

  • Message d... GNU Radio, the Free & Open-Source Toolkit for Software Radio
    • Re: ... Vasil Velichkov
      • ... jacob
        • ... GNU Radio, the Free & Open-Source Toolkit for Software Radio

Reply via email to