Made batch mode default, added switch for interactive, Issue #45
Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, moved define from .c to .h
libbladeRF: First stab at DC offset calibration.

Some users have shown large DC offsets.  I've seen these offsets
initially but they become much more reasonable after the first
few sample buffers come out of the FPGA.

Currently DC offset appears to be +/-30 or so after running
the calibration.

In the cli, run 'cal' to run through all modules of calibration.
bladeRF-cli: Differentiate between a failed probe and no devices found.
libbladeRF: Use _completed variant of libusb event handler call.
libbladeRF: Updated calibration routine.

Also updated the calibration routine in the CLI.  The CLI might need rethinking since, for the calibration to be successful, the module must be enabled.  Currently unless we're actively transmitting or receiving, the module is disabled.

Need to add a way to figure out if the module is enabled before trying to calibrate it.
Merge pull request #71 from gpaliot/issue-45

Made batch mode default, added switch for interactive, Issue #45
bladeRF-cli: Removed batch mode (-b) in favor of interactive mode (-i).

This breaks backwards compatibility, but we're still in an "unstable"
mode at this point. Please update scripts and documentation accordingly.
Merge pull request #72 from gpaliot/linux-kernel-fix

Fixed missing bracket and c&p error in bladeRF.c, removed dup defines, m...
Added variable-level logging mechanism

Added a mechanism to log messages with different priority levels, and to
filter which messages are output by setting a threshold level. The
function to set the current log level/verbosity is exposed through
libbladeRF.h, while the logging function/macros themselves are private
to this project, and are present in log.c/log.h. Callers should use the
convenience macros bladerf_log_[level]() to issue their log messages.
These macros piece together a format string that contains the message
priority and, for warning and higher priorities, the function and line
number on which the message was logged. Also, warning level and higher
level messages are output to stderr, rather than stdout.
Replaced dbg_printf's with new logging mechanism

Replaced all of the dbg_printf calls in the library code with logging
calls that utilize the new logging mechanism. I just made some educated
guesses at the most appropriate log level for each message.
Merge pull request #74 from frank8371/issue31_squashed

Added logging mechanism (Issue #31)
bladeRF-cli: Added log level verbosity as a cmd line switch

The -v or --verbosity flag can be used to set the libbladeRF verbosity.
In the future, we should also start using this to potentially supress
CLI output.

Also fixed in this commit:
    - bladerf_open() typo in help text
    - Removed "b" option from OPTSTR, as this is no longer supported
bladeRF-cli: Bumping CLI minor rev
Remapped a few functions, types, and macros. Moved declarations.

These items address compilation issues under VS2012.
Fixed linking issue for Win64 hosts.

CMake's WIN32 is true for both 32 and 64-bit hosts, so we must
instead use CMAKE_CL_64 or CMAKE_SIZEOF_VOID_P.
libbladeRF: Added API_EXPORT for API routines.
Updated async test

Updated to be able to compile with VS2012.  Untested, and probably won't
work correctly.
Added pthreads-win32, and getopt/getopt_long to Windows build.
bladeRF-cli: Fixed struct field initializers and removed use of unistd.h