AIROC™ Bluetooth Forum Discussions
Hello,
We are using Cy_BLE_GetRssiPeer() to find the RSSI of a connected device. It is my understanding that the RSSI reading is acquired from one of the 37 BLE data channels. Is it possible for use to which channel is used to obtain the RSSI value?
Thank you in advance
Show LessHi,
My customer is failing to connect/re-connect the multiple peripheral devices with discovered BD address and would like to know if you have any good example code for PSoC6 based Central to handle multiple Peripharals.
They would like to filter the devices with valid public device address included in the discovered BD address and hold them in the list for the next connection event.
I found the following example(BLE_Central_IAS), but it looks for PSoC4.
https://community.infineon.com/t5/PSoC-4/BLE-Central-Role-Example/td-p/154550
Best Regards,
Naoki Kawada
Hi,
I'm trying to use two CYBT-483056-EVAL boards to create a RFCOMM bridge, but I'm unable to make the pairing between both devices work.
At this point, I must point that boards can pair with a phone / computer / other bluetooth module from a different manufacturer. They can accept pairing from the computer, or I can initiate pairing from the board to a remote device (we have an interface on PUART to send commands to the module, and an internal command processing is calling wiced API).
Here is what we do when we want to connect from the CYW20719 to a remote :
1/ Check for existing link key in our database.
2/ If there's no existing key for the remote bd address, initiate pairing using wiced_bt_dev_sec_bond :
wiced_bt_dev_sec_bond(/* bd_addr */ BdAddr,
/* bd_addr_type */ BLE_ADDR_PUBLIC,
/* transport */ BT_TRANSPORT_BR_EDR,
/* pin_len */ 0,
/* p_pin */ NULL);
3/ Wait for events to finish the pairing, store the key and upon successfull pairing, we start the SPP connection (using SPP library).
When the process is working (with a remote device different from a CYW20719), then we have the following events :
1/ BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT
2/ BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT (to which we respond with the default settings as in examples)
3/ BTM_USER_CONFIRMATION_REQUEST_EVT (to which we respond using wiced_bt_dev_confirm_req_reply)
4/ BTM_PAIRED_DEVICE_LINK_KEYS_UPDATE_EVT
5/ BTM_PAIRING_COMPLETE_EVT
When trying to connect to the other eval board we only have :
1/ BTM_PAIRING_IO_CAPABILITIES_BR_EDR_RESPONSE_EVT
2/ BTM_PAIRING_IO_CAPABILITIES_BR_EDR_REQUEST_EVT
and later a BTM_PAIRING_COMPLETE_EVT with status 0x5 (HCI_ERROR_AUTH_FAILURE)
What can be wrong with our code ?
Can you please provide an example of Bluetooth classic connection to a remote device (the exact sequence of wiced API that must be called to establish a connection). There's many API for connection but I can't find the correct path to use (there's wiced_bt_connect, wiced_bt_start_authentication, wiced_bt_start_encryption, wiced_bt_dev_sec_bond, ...). All examples that I've found are for BLE or to use with HCI.
Please can you provide a RFCOMM_Client example which could work facing a device running RFCOMM Server example ?
Regards, Jerome
Show LessHello,
I'm new to this CYBT-353027-02 Bluetooth module. I'm trying to integrate CYBT-353027-02 bluetooth module with my controller. I want to understand how to initialize this Bluetooth module. What are the library files I'm supposed to use and where can I find those library files.
Thanks in advance,
Adarsh Maurya
Show LessI am using CYW20835PB1KML1GGF Chip
When I pressed Power key, IR Led on and data transmit but not stopper after release the power key.
I upload the HID_LE_REMOTE example.
Show LessHi,
I am using miniProg4 debugger with CYW20835M2EVB-01 EVK and studied attached file. But got error log "cannot read IDR". there is detail log as below. Any idea how to fix it?
Log:
Started by GNU MCU Eclipse
Started by GNU MCU Eclipse
Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-13:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
kitprog3 set_latest_version: C:/Infineon/Tools/ModusToolbox/tools_3.0/fw-loader 2.40.1241
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
cortex_m reset_config sysresetreq
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf151, serial=0A1D198800121400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.40.1241
Info : KitProg3: Pipelined transfers enabled
Info : KitProg3: Asynchronous USB transfers enabled
Info : VTarget = 3.289 V
Info : clock speed 10000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'CYW20835B1.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Austin
Show LessAs noted in another recent question: https://community.infineon.com/t5/Bluetooth-SDK/a2dp-sink-cant-t-connect-to-20719-a2dp-source/td-p/330401 the Watch Example provided as reference code for A2DP implementation seems to have problems with the connection sequence, and it appears that the code does not actually perform to the Bluetooth Specification. Can you explain the apparent deficiencies or provide examples of compliant code?
As noted in the referenced post above, the connection sequence always seems to fail for a previously paired device. And we do not seem to be able to get SBC output to play on Airpods at all.
Show LessHow to configure CYW43012 in different power modes. I'm using CY8CKIT-062S2-43012 and I've used switching power modes example in ModusToolbox but it is configuring the MCU in different power modes, How can I configure the chip CYW43012 in different power modes
Show LessHow to configure CYW43012 in different power modes. I'm using CY8CKIT-062S2-43012 and I've used switching power modes example in ModusToolbox but it is configuring the MCU in different power modes, How can I configure the chip CYW43012 in different power modes
Show Less