Anonymous
Not applicable
Nov 29, 2013
05:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 29, 2013
05:29 PM
Is there any way with the WICED BLE SDK to register a callback that will fire whenever an ADV_IND is received? I am running on the BCM9WCDPLUS114 eval platform with WICED 2.4.0 Beta 12 SDK. The goal of my application is to measure the signal strength of nearby bluetooth devices (similar to LightBlue or SensorTag) and use this information for application level purposes. My test code is using these parameters to cal wiced_start_scan():/* Scan settings */static const wiced_bt_smart_scan_settings_t scan_settings ={ .type = BT_SMART_ACTIVE_SCAN, .filter_policy = FILTER_POLICY_NONE, .filter_duplicates = DUPLICATES_FILTER_DISABLED, .interval = 480, // in units of .625ms, min: 4 = 2.5ms, 480 = 300ms max 0x4000 = 10.24 seconds .window = 480, // in units of .625ms, must be < interval, window = interval scans all the time. .duration_second = 300,};The intermediate scan results report exactly one scan result for each of my peripherals. Each time I stop/start the scan I get the same list of advertising devices. Changling the "filter_duplicates" to ENABLED has no impact. If I change "type" to PASSIVE then the information contained in my proprietary scan response packets is not collected (this is expected behavior).Any help would be appreciated.
Labels
- Labels:
-
SPI
- Tags:
- .625ms
- .duration_second
- .window
- 0x4000
- 10.24
- 2.4.0
- 2.5ms
- 300ms
- adv_ind
- advertising
- application
- appreciated
- bcm9wcdplus114
- behavior
- beta
- ble
- change
- changling
- collected
- contained
- csp 810411*
- devices
- enabled
- eval
- expected
- filter_duplicates
- goal
- impact
- information
- intermediate
- interval
- list
- packets
- passive
- peripherals
- platform
- proprietary
- report
- response
- result
- results
- scan
- scans
- seconds
- stopstart
- time
- type
- units
- wiced
- wiced_bt_smart_scan_settings_t
- window
2 Replies
Jun 27, 2014
03:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 27, 2014
03:40 PM
Hello,
Is this still an issue? Is it the same behavior in SDK 2.4.1?
Anonymous
Not applicable
Jun 15, 2015
01:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 15, 2015
01:48 PM
Discussion is being locked. If you have any follow-up, please start a new discussion.