KW38 in project adv_ext_peripheral_bm to use central scan

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

KW38 in project adv_ext_peripheral_bm to use central scan

675 Views
Adam_Ho
Contributor II

Hi there, 

I am using FRDM-KW38 in project adv_ext_peripheral_bm, 

now I want to do some central behavior in this project,

so I call  Gap_StartScanning(); but always return gBleFeatureNotSupported_c, 

I think lib.a is different so some API is not supported.

Is there any guideline to teach how to add different lib.a to the using project?

 

I copy central lib.a from project adv_ext_central to my using project adv_ext_peripheral, 

and add lib.a like below, it seems not working well.

When Using Gap_StartScanning(); still return gBleFeatureNotSupported_c.

Adam_Ho_0-1665025314368.png

Labels (2)
0 Kudos
2 Replies

658 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. I would recommend checking the Wireless UART example. This example implements both the GATT client and server for the custom Wireless UART profile and services.

 

This example might be helpful for your application, as it can change from a central to peripheral mode.

 

Hope this helps.

 

Regards,

Ricardo

0 Kudos

652 Views
Adam_Ho
Contributor II

Hi @Ricardo_Zamora

Thanks for reply,  

I will try Wireless UART example, 

but is there any easier way to add lib.a to my using project?

Regards, 

Adam

0 Kudos