To NIST Home Page To WCTG Home To WCTG Projects To WCTG People To ANTD Home To ITL Home Page Download banner

Coexistence Simulation for Bluetooth and IEEE 802.11b

This simulation models the coexistence of Bluetooth and IEEE 802.11b (1 Mb/s and 11 Mb/s) at the physical layer.  The user can specify the carrier-to-interference ratio and the carrier-to-noise ratio for additive white Gaussian noise (AWGN).  Complete C++ source code is provided, along with documentation and some results for comparison.



DOWNLOAD FILES

You may download the C++ source code, Makefiles, and supporting documentation as either:

After downloading, unzip files into the desired location.  This creates a btint directory with subdirectories bin, doc, include, results, src, unix, and win32.



BUILD INSTRUCTIONS

Unix: 'cd' to the unix directory and type 'make'.  This will build the executable file 'btint' and copy it to the bin directory.  NOTE: we used g++ version 2.95.3 on Linux.  Other compilers and earlier versions of g++ may have trouble with the valarray<> Standard C++ Library class.

Windows: launch Developer's Studio.  Open file 'btint.dsw' in the win32 directory. Click 'Build' under the 'Build' menu.  This will build the executable file 'btint.exe' and copy it to the bin directory.



RUNNING THE PROGRAM

In the bin directory, enter 'btint' ('./btint for bash shell).  The command line options are as follows.
 
-c <Integer> Packet count.  Default is 1.
-l <Integer> Packet length.  Default is 160 bits.
-m <Real> Modulation index for desired signal.  Only used if the desired signal is transmitted using Bluetooth.  Default is 1/3.
-mi <Real> Modulation index for interference signal.  Only used if the interference is transmitted using Bluetooth.  Default is 1/3.
-f <Real> Frequency difference between the desired and interference signals.  Default is 4.
-CIR <Real> Carrier to interference ratio, in dB.  Default is 100.
-EbNo <Real> Carrier-to-noise ratio, in dB.  Default is 300.
-o <String> Write output to specified output file.  Default is stdout.
-BER Print bit error rate (BER) only, without a trailing newline.  Not set by default.
-d <String> Desired signal type (Bluetooth or IEEE 802.11b).  Default is Bluetooth.
-i <String> Interference signal type.  Default is IEEE 802.11b.
-bd <Integer> Bitrate of desired signal, in Mb/s.  Valid values are 1 and 11 for  IEEE 802.11b.  Ignored for Bluetooth.  Default is 1 Mb/s.
-bi <Integer> Bitrate of interference signal, in Mb/s.  See above for valid values.  Default is 1 Mb/s.

We also provide the Python language scripts 'tests.py' and 'trials.py' in the bin directory.



CHECKING THE RESULTS

You can check the output of 'tests.py' against 'test-results-<os>.out' and the results of 'trials.py' against 'full-results.out', both in the results directory.  See the 'README' file in that directory for more details.



Project Contact

For inquiries regarding this project, contact Amir Soltanian