This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BLE support for lollipop porting



Hi,

I  am using TiWi BLE module on a dhruva board with Android Lollipop 5.0. Everything is running great, even BLE scanning, but not BLE advertising feature.

I am using wl127x firmware .

I enabled all ble related  flags in bluedroid stack,but my device not able to act as pheripheral mode.

Is there any changes or what went wrong with me?
Can you please help me as early as possible?

i am getting following errorwhen started multi advertisement

wrong length for btm_ble_multi_adv_vsc_cmpl_cback

Logs

D/BtGatt.AdvertiseManager( 1810): starting multi advertising
D/bt-btif ( 1810): btif_gattc_multi_adv_enable
I/bt-btif ( 1810): btgattc_handle_event: Event 1031
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btif_multi_adv_add_instid_map -Not found - Index:1, client_if: 6, Inst ID: 2
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btif_gattc_obtain_idx_for_datacb, 1
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btgattc_handle_event, client_if value: 6
I/bt-btif ( 1810): BTA_BleEnableAdvInstance
I/bt-btif ( 1810): BTA got event 0x12a
I/bt-btif ( 1810): bta_dm_sm_execute event:0x2a
I/bt-btm  ( 1810): BTM_BleEnableAdvInstance called
I/bt-btm  ( 1810):  btm_ble_multi_adv_set_params,Min 1600, Max 1610,adv_type 0
I/bt-btm  ( 1810): set_params:Chnl Map 7,adv_fltr policy 0,ID:1, TX Power2
I/bt-btm  ( 1810): BTM: BTM_VendorSpecificCommand: Opcode: 0xFD54, ParamLen: 24.
D/bt-btm  ( 1810): Starting oneshot timer type:103 timeout:900s
I/bt-btm  ( 1810): btm_ble_enable_multi_adv being called with inst_id:1
I/bt-btm  ( 1810):  btm_ble_enable_multi_adv: enb 1, Inst ID 1
I/bt-btm  ( 1810): BTM: BTM_VendorSpecificCommand: Opcode: 0xFD54, ParamLen: 3.
E/bt-btm  ( 1810): wrong length for btm_ble_multi_adv_vsc_cmpl_cback
E/bt-btm  ( 1810): wrong length for btm_ble_multi_adv_vsc_cmpl_cback
D/bt-btif ( 1810): HC lib lpm deassertion return -1
D/bt-btif ( 1810): HC lib lpm deassertion return -1
I/CA_LE_SERVER( 2128): LE Advertise Start Failure Callback(4)
D/BtGatt.GattService( 1810): unregisterClient() - clientIf=6
D/bt-btif ( 1810): btif_gattc_unregister_app
I/bt-btif ( 1810): btgattc_handle_event: Event 1001
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btif_obtain_multi_adv_data_cb, Count:10
D/bt-btif ( 1810): btif_gattc_obtain_idx_for_datacb, 1
D/bt-btif ( 1810): Cleaning up multi_inst_cb for inst_id 2, cbindex 1
D/bt-btif ( 1810): Cleaning up index 1 for clnt_if :6,
D/CA_LE_SERVER( 2128): Advertising started!!
D/CA_LE_SERVER( 2128): OUT - CALEServerStartAdvertise
D/CA_LE_SERVER( 2128): OUT - CALEServerStartMulticastServer
D/CA_LE_SERVER( 2128): OUT
D/LAD     ( 2128): OUT


regards
sravanthi.