wiced sense fails to invoke advertisement stopped callback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi

My WICED sense worked fine with the original firmware.

However, after building and loading image using WICED-Smart-SDK-2.2.0, I start seeing problem where WICED sense shows up for a second in WICED sense apk on my iphone and then disappears. I could NOT pair it with my iphone.

From UART trace,

Broadcom Debug Port: BLEAPP CFA debug

wiced_sense_create()

@$*#04FFF6F70092011E0300C1E804770000008003B61A020002008003BA1A022900008003BE1A000000008003AE1A04FF00008003B21A020000008003B61A130013008003BA1A032800008003BE1A000000008003AE1A05FF00008003B21A890000008003B61A140014008003BA1A000000008003BE1A000000008003AE1A06FF00008003B21A020000008003B61A130013008003BA1A032800008003BE1A000000008003AE1A07FF00008003B21A820000008003B61A040004008003BA1A000000008003BE1A000000008003DA1A0000000000074A05117A732000074E058B95000000078206110001000007D207000000000007021F00000000@$*#04FF1EF700920103000007362A1400320000073A2A040000000007522A50000100

Then nothing happens afterward. WICED sense device fails to invoke advertisement stopped callback

Occasionally, success case appears where WICED sense always shows up on WICED sense apk. I could pair the device with my iphone. Also, when advertisement stopped callback is invoked :

Adv stopped, powerind down sensors, enabling wake

I could press the wakeup button to resume advertisement.

The same problem also happens with SDK-2.1.1 with WICED_Sense_SDK 2.1_1.3Final.zip

Could you please give me any advice?

Thanks a lot.

Mario

0 Likes
1 Solution
Anonymous
Not applicable

Hello Mario,

If you are still having problems, we have a xtal warmup workaround:

1 - create a CSG file inside the application folder named app.csg with the content below:

ENTRY "PMU Crystal Warm up Time"

{

   "Crystal warm up time" = 5000

}

2 - Add the following line to makefile.inc in the same folder:

GGS_LIST += $(DIR)/app.cgs

Let me know if this helps,

Thanks

JT

View solution in original post

0 Likes
7 Replies
Anonymous
Not applicable

Hello Mario,

What iPhone iOS version are you running?

iOS 8.0 did show some issues with pairing and we are attempting to keep up with the fast release of iOS 8.2 and recently 8.3 that was released a few days ago.

Thanks,

JT

0 Likes
Anonymous
Not applicable

Hi JT

I am using iOS 8.3.

As far as I could remember, the problem starts happening after I tinker the image by building and download image onto my device.

Is it possible for me to send me the original firmware image that comes with the device? And how I could download it into WICED sense?

Thanks a lot.

with regards,

Mario

0 Likes
Anonymous
Not applicable

Hi JT,

BTW, which version of iOS will not have pairing issue?

With regards,

Mario

0 Likes
Anonymous
Not applicable

Hello Mario,

I believe iOS 8.0 will be able to pair with the WICED Sense Kit with no issues.

iOS 8.1 - 8.3 introduced the Apple Watch application and may interfere with pairing.

I think this is the original WICED Sense Firmware: WICED Sense SDK 2.1 v1.1.zip

Let me know if this works.

Thanks

JT

0 Likes
Anonymous
Not applicable

Hi JT,

Thanks a lot.

With regards,

Mario 

0 Likes
Anonymous
Not applicable

Hello Mario,

If you are still having problems, we have a xtal warmup workaround:

1 - create a CSG file inside the application folder named app.csg with the content below:

ENTRY "PMU Crystal Warm up Time"

{

   "Crystal warm up time" = 5000

}

2 - Add the following line to makefile.inc in the same folder:

GGS_LIST += $(DIR)/app.cgs

Let me know if this helps,

Thanks

JT

0 Likes
Anonymous
Not applicable

Hi JT,

Thanks a lot.

I have used Android phone for testing instead.

I will try your fix later on.

With regards,

Mario

0 Likes