Signal Hound BB60 Programming API for MacOSX

Email/Support: support@signalhound.com

-- Documentation -- 
https://signalhound.com/sigdownloads/SDK/online_docs/bb_api/index.html

-- Limitations --
The follow limitations apply to the ARM build of the API,
- The measurement mode is limited to sweeps and I/Q streaming only.
- In sweep mode, RBW and VBW is limited to 1kHz minimum.
- In I/Q streaming mode, only decimations up to 128 are available.

-- Compilation Notes -- 
The API is compiled on a MacBook Pro
- M4 Pro CPU
- Sequoia 15.1
- Apple clang++ 16.0.0

-- Libusb 1.0 requirement -- 
The API depends on the libusb-1.0 USB drivers.
You will need libusb-1.0 installed in the system path. 
You can install libusb-1.0 with homebrew.

-- Device Permissions --
To run an application utilizing libusb, you need to be have root permissions. 
You can either run your application as root or change permissions for the device.

-- Installation (Linux) --
This is a 64 bit shared library. The best way to use the bb_api is to place the included library in the /usr/local/lib directory. 

Steps to perform this are below.

To install the shared library on your system from the lib folder, type (as an example)

    sudo cp libbb_api.* /usr/local/lib
    sudo ldconfig -v -n /usr/local/lib
    sudo ln -sf /usr/local/lib/libbb_api.so.1 /usr/local/lib/libbb_api.so
 
This should create the necessary symlinks to the main library and place them in the library directory.

The shared library can now be linked in with g++ by
    g++ sources -o output_exe -Wl, -rpath /usr/local/lib -lbb_api


