CYBT-413034 Pairing failure

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

cross mob
lock attach
Attachments are accessible only for community members.
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 replies posted

Hello.

Recently I got CYBT-413034 Ev board for new project of my Company.

I have several issues.

https://www.cypress.com/documentation/development-kitsboards/cybt-413034-eval-ez-bt-module-arduino-e...

[Env]

WICED

WICED-SDK Version: Wiced_006.004.000.0061

b38d42ee8368ff374b13514286120afd9e788a07

Update: Platform and New Patch Files For 20719B1 in WICED 6.4.0.61 - KBA228518

Target: SPP client (snip.bt.spp-CYBT_413034_EVAL download DEBUG=1 BT_DEVICE_ADDRESS=00167f1234a0)

I gave bd address using BT_DEVICE_ADDRESS option.

1. Board detect failure

-> I connect USB via PC with pressing "RECOVER"(SW2). it was only effective for me.

Currently I have to press SW2 button at every downloading. Is it correct procedures?

In addition, I also failed following recovery. It did not recover factory default.

Note: This will erase any user application in the memory and reset the board to the default state. Press and hold the RECOVER button (SW2).

  1. Press and hold the RESET button (SW1) for 1 second.
  2. Release SW1.
  3. Release SW2.
  4. Re-program CYBT-423028-EVAL.

2. Pairing failure

Following codes are in BTM_ENABLED_EVT.

--------------------------------------------------------------------------------------------

    /* Allow peer to pair */

    wiced_bt_set_pairable_mode(WICED_TRUE, 0);

    // This application will always configure device connectable and discoverable

    ret = wiced_bt_dev_set_discoverability(BTM_GENERAL_DISCOVERABLE,

        wiced_bt_cfg_settings.br_edr_scan_cfg.inquiry_scan_interval,

        wiced_bt_cfg_settings.br_edr_scan_cfg.inquiry_scan_window);

WICED_BT_TRACE("ret #1 %d\n", ret);

    ret = wiced_bt_dev_set_connectability(BTM_CONNECTABLE,

        wiced_bt_cfg_settings.br_edr_scan_cfg.page_scan_interval,

        wiced_bt_cfg_settings.br_edr_scan_cfg.page_scan_window);

WICED_BT_TRACE("ret #2 %d\n", ret);

--------------------------------------------------------------------------------------------

-> From android,  I search CYBT-413034 but failed.

What I did was...

1) Change settings

inquiry_scan_interval : 0x12

inquiry_scan_window : 0x12

2) remove write eir

// app_write_eir()

-> Android can search bd address only. If I give EIR information again, Android cannot search CYBT-413034 at all.

I found page time in snoop log(air sniff log) while android send "HCI_Remote_Name_Request".

In this situation, Android failed all pairing request. (Please see attached)

I also reviewed other samples in WICED and found there is nothing difference.

Of course I did this test with other android but was same.

It is basic bluetooth function so I am very confused.

Please let me have your advice.

0 Likes
1 Solution

Probably I should have mentioned about adding the platform files earlier. Its great to hear that your problem is resolved.

To answer your queries, Yes you need to install platforms files and follow the procedure mentioned here: WICED Studio: Platform Files for CYBT-423028-EVAL - KBA223637

Regarding use of WICED 6.4, it is an official WICED release and can be used to program CYBT-413034 eval board without any doubts. You can use both WICED 6.2.1 and WICED 6.4 as per your choice. There are no limitations while using both the versions. However you will have to make some changes as per Platform and New Patch Files For 20719B1 in WICED 6.4.0.61 - KBA228518 while working with WICED 6.4.

View solution in original post

0 Likes
5 Replies