The temperature sensor/collector demo example don't work

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

The temperature sensor/collector demo example don't work

776 次查看
idan_aviad
Contributor II

Hi to all,
I'm trying to run the temperature sensor/collector demo example provided by NXP on 2 QN908XCDK boards/platforms.

I using IAR IDE.

Sometime a connection is established between the two devices, but in most times, no connection is establish.

I’m using a terminal connected to the collector device and I can see it is scanning, but still, in most cases no connection is established when I press the sensor device ‘WAKESW’ button  and start advertising (‘CONNLED’ is red).

The boards are located few centimeters apart.

It is very frustrating….

Any help would be very appreciated.

Kind regards,
Idan Aviad

标签 (1)
4 回复数

574 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello,

Which SDK version are you using? Could you please help me with the tag of the SDK downloaded and the Bluetooth Stack version available in the documentation of the QN9080?  Also, are you using a development kit ? If you do, which version are you using? Is it the 1.2 or the 1.3? 

Did you check and follow all the instructions available in the BLE Demo Applications User's Guide? 

Regards 

Estephania 

0 项奖励

574 次查看
idan_aviad
Contributor II

Hi,

I'm using the QN908XCDK for IAR:

Release Name: MCUXpresso Software Development Kit (SDK)

Release Version: 2.2.0

HostSDK                    version: 1.8.0                                   

Kinetis_BLE                version: 1.5.4                                   

Kinetis_BLE_HostLib        version: 1.5.4  

QN_Demo_Apps               version: 1.5.4                                   

I’m using 2 development kits:

QN9080 DK-V1.2 and QN9080 DK-V1.3

And yes, I followed the instructions available in the BLE Demo Application User’s Guide

By the way, you have a wonderful name!

574 次查看
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Could you please try in the temperature_collector.c changing the following in the BleApp_Start(void)? 

App_StartScanning(&gScanParams, BleApp_ScanningCallback, FALSE);

Regards, 

Estephania 

574 次查看
idan_aviad
Contributor II

Hi,

Thank a lot. I did the change as you recommended and it solved the problem. Connection is now established every time.

Do you have any idea, why it does not work with the advertising filtering enabled?

Is it an issue that may inflict on any future design (using this BLE device)?

and again...Thanks!

0 项奖励