Studio Bluetooth Forum Discussions
- CYBT-483056-EVAL arrived from factory with latest EZ-Serial 1.0.10 installed.
- My CYBT device has reached the limit of four (4) bonded devices.
- I cannot bond with new devices before removing a device from the bond list.
- This issue is easily reproduced after Bluetooth Classic RFCOMM pairing to a CYBT-483056-02 device from a Windows or Android device.
- Multiple people, on multiple CYBT-483056-02 devices, using various pairing devices have reproduced this issue of not being able to delete bonds once a RFCOMM pairing has been made to the CYBT-483056-02 device.
# EZSerial 1.0.10 (build 21)
@E,0040,BOOT,E=01000A15,S=02072276,P=0100,H=E8,C=00,A=E6BF3B0F0C3C,T=01
@E,000E,ASC,S=03,R=01
Using smp_delete_bond (/BD, ID=7/2) does not work. After /BD command sent, a /QB command displays count is still 4.
Am I using the '/BD' command properly?
# Query bond list displays 4 devices bonded, 3 duplicates, 1 unique
/QB
@R,000E,/QB,0000,C=04
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01 // Win11
@E,0020,B,C=00,A=58CB523B58FA,T=FF,D=01 // Android Pixel 3A
# Remove address for Windows 11 bond
/BD,A=C403A8CF7884,T=FF
@R,000E,/BD,0403,C=04
# Remove address for Android Pixel 3A 11 bond
/BD,A=58CB523B58FA,T=FF
@R,000E,/BD,0403,C=04
# Query bond list is unchanged ??
/QB
@R,000E,/QB,0000,C=04
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=C403A8CF7884,T=FF,D=01
@E,0020,B,C=00,A=58CB523B58FA,T=FF,D=01
I have tried:
- Removing a bonded device by using smp_delete_bond "/BD" and specifying a MAC address does not change bond list
- Factory reset "/RFAC" does NOT erase bonding
- Device reset does not erase bonding. This is correct expected behavior.
- Attempt to remove a bonded device by telling Windows or Android to forget the device does not change CYBT bond list
Re-flashing is not an option for clearing a bond list for our end customers.
Can you please recommend a working API method to remove bonded devices on CYBT-483056-02 modules?
Thank you,
-Ed
Show LessMy goal is to delete bonding by reflashing. The smp_delete_bond command is not working for anyone on my team.
What I Tried Using WICED_MOD_Programmer
I am using Windows 11.
- I downloaded ezserial_CYBT-483056-02.hex
- WICED_MOD_Programmer does not have an option to select CYBT-483056-02 so I selected CYBT-483039-02 instead
- Selected UART Adapter board
- Selected DUT #1, Configure, and selected WICED HCUI UART (COM12), 115200, CTS, then Connect button
- Set Firmware File Path to ezserial_CYBT-483056-02.hex
- Checked "program BD Address" and checked "Gen a random address"
- When I press Program button it quickly failed
29-09-2022 11:11:06.204: ProgramManager: Selecting_DUT 1/8
29-09-2022 11:11:07.575: Prog[0]COM12 : Reset (COM12) Timeout!
29-09-2022 11:11:07.580: Prog[0]COM12 : Soft-Reset Fail COM12
29-09-2022 11:11:07.581: Prog[0]COM12 : Failed to reset on baudrate = 115200
29-09-2022 11:11:07.582: Prog[0]COM12 : Failed to reset DUT
29-09-2022 11:11:07.582: ProgramManager: ---->SetResult [1,1] = TestFailed
29-09-2022 11:11:07.613: ProgramManager: Selecting_DUT 2/8
29-09-2022 11:11:07.735: ProgramManager: Selecting_DUT 8/8
29-09-2022 11:11:07.818: WICEDModuleProg: Test program stopped.
29-09-2022 11:22:47.505: PortSetDlg[42]COM12DUT: 4 serial ports found.
29-09-2022 11:23:37.285: PortSetDlg[42]COM12DUT: Connected to "COM12 - WICED HCI UART (COM12)" (115200, RequestToSend)
WICED Studio programming of a CYBT-483056-EVAL does not seem to be a supported platform?
Thanks in advance,
-Ed
References:
- https://community.infineon.com/t5/Knowledge-Base-Articles/Programming-an-EZ-BT-WICED-Module-KBA223428/ta-p/254274
- https://community.infineon.com/t5/Knowledge-Base-Articles/WICED-Module-Programmer-User-Guide-KBA225060/ta-p/253337
Show Less
Hi,
I'm using Cypress Wiced studio IDE (V 6.2.1.2) for CYBT 343026-01 Bluetooth module. For my requirement, In the Wicked studio IDE, I'm using only spp.c file under 20706-A2_Bluetooth project. In this spp.c file, I'm using 'wiced_hal_puart_set_baudrate()' function for changing the Baudrate. By using this function, I'm able to change my Baudrate to 115200 and 57600 only. But if I change to 38400 or 19200 or 9600 values then the CYBT 343026-01 Bluetooth is not communicating through Uart. Please tell me the reason why it is communicating only for 115200 or 57600. I want it to work for lower Baud rate values also. so please tell me the solution for my problem
Show LessHi,
I am trying to build Bluetooth Classic Audio device.
I am using 20706 & 20735 boards. I'm a beginner with your boards and software tools.
I installed WICED Studio 6.6.1.1 on my Windows 10 machine.
When I connect both the dev boards, I see them listed in my ports on the device manager also.
On first-time execution of the IDE, it did not prompt me to select the default platform. Ideally, I'd like to select the 20735-B1_Bluetooth or 20706-A2_Bluetooth as mentioned on both the evaluation kits' user guides.
I only see "43xxx_Wi-Fi" listed in my Project Explorer window. I can't see either of the boards in the "WICED target selector" drop down either.
Please let me know how to make 20706 & 20735 show up in the target builder drop down and project explorer window.
My goal is to build and flash Bluetooth Classic HFP (HF & AG roles - not concurently) & A2DP (target and sink roles - not concurently) profiles on both of the eval kits i.e., 20706 & 20735
Show LessWhen power is applied to a CYBT-483056-02 module as received from the factory, I expected to see the LightBlue mobile app discover "EZ-Serial". I do not see "EZ-Serial" peripheral.
1) Question: Should CYBT-483056-02 be expected to arrive from factory with EZ-Serial firmware installed ?
Should we plan to program CYBT with EZ-Serial firmware in manufacturing?
2) Does using Windows 10 OTA upgrade utility WsOtaUpgrade.exe, require EZ Serial to be pre-installed?
3) Does updating firmware locally through HCI UART, require EZ Serial to be pre-installed?
Thank you for your help,
-Ed
Show LessI suspect I am over-running the CYBT when sending data from the built-in USB virtual COM port. I tried using an oscilloscope, however, I see no signals changing on either J1 or the module solder pads pin 22 (UART_RTS_N) and 24 (UART_RXD ). I know CYBT is sending data because I can see it being received by iOS app. I must be doing something dumb, but cannot figure out how I am over-running the CYBT module from the PC sending USB serial.
What does On and Off states control for CYBT-483039-EVAL SW4 HCI UART?
Should these be On for using USB serial port, and Off for JI HCI UART connected to a FTDI TTL 3V USB cable?
What does setting SW4 to all Off do?
See attached picture of eval board?
Thank you,
-Ed
Show LessI am seeking advice on using CYSPP to connect to an iOS app.
What I Am Doing
- EZ-Serial has been installed on CYBT-483039-EVAL board
- CYBT-483039-EVAL board is connected via USB serial port to PC
- PC app is emulating a BLE device that will use a CYBT device
- iOS app connects to CYSPP service
- iOS app sends dumpbinfile command to CYSPP device
- PC app, in response to dumpbinfile, returns number of bytes it is about to send, then dumps contents of a binary log file by sending binary data directly to CYBT-483039-EVAL board, appending a CRC32
- iOS app received data over CYSPP Unacknowledged Data Characteristic
All is good most of the time.
Intermittently, the iOS app does not receive the expected number of bytes. Data loss is more common on a larger 3 MiB file than a 7 kB file.
Questions:
1) Is problem because I am sending data to CYBT-483039-EVAL over PC USB serial without using any API commands?
2) For reliability do I need to use both the Acknowledged Data characteristic and RX Flow characteristic ?
3) How can send binary data to CYBT-483039-EVAL board, over the USB serial connection, to the Acknowledged Data characteristic and use RX Flow characteristic ?
When I send data to CYBT-483039-EVAL over PC USB serial, it appears by default, to send using Unacknowledged Data Characteristic.
Thank you for your help,
-Ed
Show Less
Hi, we are using CYW20706 module with EZ-serial firmware, and we need to print the BT MAC address on device labels, but the module seems to change it every factory reset. I've tried to disable privacy mode by using SPRV,M=0 command, but it seems to have no effect
Some logs of MAC address changing across factory resets:
/RFAC
@R,000B,/RFAC,0000
@E,0005,RFAC
@E,003B,BOOT,E=01021D1D,S=05020016,P=0103,H=D1,C=00,A=C3EED7B7253C
@E,000E,ASC,S=01,R=03
GBA
@R,0018,GBA,0000,A=C3EED7B7253C
SPRV,M=0
@R,000A,SPRV,0000
GPRV
@R,0016,GPRV,0000,M=00,I=012C
GBA
@R,0018,GBA,0000,A=C3EED7B7253C
@E,000E,ASC,S=00,R=03
SPRV,M=0
@R,000A,SPRV,0000
GBA
@R,0018,GBA,0000,A=C3EED7B7253C
SPRV,M=0
@R,000A,SPRV,0000
GBA
@R,0018,GBA,0000,A=C3EED7B7253C
/RFAC
@R,000B,/RFAC,0000
@E,0005,RFAC
@E,003B,BOOT,E=01021D1D,S=05020016,P=0103,H=D1,C=00,A=C567A2615ED9
@E,000E,ASC,S=01,R=03
SPRV,M=0
@R,000A,SPRV,0000
GBA
@R,0018,GBA,0000,A=C567A2615ED9
Is it possible to keep the same MAC address across factory resets? Even that it's always public?
I`ve testing about sniff mode on HID Device, but HID Device seems can`t support the sniff mode.
my test environment are as below.
SW Information
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device & ClientControl & BTSpy
+ added to support none secure connection for connection with Windows PC
+ enabled 'HID_DEV_PM_INCLUDED' for use power management
i add the source code, details are refer the attatched files.
Test Process
- let the module Enter to Pairing Mode
- connect from windows pc to module
- check the current for enter to sniff or not
i`ve added the debug message to 'hidd_pm_start' and 'BTM_POWER_MANAGEMENT_STATUS_EVT' for check the operation, it doesn`t printed after connected, i think its a not entered to sniff mode. captured current is as below.
i tried to force enter to sniff using 'wiced_bt_dev_set_sniff_mode' after connected, debug message on 'BTM_POWER_MANAGEMENT_STATUS_EVT' are printed. it seems enter to sniff as like as below.
Q1. doesn`t HID Device support to enter sniff mode?
Q2. should i add something more for set to sniff?
Q3. i found the posts on community as HID Device of CYW20706 has a bug about low power and it is fixed a few month ago. is it related?
please could you help me anybody?
Thanks.
Show LessHi,
We want to use the CYBT-343151-02 (based on the CYW20706 chipset) for two simultaneous SCO connection. How does the PCM slot mapping works ? The CYW20706 datasheet says that the slot is always mapped to the same slot, but it does not give a rule for it :
1/ Do the first SCO connection uses the first slot, then the second SCO uses the next slot ?
2/ If I understand correctly, if the first SCO connection is closed while the other is still in use, then the second SCO data will still be placed on the second slot. Is it correct ?
3/ Is the slot mapping based on the SCO connection creation order or using a fixed scheme (like based on the remote device bd address or anything else) ?
Regards, Jerome
Show Less