- added message debug
git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@484 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -33,7 +33,8 @@ list(APPEND jay_sources
|
||||
pocsag_decoder_impl.cc
|
||||
bit_packer_impl.cc
|
||||
add_impl.cc
|
||||
peak_detect_impl.cc )
|
||||
peak_detect_impl.cc
|
||||
message_debug_impl.cc )
|
||||
|
||||
set(jay_sources "${jay_sources}" PARENT_SCOPE)
|
||||
if(NOT jay_sources)
|
||||
|
||||
@@ -37,7 +37,13 @@ namespace gr {
|
||||
{
|
||||
if (pmt::is_dict(msg))
|
||||
{
|
||||
fprintf(stderr, "Is dictionary\n!");
|
||||
fprintf(stderr, "Is dictionary.\n");
|
||||
pmt::pmt_t keys = pmt::dict_keys(msg);
|
||||
for (int i=0; i < pmt::length(keys); i++)
|
||||
{
|
||||
pmt::pmt_t key = pmt::nth(i, keys);
|
||||
fprintf(stderr, "Key: %s\n!", pmt::symbol_to_string(key));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user