I am developing BLE applications with nRF52840 DK and the Thingy 52. My application needs to use the entire 31 bytes available for data in BLE protocol. So I don't want to use GAP. But sd_ble_gap_adv_data_set does check for flags and GAP patterns in the data passed in. I am not sure how to set the advertising data without sd_ble_gap_adv_set in S140.
To be specific, I want to send beacons on the three broadcasting channels with full 31 bytes in control and no connection established. So to my knowledge, L2CAP may not be the answer since its based on channels between two devices.
Is there any other API in the softdevice s132 and s140 that could be used to configurated BLE advertising data.