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.

Is there a way to send a single advertising packet with the CC2650?



I want to send a single advertising packet, do a few things, then send another single advertising packet. I'm basing my code off of the simpleBLEBroadcaster example and I'm having trouble digging through the code to figure out how to do this.

  • Hi Paul,

    Why do you want to send a single advertising packet? I would recommend you look into limited discovery instead which would send advertisements for a certain time period, then turn off. We have several example applications that show this including SensorTag project.
  • As I know, there is no API to allow application to send single advertising.
  • Although we don't provide example code for this use case since as it not common, it should be possible by using the HCI Extension Advertiser Event Notice command to be notified after the ADV event closes. You can then disable ADV after receiving this event. Also, you can control the ADV channel map by configuring GAPROLE_ADV_CHANNEL_MAP to ADV on specific channel(s), see peripheral.h.

    Best wishes
  • You can control RFC directly to send advertising packet. The code size is very small since all other protocols are not required. Please search CMD_RADIO_SETUP in this forum, you see find an example code.

  • What I did a few years ago is to set 2 seconds between ADV packets and then ADV for limited time, for example, 1 second :) As far as I remember, I was successful. You can also limit the number of ADV channels to one instead of three.