This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what is difference between link layer advertising packet format and GAP advertising packet format?

hello everyone,

i am studying about BLE i found that there are two types of advertising packet formats in LINK LAYER one format is there, in GAP one format is there, on transmission which format is followed by the application developer and why there are two formats?

regards, bala

Parents
  • I assume that you are talking about the Bluetooth core specification. The Link Layer specifies the on air interface (complete packet including preamble, access address, pdu and CRC) while GAP specifies the AdvData part of the PDU (AD structure and AD types...)

    For usage with the S110 softdevice, see Advertising Data Encoder and sd_ble_gap_adv_data_set. Or simply look at advertising_init in one of the SDK examples

    Regards,

Reply
  • I assume that you are talking about the Bluetooth core specification. The Link Layer specifies the on air interface (complete packet including preamble, access address, pdu and CRC) while GAP specifies the AdvData part of the PDU (AD structure and AD types...)

    For usage with the S110 softdevice, see Advertising Data Encoder and sd_ble_gap_adv_data_set. Or simply look at advertising_init in one of the SDK examples

    Regards,

Children
No Data