CC2340R5: Sample project for performing Extended Advertise

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello.


I am using SDK 8.40.
I would like to consider whether extended advertising is possible; do you have a sample project?

Thank you.

  • Hello,

    I would suggest to use the basic_ble example from the SDK. Inside SysConfig you can enable and configure it.

    Best Regards,

    David.

  • Hello. David

    Thank you
    I tried that setup, but it didn't work.
    The cause was that SUCCESS could not be obtained from BLEAppUtil_initAdvSet and BLEAppUtil_advStart.


    Regarding BLEAppUtil_initAdvSet, it was possible to succeed by commenting out the scan response data processing within bleStk_initAdvSet.
    However, advertising is not output because BLEAppUtil_advStart does not return SUCCESS afterwards.

    Kei.

  • Hello Kei,

    Please be aware of the following: According to the Bluetooth Core Specification Version 5.3 | Vol 4, Part E section 7.8.53: LE Set Extended Advertising Parameters command: "If extended advertising PDU types are being used (bit 4 = 0) then: The advertisement shall not be both connectable and scannable" Therefore, it is not possible to have both in the same mode. You can have Scannable Advertising (only scan responses) or Connectable Advertising (only advertising data). You must be selecting only one of both types.

    BR,

    David.

  • Hello David,

    Thank you very much.

    It's the setting for Advertisement Set 1 > Event Properties.
    Select Connectable Advertising (Advertising data only).

    BR,