AIROC™ Bluetooth Forum Discussions
We are using CYW920721 in our project and our application is based out of the example code Audio watch.
Connection initiator side BD address:8e 6d 17 42 c5 2c
Peer side BD address: a6 4b 12 42 6e 2c
BD address correption:
We are seeing wired issue when the connection is initiated with some BD address, connection call back from the stack result in first bytes corrupted sometimes results in pairing failure.
Connection initiator side log
[2023-05-25 09:04:04.205] hci_control_handle_bond:wiced_bt_connect a6 4b 12 42 6e 2c
[2023-05-25 09:04:04.684] wiced_bt_start_authentication(CALLED):result=1
[2023-05-25 09:04:04.731] hci_connection_status_change_callback handle:000b ac:46:12:42:6e:2c isConn=1, handle=000b, reason=0, transport=1 cnt{conn=1|notConn=0}
[2023-05-25 09:04:04.731] btm_event_handler 0x13
Pairing failures with status 5:
Also, the device retries connection to the same address that time call back has the right address but pairing complete with status 5 means pairing not allowed whereas remote devices pairing is configured to be allowed.
Peer side log
[2023-05-25 09:03:53.103] hci_control_ag_init:pcmCfg mode=0 role=1 lsbFirst=0 fillBits=0 fillData=0 fillNum=3 rightJustify=0 frame_type=0
[2023-05-25 09:03:53.103] + hci_control_proc_rx_cmd
[2023-05-25 09:03:53.103] cmd_opcode 0x03
[2023-05-25 09:03:53.103] + hci_control_proc_rx_cmd
[2023-05-25 09:03:53.103] cmd_opcode 0x08
[2023-05-25 09:03:53.145] + hci_control_proc_rx_cmd
[2023-05-25 09:03:53.145] cmd_opcode 0x09
[2023-05-25 09:03:53.145] Set the pairing allowed to 1
[2023-05-25 09:03:53.145] + hci_control_proc_rx_cmd
[2023-05-25 09:03:53.145] cmd_opcode 0x0f
[2023-05-25 09:03:53.145] Local Bluetooth Address: [a6 4b 12 42 6e 2c ]
---
Connection initiator
[2023-05-25 09:04:40.554] hci_control_handle_bond:wiced_bt_connect a6 4b 12 42 6e 2c
[2023-05-25 09:04:41.143] wiced_bt_start_authentication(CALLED):result=1
[2023-05-25 09:04:41.143] hci_connection_status_change_callback handle:000b a6:4b:12:42:6e:2c isConn=1, handle=000b, reason=0, transport=1 cnt{conn=1|notConn=0}
[2023-05-25 09:04:41.143] btm_event_handler 0x13
[2023-05-25 09:04:41.143] BTM_PAIRED_DEVICE_LINK_KEYS_REQUEST_EVT: find device a6 4b 12 42 6e 2c
[2023-05-25 09:04:41.143] Key retrieval failure
[2023-05-25 09:04:41.143] btm_event_handler 0x08
[2023-05-25 09:04:41.143] BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT bda a6 4b 12 42 6e 2c
[2023-05-25 09:04:59.107] btm_event_handler 0x0b
[2023-05-25 09:04:59.107] BTM_PAIRING_COMPLETE_EVT
[2023-05-25 09:04:59.107] pairing complete evt: a6 4b 12 42 6e 2c as 2c 6e 42 12 4b a6 status 5
After few retries device pairs successfully. Kindly share your thought. I wanted to raise this as high priority issue because it affects our connection cycle.
Show LessHi,
I am using CYBT-343026 Evaluation Board. My goal is to transfer data from MCU to remote peer over BLE. First, to verify proper communication I connect and start communicating using PC serial terminal through PUART with flow control disabled. After that, to check flow control works properly I enable Flow Control of module using API command and set RTS pin of Host (which is connected CTS of module) HIGH through PC serial terminal and I send some command to module and expect that I will not get any response because as CTS input pin of Module is HIGH, module should not transmit data, but still module is transmitting.
I am using below pins to observe signals.
What could be the reason of this behavior?
Regards,
Harshvardhan
Show LessHi~
I 'd like to make a demo board with CYW20719
I want to communicate with PAS CO2 board.
I cannot find a sample code with CYW20719.
Can you help to fine a sample code for it?
Many thanks
BRs
Show LessI am using CYW20706.
There is an issue that cannot be booted when operating normally after downloading firmware.
I don't know the scenario of creating an issue. Suddenly, it won't boot.
So when I read the memory using dump, I found that strange data was overwritten in the memory from Static section.
"dump_success.txt" is a normal dump file.
"dump_error_issue.txt" is an issue dump file.
Please analyze why these values are overwritten in the dump file with issues.
It's a very important issue. Please check this. please.
Show LessHi,
its' corret to speak about a bonding list on a Central device?
if yes is there a specific phase where is not suggested to write or delete bonding list?
for example when stack is stopped or something like that
thanks
Show LessHello ,
I am useing the PIC18 as host and CYBLE-013025-00 as BLE slave.
I found the "EZ-Serial_Host_API_Protocol_Library" drivers to integrate Host MCU with CYBLE-013025-00.
But the problem is "EZ-Serial_Host_API_Protocol_Library" is written in C language and our product code is written in Assembly language.
please provide the Assembly language for "Serial_Host_API_Protocol_Library" or suggest any way to convert this "Serial_Host_API_Protocol_Library" into Assembly language.
all suggestions are welcome
Show Less
We are using CYW920721 in our project and our application is based out of the example code Audio watch. While building the application picks up files from COMPONENT_btstack_v1 whereas I do see COMPONENT_btstack_v3. What is the difference between these two versions of btstack and I dont find any makefile reference to COMPONENT_btstack_v1. Why the files app.c etc are picked from COMPONENT_btstack_v1 instead of the latest stack base COMPONENT_btstack_v3
Show Lesshi,
Could you please help us check the I2S master mode maximum audio sample rate is 16KHz ?
From the CYW89820 Datasheet:
The clock rate in master mode as follows:
• 16kHz 16 bits per frame = 256 kHz
The master clock is generated from the reference clock using an N/M clock divider. In the slave mode, any clock
rate is supported up to a maximum of 3.072 MHz.
Please post the release notes for AIROC Bluetooth SDK 4.2.
Dilli