Set Ext Advertising Parameter return unsuccess

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set Ext Advertising Parameter return unsuccess

477 Views
liyun
Contributor II

Hi, NXP team

I want to use Ext Advertising function on KW47-LOC board.

But when I use Ext Adv function to set its parameters, it returned gBleFeatureNotSupported_c:

Annotation 2026-03-13 153108.png

I added the compiler switch as below:

Annotation 2026-03-13 154122.png

The sample is adv_ext_peripheral that I found it from sdk of ver25.12.

The used NBU is kw47_nbu_ble_all_hosted.bin.

Thank you very much.

 

Tags (1)
0 Kudos
Reply
2 Replies

447 Views
RomanVR
NXP Employee
NXP Employee

Hi @liyun, hope you are doing well.

Could you please provide details on how are you trying to run the adv_ext_peripheral example in the KW47-LOC board? As this example is not included in the supported examples of the LOC board, however if you would like to port the extended advertising functionality, I'd suggest to take as reference de "loc_reader" example of the KW47-LOC where the extended advertising is configured.

Additionally, please share the steps that you are following in order to load the NBU.

Best Regards!
0 Kudos
Reply

417 Views
liyun
Contributor II

Hi, RomanVR

Thanks for your reply.

The background is: We want to test the feature PAwR of BLE 5.4, so we decide to use KW47 which support 5.x/6.x.

1) As this example is not included in the supported examples of the LOC board

>> Yes, I use example of wireless_bluetooth_uart as base, and integrate example of middleware of adv_ext_peripheral into it on our environment.

2) I'd suggest to take as reference de "loc_reader" example of the KW47-LOC

>> Thank you, I will try to use it.

3) Additionally, please share the steps that you are following in order to load the NBU

>> My LinkeFlash tool can not recognize KW47-LOC board, then I refer to document of FRDM-MCXW71_Incompatible_NBU_Firmware_Version.pdf to flash mcxw71_nbu_ble_1_9_10_0.sb3 into borad, but mcxw71 is not target MCU, so I use JLink tool to download kw47_nbu_ble_all_hosted.bin file at address of 0x48800000 refer to step 6/7/8 of section 3(Build and Run) of Getting Started with KW47-LOC.

Then debug on board seems run well for scan function.

Thank you so much.

%3CLINGO-SUB%20id%3D%22lingo-sub-2332264%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESet%20Ext%20Advertising%20Parameter%20return%20unsuccess%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332264%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20NXP%20team%3C%2FP%3E%3CP%3EI%20want%20to%20use%20Ext%20Advertising%20function%20on%20KW47-LOC%20board.%3C%2FP%3E%3CP%3EBut%20when%20I%20use%20Ext%20Adv%20function%20to%20set%20its%20parameters%2C%20it%20returned%26nbsp%3BgBleFeatureNotSupported_c%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202026-03-13%20153108.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Annotation%202026-03-13%20153108.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Annotation%202026-03-13%20153108.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379224i9315B4EB25B842C1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Annotation%202026-03-13%20153108.png%22%20alt%3D%22Annotation%202026-03-13%20153108.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20added%20the%20compiler%20switch%20as%20below%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202026-03-13%20154122.png%22%20style%3D%22width%3A%20283px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Annotation%202026-03-13%20154122.png%22%20style%3D%22width%3A%20283px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Annotation%202026-03-13%20154122.png%22%20style%3D%22width%3A%20283px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F379225i96507B6607959C05%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Annotation%202026-03-13%20154122.png%22%20alt%3D%22Annotation%202026-03-13%20154122.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20sample%20is%20adv_ext_peripheral%20that%20I%20found%20it%20from%20sdk%20of%20ver25.12.%3C%2FP%3E%3CP%3EThe%20used%20NBU%20is%26nbsp%3Bkw47_nbu_ble_all_hosted.bin.%3C%2FP%3E%3CP%3EThank%20you%20very%20much.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2332876%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Set%20Ext%20Advertising%20Parameter%20return%20unsuccess%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332876%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F132629%22%20target%3D%22_blank%22%3E%40liyun%3C%2FA%3E%2C%26nbsp%3Bhope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20provide%20details%20on%20how%20are%20you%20trying%20to%20run%20the%20adv_ext_peripheral%20example%20in%20the%20KW47-LOC%20board%3F%20As%20this%20example%20is%20not%20included%20in%20the%20supported%20examples%20of%20the%20LOC%20board%2C%20however%20if%20you%20would%20like%20to%20port%20the%20extended%20advertising%20functionality%2C%20I'd%20suggest%20to%20take%20as%20reference%20de%20%22loc_reader%22%20example%20of%20the%20KW47-LOC%20where%20the%20extended%20advertising%20is%20configured.%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20please%20share%20the%20steps%20that%20you%20are%20following%20in%20order%20to%20load%20the%20NBU.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2333160%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Set%20Ext%20Advertising%20Parameter%20return%20unsuccess%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2333160%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20RomanVR%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%3CP%3EThe%20background%20is%3A%26nbsp%3BWe%20want%20to%20test%20the%20feature%20PAwR%20of%20BLE%205.4%2C%20so%20we%20decide%20to%20use%20KW47%20which%20support%205.x%2F6.x.%3C%2FP%3E%3CP%3E1)%20As%20this%20example%20is%20not%20included%20in%20the%20supported%20examples%20of%20the%20LOC%20board%3C%2FP%3E%3CP%3E%26gt%3B%26gt%3B%20Yes%2C%20I%20use%20example%20of%20wireless_bluetooth_uart%20as%20base%2C%20and%20integrate%20example%20of%20middleware%20of%26nbsp%3Badv_ext_peripheral%20into%20it%20on%20our%20environment.%3C%2FP%3E%3CP%3E2)%20I'd%20suggest%20to%20take%20as%20reference%20de%20%22loc_reader%22%20example%20of%20the%20KW47-LOC%3C%2FP%3E%3CP%3E%26gt%3B%26gt%3B%20Thank%20you%2C%20I%20will%20try%20to%20use%20it.%3C%2FP%3E%3CP%3E3)%26nbsp%3BAdditionally%2C%20please%20share%20the%20steps%20that%20you%20are%20following%20in%20order%20to%20load%20the%20NBU%3C%2FP%3E%3CP%3E%26gt%3B%26gt%3B%20My%20LinkeFlash%20tool%20can%20not%20recognize%20KW47-LOC%20board%2C%20then%20I%20refer%20to%20document%20of%26nbsp%3BFRDM-MCXW71_Incompatible_NBU_Firmware_Version.pdf%20to%20flash%26nbsp%3Bmcxw71_nbu_ble_1_9_10_0.sb3%20into%20borad%2C%20but%26nbsp%3Bmcxw71%20is%20not%20target%20MCU%2C%20so%20I%20use%20JLink%20tool%20to%20download%20kw47_nbu_ble_all_hosted.bin%20file%20at%20address%20of%200x48800000%20refer%20to%20step%206%2F7%2F8%20of%20section%203(Build%20and%20Run)%20of%20Getting%20Started%20with%20KW47-LOC.%3C%2FP%3E%3CP%3EThen%20debug%20on%20board%20seems%20run%20well%20for%20scan%20function.%3C%2FP%3E%3CP%3EThank%20you%20so%20much.%3C%2FP%3E%3C%2FLINGO-BODY%3E