You are here

CYALKIT-E02 advertising irregular intervals | Cypress Semiconductor

CYALKIT-E02 advertising irregular intervals

Summary: 11 Replies, Latest post by Eiji Fukawa on 10 Feb 2017 04:46 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
emach1_1955091's picture
User
7 posts

Hi, I've noticed that my BLE Sensor is advertising to the Cypress BLE-Beacon App at irregular intervals even when it's physically right next to it under a constant light source. The interval can be as little as 1 second to a minute or sometimes over a few minutes (or stalls for hours).

I looked at the BLE Sensor firmware source code that was provided and I noticed that it doesn't have random timer for advertising (or at least I didn't see it), so I'm wondering if I received a faulty device? Should the advertising interval be pretty regular and constant ? What could be affecting the irregularity of the advertising sends? What have you experienced?

Thanks in advanced!

Anjana Muralidharan's picture
Cypress Employee
160 posts

Hi,

Could you please let me know what are the adv settings given in the component (send a screenshot)? Also are yo uchnaging the adv parameter inside the firmware?

Thanks,

Anjana

emach1_1955091's picture
User
7 posts

Hi Anjana, How do i determine the adv settings?  I didn't change anything on the firmware other than the major ID (as part of the setup and verify process). 

gyan's picture
Cypress Employee
19 posts

Hi,

>Yes, the advertising interval be pretty regular and constant.

> Could you please let us know ,How are you determining the advertising packets interval?

> We did not experience any issue like this with Cypress BLE-Beacon App.

Regards,

Gyan

 

emach1_1955091's picture
User
7 posts

Hi,

Here are the steps to reproduce. 

(1) Place beacon under constant sunlight (stationary / non-moving).

(2) Load up the BLE Beacon iOS app and notice that the incoming rates as logged vary from 1second to almost never. The incoming packets are very sporadic.

Here's a sample log:

10:00:00 - iOS app received 1st signal

10:00:01 - iOS app received 2nd signal (1 sec later)

10:01:00 - iOS app received 3rd signal (notice 1 minute later)

10:01:01 - iOS app received 4th signal (1 sec later)

this continues for a few times more, and then a big long pause...

10:05:30 - iOS app received Nth signal (time varies from 1 sec, 1 minute, 5 minutes, 10 mins or more).

I've tested this over multiple days and I never ever get a constant advertising interval. I even tested this on the Android App, which does a bit better at around 3-20 seconds interval over several minutes.

Question: What's the minimum advertising packet interval?

 

 

emach1_1955091's picture
User
7 posts

Hi - can someone reply to my questions? Just wondering if I received a faulty device. 

gyan's picture
Cypress Employee
19 posts

Hi,

               " CYALKIT-E02 Supports BLE communication with a mobile device (iOS 8 or newer / Android 4.4 or newer)"

> The iOS BLE-Beacon App has been tested with all iOS versions including latest version iOS 10.1.1 and there is no issue with BLE-Beacon App.

Few information I want to know from your side--

1) Did you change the company code COID?

            >>  **If you are using the iOS BLE-Beacon App then you have to set the Apple COID=004C to receive the sensor data for iOS.         

                     (Please refer to CYALKIT-E02 kit guide( Page 33)).

2) Is Android devices have no issue?

            >> If there is no issue with Android devices then probably you need to change the Company Code for iOS BLE-Beacon.

       

Regards,

Gyan

  

emach1_1955091's picture
User
7 posts

Hi Gyan,

I changed the sensor ID per the kit guide instructions. It doesn't matter what I change it too as the broadcast is still irregular on both iOS (10+) and Android, so I'm thinking I might have received a faulty sensor/chip.  Are you able to confirm what is the broadcast interval?  

 

 

gyan's picture
Cypress Employee
19 posts

Hi,

The default advertising interval is 1 sec.

 

emach1_1955091's picture
User
7 posts

Thanks for confirming.  It appears that I do have a faulty BLE sensor.  I've confirmed that the advertising interval on all 4 of my iOS devices and android devices that the advertising intervals are sporadic and irregular ranging from 1sec to 3secs to 30 secs, but never consistently less than 30 seconds.  Can you please help me with exchange/return of the sensor  or let me know what I should do?

emach1_1955091's picture
User
7 posts

bump

Log in to post new comments.