KW41 ibeacon issue

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

KW41 ibeacon issue

1,180 Views
seanwu
Contributor IV

Dear sir,

 

I tried to implement ibeacon feature on KW41z.

I used the beacon example in MKW41Z_ConnSw_1.0.2.

pastedImage_1.png

The default packet is NXP beacon format.

I tried to change it to ibeacon packet format like below.

pastedImage_5.png

I used the beacon app "Locate" from App store. But I can't get my KW41 device.

Could you help me how I could implement the ibeacon feature on KW41 successfully.

pastedImage_4.pngpastedImage_2.png

 

Thanks.

BR,

Sean Wu

Weikeng Inc.

Labels (2)
4 Replies

831 Views
estephania_mart
NXP TechSupport
NXP TechSupport

Hello Sean,

In the app.c file locate the BleApp_Init(void) function and comment everything on it.

 

 bleapp.PNG

This needs to be done as the function will generate a random UUID and replace the one you previously set in the aData1 with the random one; once you commented it and load the new firmware, the board must be recognized as an iBeacon.

 

Please let me know if had any issues with it or if it works.

 

Regards,

Estephania

0 Kudos

831 Views
seanwu
Contributor IV

Dear Sir,

Sorry, I found this is the APP setting issue. I need add the UUID in the list first, then I can scan my KW41 ibeacon device.

Thanks.

BR,

Sean

pastedImage_2.pngpastedImage_1.pngpastedImage_3.png

831 Views
seanwu
Contributor IV

Dear Sir,

I changed the UUID to 0xE2, 0xC5, 0x6D, 0xB5, 0xDF, 0xFB, 0x48, 0xD2, 0xB0, 0x60, 0xD0, 0xF5, 0xA7, 0x10, 0x96, 0xE0,

And it works. Why does the UUID effect the result?

Thanks.

BR,

Sean

831 Views
seanwu
Contributor IV

Dear Sir,

I had comment these lines before to test, but it still can't be scanned.

Thanks.

BR,

Sean