transmitting a BLE advertising packet using the RADIO peripheral directly -- nRF54 as well as nRF52

i'm already able to TX and RX arbitrary packets between my own bare-metal test programs running on a pair of DKs...  since both programs used identical configurations (mode, freq, addr, etc), communication was rather straightforward....

now, however, i want to transmit a standard BLE advertising packet which i can receive (say) on my phone....  i can select RADIO_MODE_Ble_1Mbit, as well as freq offset 2 (corresponding to advertising channel 37; i can also enable per-channel plus the CRC....

forming the actually advertising packet is likewise straightforward, as i've done this exercise with other vendor's radios....

my question has to do with transmission of my 48-bit BLE address....  correct me if i'm wrong, but do i use the full 40-bits of the TXADDRESS *plus* additional bits in the S0 field???

Parents
  • i realized i'm asking the wrong question....  the 48-bit AdvA is part of the "payload" from the RADIO perspective....  presumably the TXADDRESS is for the so-called "access address" (0x8E89BED6) called out in the BLE spec????

    and what about the configuration of S0 and LEN???  do these in fact correspond to the first 16-bits of the ADV PDU described in the spec???

Reply
  • i realized i'm asking the wrong question....  the 48-bit AdvA is part of the "payload" from the RADIO perspective....  presumably the TXADDRESS is for the so-called "access address" (0x8E89BED6) called out in the BLE spec????

    and what about the configuration of S0 and LEN???  do these in fact correspond to the first 16-bits of the ADV PDU described in the spec???

Children
Related