I am looking for a way to send a BLE advertisement using just the bare minimum radio drivers without using a softdevice. Using nRF5SDK1702d674dde sdk. What example would be a right place to start? First I need a way to test if the radio is sending packets and then format the packets according to BLE specification. Is there any exaamples, documentation available ofr this?
You can used the nRF5_SDK_17.0.2_d674dde\examples\peripheral\radio\transmitter to use the radio directly and transmit packets.This example is sending a shock burst packet and not a Bluetooth advertising packet.
You can use this example to get started with sending an advertising packet https://github.com/NordicPlayground/solar_sensor_beacon , this is using an old SDK and only has Keil 4 support and gcc support.
One way forward is to read the https://github.com/NordicPlayground/solar_sensor_beacon and then make the code modifications in the transmittter example to get the advertising packet that you want.
Hope this helpsDavid
I see that your intent is to actually to send a AoA packet with the CTE after the CRC.
This is my suggested approach:1. Get the basic advertising to work using the above approach.2. Verify that you are indeed advertising using the nRF Sniffer- Verify that the advertising packets are being transmitted on ch 37, 38, 39. This also means that you have basic control of the RADIO peripheral.
3. Make the CTE modifications, you will need a receiver to test it as the nRF Sniffer may not log the packets with CTE enabled (but this is worth a try).
Making the AoA CTE TX is doable but you have to carefully align to spec.