Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: help with XS pointers

by bliako (Monsignor)
on Jul 31, 2020 at 11:32 UTC ( [id://11120122]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    const char *
    rtlsdr_get_device_name(index)
      uint32_t index
    
  2. or download this
    int 
    rtlsdr_open(dev, index)
      SDR::RTLSDR **dev
      uint32_t index
    
  3. or download this
    #include <stdio.h>
    #include <malloc.h>
    ...
            (*dev)->a = 42;
            return 1;
    }
    
  4. or download this
    my $serial_number = "00000001"; # from dmesg output
    
    ...
    my $device = undef; # = SDL::...->new() ??? # i don't think so/how?
    my $status = rtlsdr_open( \$device , $index)
    print "status $status for index $index\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120122]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found