Studio Bluetooth Forum Discussions
Hello,
I am using the CYBT-213043-mesh-2 kit and programmed the HCI_loop_back test. I open the clientcontrol and looks like BR/EDR is disabled. I tried using FIND_ME app but no luck.
I am looking to connect the CYBT-213043 to external devices making it discoverable for other devices to connect. Also, please let me know how to enable the diagnostic mode on this board.
Thanks!
Show Less- 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 LessWhere can we get Old Versions of the WICED IDE SDK?
My 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 LessI want to receive the advertising signal of the surrounding iBeacon terminals, but when I execute wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback), the information of the connected BT module (MAC address and advertising signal) is output.
The questions are summarized below.
When using the wiced_bt_ble_observe function,
- Why is the information of its own BT module (MAC address and advertising signal) output?
- Why is it scanned when the first argument is WICED_FALSE?
Also, if you have an example of using the wiced_bt_ble_observe function to receive the iBeacon device's advertised signal, I would appreciate it if you could provide the source code or project file.
<Development environment>
- Integrated development environment
- STM32CubeMX ver.6.5.0
- IAR Embedded workbench ver.9.30.1
- MCU: STM32H743XIH6
https://www.digikey.jp/en/products/detail/stmicroelectronics/STM32H743XIH6/7915906
- Wi-Fi/BT module: 1DX M.2 Module
https://www.embeddedartists.com/products/1dx-m-2-module/
- API
https://github.com/Infineon/bluetooth-freertos
<source code>
main.c (excerpt)
/* Configurate the Bluetotoh platform specific settings. */
cybt_platform_config_init(&bt_platform_config);
/* Initialize the Bluetooth controller and stack. */
wiced_result_t result = wiced_bt_stack_init(NULL, &wiced_bt_cfg_settings);
printf("%d\n", result);
-> 0 (WICED_BT_SUCCESS)
/* Get current scan state */
wiced_bt_ble_scan_type_t ble_scan_state;
ble_scan_state = wiced_bt_ble_get_current_scan_state();
printf("%d\n", ble_scan_state);
-> 2 (BTM_BLE_SCAN_TYPE_LOW_DUTY)
/* This function makes the device start or stop operating in the observer role. */
status_ble = wiced_bt_ble_observe(WICED_TRUE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8105 (WRONG_MODE)
status_ble = wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
status_ble = wiced_bt_ble_observe(WICED_TRUE, 0, obv_callback);
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
status_ble = wiced_bt_ble_observe(WICED_FALSE, 0, obv_callback);
-> MAC: 2B:88:A7:0C:8E:88: /* BT module's MAC Address */
-> Data: 94 D1 C4 9B 77 37 2D 85 19 CE E6 5C ...
printf("%d\n", status_ble);
-> 8100 (WICED_BT_PENDING)
When 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