KW38 in project adv_ext_peripheral_bm to use central scan

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KW38 in project adv_ext_peripheral_bm to use central scan

2,620 次查看
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

标签 (2)
0 项奖励
回复
2 回复数

2,603 次查看
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 项奖励
回复

2,597 次查看
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 项奖励
回复