Difference between revisions of "DisasterRadio"

399 bytes added ,  17:38, 9 September 2013
(Created page with "This page attempt to document the low-bandwidth disaster recovery mesh (DisasterRadio). = GNU Radio UHD device selection = For a USRP 1 this should be in the form: serial=<h...")
 
Line 17: Line 17:
  |  |      Mboard: USRP1
  |  |      Mboard: USRP1
  |  |  serial: 24e6b31a
  |  |  serial: 24e6b31a
For command line scripts this is often specified with the -a option, e.g:
  my_script.py -a serial=24e6b31a


To set the sub-device (the daughterboard and channel) use the format:
To set the sub-device (the daughterboard and channel) use the format:
Line 61: Line 56:


Together making up the B:0.
Together making up the B:0.
== For command-line python scripts ==
For command line scripts, device and sub-device is often specified with the --args and --spec arguments. E.g:
  my_script.py --args serial=24e6b31a --spec B:0
This syntax may vary from script to script, but this is the most common syntax.
== For GNU Radio Companion ==
For the "UHD: USRP Sink" in the latest version of grc (as of this writing) the field "Device Addr" would be set to e.g. serial=24e6b31a and the field "Mb0: Subdev Spec" would be set to e.g. "B:0".