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?
Hi Hung,
I already looked into an example like this, the thing is I don't want to load the softdevice in the nRF51. I will be using the uESB library, but is a feature to have non-connectable advertising to send data to a smart device.
Best regards,
@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.