This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf51 ble advertising

I'm trying to do BLE advertising with an nRF51 without the softdevice, has anyone already tried this? maybe there is an example of this?

Parents
  • @Carlos: This example use timeslot (provided by the softdevice) to access the radio directly and transmit advertising packet (directly without softdevice) when in a connection. You can follow what we did there to setup advertising packet. .

  • @Carlos: If you have a look at the ble_setup() function, in main.c in advertiser project, you can find that we don't use the softdevice to do advertising.

    Yes it uses timeslot which is provided by softdevice, but other than that, the radio is set up manually and transmit the advertising packet also handling scan request and scan response directly on the radio. Please have a look at ts_peripheral.c, nrf_advertiser.c, ts_controller.c.

    Of course you would need to stripout those code related to timeslot.

Reply
  • @Carlos: If you have a look at the ble_setup() function, in main.c in advertiser project, you can find that we don't use the softdevice to do advertising.

    Yes it uses timeslot which is provided by softdevice, but other than that, the radio is set up manually and transmit the advertising packet also handling scan request and scan response directly on the radio. Please have a look at ts_peripheral.c, nrf_advertiser.c, ts_controller.c.

    Of course you would need to stripout those code related to timeslot.

Children
No Data
Related