This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

bluetooth RF range problem

hey ,

I was working with configuring a source and a sink on a single device ie preparing a bluetooth intermediate device .

With some tweaks I am able to play audio in my headphones through the intermediate device .

no the problem is .. the sound is very clear when the headphones  are within 3 foot distance from the intermediate device .

 moving away make the audio to be played taking pauses ... I am using the same PAN 1323 module ..

What may be the problem ..is there any tweak that can be done with the power setting for the device .. or suggest the solution on what can be done...

this was on the first stage of the project ..

now in the step 2  I want another set of Headphones to be paired with the intermediate device ...

so i started with the device discovery only after my first pair of headphones are connected .

during the second pairing  the event etGAVD_Connect_Confirmation is giving an error of GAVD_STATUS_CONNECTION_REFUSED

pls help .....

  • Hello,

    I have informed TI about this and we may need their input on the same. 

    TI,

    We are working with Vishvesh on their A2DP related application. He is now able to send the data from an A2DP source to Stellaris and the same data is passed from Stellaris to a A2DP sink headphones. This chain works but only if the headphones are close to Stellaris.

    I have asked him to change to PAN131x module and get in touch with TI for the RF issues. 

    Maybe we can revisit this once they try this with PAN131x module.

    Thanks,

    Stonestreet one. 

  • So the intermediate device does not have speakers connected to it, it is just sending whatever audio it recieves to the headphone? Are you using only the PAN1323 or do you also have the PAN1315ETU? I have noticed antenna degradation issues on the PAN1323 when it is used a source but the sink should work fine.

    Regards,

    Zahid

  • Hi Zahid,

    I am not 100% sure but think the intermediate device is a passthrough and does not have speakers connected to it. Vishvesh is using 1323 and I am not sure if he has 1315 with him. In this case 1323 is used as both and the problem occurs when it is used as a source to send data to the sink (headphone).  Vishvesh can clarify or correct when he comes online.

    Best Regards,

    Stonestreet One. 

  • Hi , 

    Yes, the Intermediate Device is only a passthrough and does not have speakers connected to it. it will just direct the data whatever is received. 

    Also currently I am working with PAN 1323 ETU  and  is in search of the source to buy PAN1315ETU . Also I want to ask is  is this module is fully compatible with the Stellaris DK-LM3S9D96 kit which I am currently using ???

    Please can you  suggest a source  to buy this module ...  

    thanks 

    -VishvesH

  • hey 

    If I use PAN 1315  module will my existing software would need to modify to maintain the current  functionality ...

    thank you

    - VishvesH 

  • No, you can still run the same software since the boards are pin compatible. You can order from digikey.

    Regards,

    Zahid

  • Hey , 

    The availability status on Digikey is showing 0 available and  obselete for EVAL_PAN1315ETU on MOUSER .

    may I know that is this product is available for direct purchase from TI e-store.

     - VishvesH

  • Hey , 

    Right now I am receiving the data on UART  on the intermediate device from the source and sending the same data to the sink connected to the intermediate device . 

    The capability of bluetooth 2.1 EDR is about 2.1 mbps . So  it is the speed of UART of the intermediate device device to be tweaked ... 

    also I might sound a lil greedy but can the stacked be modified in such a way that the data is routed directly from the PAN module  to the various sinks ??

  • Hey , 

    I have connected two headphones to my intermediate device which behaves as a source for these headphones .... presently I am using headphones of a single brand 

    ie. Nokia BH503. but what if I connect headphones different brands which have two different MTU.  so I will need to set the MTU of the source i.e intermediate device to be equal to the smaller one . Can I dynamically change the MTU setting of my intermediate device which is used as a source to the headphones and sink for the Iphone ???

    how this can be achieved ??

    thanx......

  • Vishvesh,

    You can try setting the MTU and capabilities of the intermediate device to the lowest common denominator of the two sinks so that when the source connects to you, you can set the same capabilities an MTU for both sinks. 

    This will make the synchronization easier. Of course, you can always keep more data at the intermediate source and then feed it to two sinks in a way that is most efficient for both of them as long as you have enough data to feed them, but then you have to calculate the delay between two sends to each sink separately and so some complexity is introduced.

    Hope this helps.

    Stonestreet One. 

  • Hi Vishvesh,

    We recommend running the UART at 3M at least.

    Also 2.1Mbps is theoretical maximum that includes all overheads. 

    Best Regards,

    Stonestreet One.

  • in my project the sequence for pairing is follows is as follows ... 

    1. the iphone starts the search and find the device (intermediate device ) and pairs with it 

    2 thn after being connected to the iphone or a A2DP source the intermediate device starts the device discovery and pairs the a2DP sinks ...

    dynamically  any one of the headphone can cut off and any one of the headphone can be added but (for now ) the total no remains constant .. 

    now I want to know that if one of the headphone cuts off and another pairs in can I again change the MTU of the intermediate device and request the source (iphone )to send the data  by the current MTU size(which is the lower of the two or may be new value calculated from the LCD) ??

    how this is to be handled....

    thank you .. 

     

  • Hi Vishvesh,

    It is not possible to change the MTU dynamically without taking down the connection and reconnecting L2CAP as that parameter is negotiated at connection and L2CAP does not have any provision of dynamic reconfiguration. However you are able to reconfigure an endpoint using the reconfigure procedure on A2DP.

    Best Regards,

    Stonestreet One. 

  • Now the situation is , my intermediate device [I have created a source and sink on intermediate device ] is connecteed to various sink and I am sending SBC encoded frames on it .

    now if at times when my sink device moves out of the range or may the battery busts or  by any chance the device power goes a toss ..how can this be detected  by the source that the sink is disconnected . is there any method this is handeled .

    thank You ..

    VishvesH