Bluetooth Wireless SDK example not working

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

Bluetooth Wireless SDK example not working

跳至解决方案
2,130 次查看
notanivipul
Contributor II

Hi,

I tried uploading the Beacon_freetos example code on my FRDM KW38 board. The code was uploaded successfully but I am not able to find the device in the IOT Toolbox app in my mobile.

Beacon.PNG

 

It just keeps scanning for device but no device is found.

All the permissions required for IOT toolbox are enabled.

Best regards,

Vipul Notani

0 项奖励
回复
1 解答
2,108 次查看
nxf56274
NXP Employee
NXP Employee

Hi,

By default, the mcu will go to sleep. You should press the wake up pin. Or you can go to app_preinclude.h. Find the 'cPWR_UsePowerDownMode'. Modify its value to 0. Then you can see the led flash. Press the button to advertise. 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,109 次查看
nxf56274
NXP Employee
NXP Employee

Hi,

By default, the mcu will go to sleep. You should press the wake up pin. Or you can go to app_preinclude.h. Find the 'cPWR_UsePowerDownMode'. Modify its value to 0. Then you can see the led flash. Press the button to advertise. 

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 days after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
2,124 次查看
Xiang_Li
NXP Employee
NXP Employee

Have you press the button on KW board?

Copied from 5.2.3 User interface, from doc "Bluetooth® Low Energy Demo Applications User’s Guide"

After flashing the board, the sensor is put in deep sleep (all LEDs are off). To flash the board in case the sensor is put in deep
sleep, press ADVSW or RESET. Also, any attached debugger loses its connection. The application default configuration enables
low power, which disables LED support. The user can manually change the configuration and enable the LED support, otherwise
all subsequent LED behavior references shall be ignored. First press of the ADVSW button starts legacy advertising. The following
applies to platforms capable of performing Extended Advertising - which excludes QN9090/K32W061/KW35. Second press starts
extended advertising, and the third press starts periodic advertising. Another press stops the periodic advertising, and another
one stops the extended advertising as well. For FRDM-KW38 board, the default enabled low-power modes are 1 and 5. This
means that the MCU is put into VLLS2 or VLLS3 stop mode. In this mode, the LED module operation is not implemented.

0 项奖励
回复