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.

Peripheral+Broadcatser role in CC2541

Other Parts Discussed in Thread: CC2541

Hello,

I have implemented peripheral+Broadcaster functionality in my device(CC2541 keyfob,1.4.1 ble stack).
After power ON  device starts advertising with connetable advertisements,then after connection i am able to see scannable advertisement. But when I disconnect  the device from the app and send scan request i get scannable advertisement and not the connectable advertisements.I want the device should send connectable advertisements after disconnection.

Can anyone please help me to resolve this issue?What should i do?am i missing something?Please reply asp its urgent!

Thanks in advance!

  • Hi,
    How are you setting up the advertisements? After you disconnect, does the state change to GAPROLE_WAITING or GAPROLE_WAITING_AFTER_TIMEOUT in the peripheralStateNotificationCB in SimpleBLEPeripheral.c. I would try ending the advertisement and initiate the advertising again after receiving the callback for the disconnection.

    Best wishes
  • Hi
    I am using keyfob as Peripheral + Broadcaster multirole device, i also has observer which scans for the broadcasting packets of keyfob. I have noticed one thing that before connection with any master i.e. Mobile device the keyfob advertise at very fast interval but after connection with the mobile device the advertising interval reduces considerably. I think it has some realtion wth the connection intervals parameters but i dont know exactly which parameter to be configured and how?
    so i will be highly obligised if you can let me know how can i make the abovesaid changes.
    Thanks
  • Hi,
    I am experiencing a strange issue in the Keyfob peripheral+ broadcaster(keyfob project) device. If i connect keyfob with the mastert i.e. mobile app and then if i change the scan response data of the peripheral + broadcaster, then after disconnection from the master i.e. mobile app keyfob still advertises scannable undirected advertisement instead of connectable undirect advertisement.If i dont change the scan response data and then it works fine.
    Please let me know what is happening or if there is any configuration to be done.

    Thanks