Code covered by the BSD License  

Highlights from
Bluetooth Full Duplex Voice and Data Transmission

4.41667

4.4 | 12 ratings Rate this file 46 Downloads (last 30 days) File Size: 252 KB File ID: #2283
image thumbnail

Bluetooth Full Duplex Voice and Data Transmission

by

 

27 Aug 2002 (Updated )

Simulink® and Stateflow® model of a full duplex Bluetooth® communication link.

| Watch this File

File Information
Description

Simulink® and Stateflow® model of a full duplex Bluetooth communication link transmitting HV1, HV2, HV3, and SCORT [1] voice packets, and DM1 data packets. A system parameters block configures the whole model's packet type, slot pair and channel type. Stateflow is used to implement the acknowledgement scheme for the data packets and the SCORT receiver state machine.

NOTE: A version of this model which works with the current release of MATLAB and Simulink is shipped with the Communications Blockset™.

The model includes wave file I/O, CVSD speech coding, HEC, payload CRC for DM1, FEC, framing, GFSK Modulation, frequency hopping, hop sequence generation, an 802.11b interferer, BER meters, throughput meters, plus spectrum, timing and spectrogram plot (which can be turned-off).

Instructions: Unzip to a new folder, change the MATLAB current directory to this folder, then open the 'bluetooth_full_duplex' mdl file. See Digest article for an explanation of this model:

http://www.mathworks.com/company/newsletters/digest/sept02/bluetooth.shtml

Model Files:
bluetooth_full_duplex.mdl - Model file
bluetooth_lib2.mdl - Library containing complete device, 802.11b transmitter, BT hop generator and BT clock
bluetooth_init.m: Workspace initialization routine called by model PreLoadFcn
device_init.m: Device mask initialization function
poiss_gaus_prc.m: Variable time-step M Code S-function to generate 802.11b Poisson packets
code_data.mat: 2/3 Hanning code matrices and variables
Input1.wav: Input wave file for device 1
Input2.wav: Input wave file for device2
The model will also generate 2 output wave files

Test files (open bluetooth_full_duplex.mdl, turn off instrumentation and run these):
test_voice_basic.m ? Simulate all voice packets and ensure 0 BER for no channel case (1.5 minutes to run of 800MHz machine)
test_data_throughput.m - Simulate and measure throughput of DM1 packet for different SNRs (4.5 mins on 800MHz machine)

Standard:
http://www.bluetooth.com/

[1] SCORT specification doc.: IEEE 802.15-01/145r0

Required Products Communications Blockset
Communications System Toolbox
DSP System Toolbox
Signal Processing Toolbox
Simulink
Stateflow
MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (16)
15 Sep 2012 Ioanna

Error in 'bluetooth_full_duplex/BT Device/Audio source and speech coding/Optional Random Bit Data for BER tests'

Can anyone help???
Thanks in advanced!

31 Mar 2012 usman khan

this simulation is not running.any 1 can help???

22 Aug 2011 Mohit Agarwal

gcgc

27 Jan 2011 bennie Baskerville

Im very impressed. http://www.baskervillebestbuy.com

17 Sep 2010 MINTU PHILIP  
15 Jan 2009 Aiman Qais

Is it possible to download it to the phones and make Master/Slave with PC.

16 Apr 2008 slow poison  
20 Dec 2007 ROUF UL ALAM BHAT

REALLY GOOD, THANKS

16 Jun 2007 rimon ghhg  
06 Jun 2006 An Vincint

I'd like to learn from it!

07 Feb 2006 Prince Charming

Wow

20 Jul 2005 Ammar Awni

very nice

29 Sep 2004 Louay Homssi  
01 Sep 2003 karthhi keyan  
04 Jun 2003 Ayse Sicramaz  
29 Nov 2002 sunil daddi

nice !!!!!

Updates
23 Sep 2002

Update digest article link

01 Jun 2004

Updated URL in description.

21 Dec 2004

Updated to R14. Still contains R13 version.

20 Jul 2009

Added trademarks.

04 Aug 2009

Copyright work.

Contact us