BLE KW41Z Connection issue

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

BLE KW41Z Connection issue

693 Views
kevin_lang
Contributor II

Hello,

Is there a good example for KW41Z with 2 concurrent connections. 

I did one and when testing with mobile applications (did by a 3rd contractor), the 1st App connecting okay , while 2nd app (both Android and iOS) connected and then quickly KW41Z firmware received a Disconnection event. 

Mobile developer said he didn't initiate  disconnection, I also didn't call any API to disconnect, how could it happen?

Thanks you all in advance

Kevin

Labels (2)
3 Replies

541 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello, 

Could you please try the wireless uart example with the IOT Toolbox? Does it work for you? 

Regards, 

Estephania 

0 Kudos

541 Views
kevin_lang
Contributor II

 Hello Estephania

Thank you! Yes, I use the wireless uart example and modified based on it , with the IOT Toolbox ,two connections is okay, but sometimes second connection status is always in Service Discovery (mAppServiceDisc_c), what can I do to  make it in mAppRunning_c ?

=================================

typedef enum appState_tag
{
mAppIdle_c,
mAppExchangeMtu_c,
mAppServiceDisc_c,
mAppRunning_c
} appState_t;

Best regards,

Kevin lang

0 Kudos

541 Views
miguel_reyes
NXP Employee
NXP Employee

Hi kevin.lang@cae.com‌, 

Here you can find attached a document lab that explains how to add a second connection to the heart rate sensor application. 

Hope this helps. 

Best regards,

Miguel