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.

Sending Advertisements when Connection is established

Hi,

I am currently using CC2540MINI-DK to develop some applications. I am thinking about using the keyfob to broadcast some advertisements while there is already an established connection. I think this will not comply BLE standard, but is it possible?

For example, there are one keyfob (slave device) and two USB dongles. One of the dongles has established a connection with the keyfob. At the mean time, can I broadcast some data (maybe via advertisements) to other USB dongles in range without interrupting the current connection?

Thank you very much in advance.

 

Best wishes,

Jun

  • http://focus.ti.com/lit/ug/swru271a/swru271a.pdf

    Look for the peripheral + broadcaster role combination (page 28).

  • Hi Kaz,

    Thank you very much!

    Best regards,

    Jun

  • Mark this as solved so the forum seems more complete :)

  • Hi kazola ,

    The pdf is not there in the link .

    I guess this is the software developer guide , right now am using the keyfob with keyfobdemo application and dongle flashed with host Test Releaseall Project ,

    In the keyfobdemo app ,i  have the advertisement flag as GENERAL and i have set the 

    initial_advertising_enable = TRUE;

    In the preprocessor i have enabled the PLUS_BROADCASTER=TRUE .

    i have removed the pheripheral.c and pheripheral.h file from the keyfob demo project and added the pheripheralBroadcaster.c and pheripheralBroadcaster.h file .

    But after flashing this hex file ,i cannot able to find  my keyfob while scanning ?

    My final goal is to make the device advertising forever ( even in the connection state ) ,So when i establish the connection with the key fob from the dongle, i will scan again from the other dongle ,I should able to get the advertisement from the keyfob ,which proves it is always advertising !  

    In the above steps , when i use the pheripheral.c and pheripheral.h(instead of  pheripheralBroadcaster.c and pheripheralBroadcaster.h ) ,i can able to scan my device from the dongle and i can establish the connection ,but when i scan the device from the other dongle ,i cannot receive any advertisement from the keyfob ! 

    Kindly help to resolve this ! 

    Thanks ,

    Senthil

  • I'm sorry I did not see this in time since I do not open already "verified" threads :(
  • No problem kazola ,can you please see the same question in other thread that i have started , I want to finish this promptly ! 

    please find the link below 

    http://e2e.ti.com/support/low_power_rf/f/538/t/188188.aspx

    Thanks for humble reply  

  • Hi Jun li ,

    Did you resolve this issue ,can you please help me out to resolve the same  ? 

    I have excluded pheripheral.c and pheripheral.h from the debugging and i have included pheripheralBroadcaster.c and pheripheralBroadcaster.h file , but after that i cannot find any advertisement ,even before i establish the connection  with my dongle.

    Please find some more details in the thread below ! 

    http://e2e.ti.com/support/low_power_rf/f/538/t/188188.aspx  

  • Jun Li ,may i know the version of BLE stack you are using ?

    any help on this issue is much appreciated ! 

    Thanks ,

    Senthil