1 Reply Latest reply on Oct 26, 2016 6:15 AM by mifo

    bluetooth low_energy driver issue (USI WM-BAN-BM-33 and SDK 3.7.0-3)

    vtunr

      Hi,

       

      I updated to SDK 3.7.0-3 and when using the wifi_introducer demo, i can't make it fully working, especially after the pairing.

       

      Here's the debug :

       

      Joining : YOUR_AP_SSID Failed to join : YOUR_AP_SSID 
      Joining : YOUR_AP_SSID Failed to join : YOUR_AP_SSID
      Joining : YOUR_AP_SSID Failed to join : YOUR_AP_SSID
      00:00:23.055464 GKI_create_task func=0x4d0901  id=1  name=BTU  stack=0x0  stackSize=6144
      00:00:23.062464 GKI_create_task func=0x4d1e49  id=0  name=HCISU  stack=0x0  stackSize=4096 
      wifi_introducer_bt_management_callback: 15 [WiFi Introducer] Local Identity Keys Request Event 
      wifi_introducer_bt_management_callback: 0
      apollo_config_management_callback:wiced_bt_dev_write_local_addr result = 0x0
      wifi_introducer_gatt_server_init 
      wiced_bt_gatt_register: 0
      wiced_bt_gatt_db_init 0
      wiced_bt_ble_set_advertisement_data 0 
      wifi_introducer_bt_management_callback: 17
      Advertisement State Change: 3
      wiced_bt_start_advertisements 0 
      wifi_introducer_bt_management_callback: 14
      [WiFi Introducer] Local Identity Keys Update type:1 
      wifi_introducer_bt_management_callback: 14
      [WiFi Introducer] Local Identity Keys Update type:3
      wifi_introducer_conn_up  id:2 :
      wifi_introducer_bt_management_callback: 17
      Advertisement State Change: 0
      ADV stop
      Stopping Advertisements0
      wifi_introducer_gatt_server_request_handler. conn 2, type 5
      req_mtu: 185
      wifi_introducer_gatt_server_request_handler. conn 2, type 2
      write_handler: conn_id:2 hdl:0x2b prep:0 offset:0 len:2 
      wifi_introducer_hostinfo.characteristic_client_configuration = 1 
      wifi_introducer_bt_management_callback: d 
      wifi_introducer_bt_management_callback: a
      [WiFi Introducer] Pairing IO capabitlies request event 
      wifi_introducer_bt_management_callback: 0
      apollo_config_management_callback:wiced_bt_dev_write_local_addr result = 0x0
      wifi_introducer_gatt_server_init 
      wiced_bt_gatt_register: 0
      wiced_bt_gatt_db_init 0
      wiced_bt_ble_set_advertisement_data 0 
      wifi_introducer_bt_management_callback: 17
      Advertisement State Change: 3
      wiced_bt_start_advertisements 0
      connection_down  conn_id:2 reason:3 
      wifi_introducer_bt_management_callback: 17
      Advertisement State Change: 4
      wiced_bt_start_advertisements 0 
      wifi_introducer_bt_management_callback: b
      [WiFi Introducer] Pairing Complete: 24 
      wifi_introducer_bt_management_callback: 0
      apollo_config_management_callback:wiced_bt_dev_write_local_addr result = 0x0
      wifi_introducer_gatt_server_init 
      wiced_bt_gatt_register: 0
      wiced_bt_gatt_db_init 0
      wiced_bt_ble_set_advertisement_data 0 
      wifi_introducer_bt_management_callback: 17
      Advertisement State Change: 3
      wiced_bt_start_advertisements 0

       

      It seems that after pairing, something is going wrong, so it never is successfully paired.

       

      I test to replace the driver  (folder in libraries/driver/bluetooth/low_energy/) by an older one (3.7.0) and i have no problem. So it's working now, but i'm not sure it's the right solution ...

       

      Is it possible in the next version to have it working without any modification ?

       

      Regards,

       

      vtunr