Studio Bluetooth Forum Discussions
Hi,
File '/20719-B1_Bluetooth/include/20719/stack/hcidefs.h' contains the "LE features encoding" settings:
/* Data length extension: bit 5 */
#define HCI_LE_FEATURE_DATA_LEN_EXT_MASK 0x20
#define HCI_LE_FEATURE_DATA_LEN_EXT_OFF 0
#define HCI_LE_DATA_LEN_EXT_SUPPORTED(x) ((x)[HCI_LE_FEATURE_DATA_LEN_EXT_OFF] & HCI_LE_FEATURE_DATA_LEN_EXT_MASK)
I think this are the flags controlling whether to enable DLE or not.
When and where to set the exact PDU payload size?
Is thers any sample about CYW20791 DLE?
Best regards.
Show Less在20706上测试HFP DEMO后,使用WICED Client Control HF Advanced功能测试HFP的Battery Charge功能,通过Enable Indicator(发送BIA)使能Battery Charge后,发现手机电池电量变化未收到CIEV返回。请问该例程是否有过成功测试,或者我的用法时候哪里有问题?非常感谢!
Show LessHello,
As of June 4, 2020, the following EZ-Serial F/W User Guide had been updated.
However, the firmware corresponding to this has not yet been updated at the following URL.(remains v1.1.14)
https://www.cypress.com/documentation/software-and-drivers/ez-serial-ez-ble-module-firmware-platform
When is it officially offered?
Best regards,
Takahashi
Show LessHello.
Recently I got CYBT-413034 Ev board for new project of my Company.
I have several issues.
[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).
- Press and hold the RESET button (SW1) for 1 second.
- Release SW1.
- Release SW2.
- 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.
Show LessHi everyone
Questions about Output using MBT.
1, Is it possible to measure the throughput of the destination module using MBTTool?
Sender and receiver use the same module
Do not use dedicated measuring instruments
2, Is it impossible to perform an output test as described in ManufacturingBluetoothTestTool
just by operating from the hostCPU without connecting to a PC?
I have asked the same question about RSSI.
https://community.cypress.com/message/221625?et=watches.email.thread#221625
Thanks
Yang
Show LessHello,
Is there any TFT library for CYBT-413034?
Thank you.
Hi Folks,
We have question about the operation logic of CYW20706 Bluetooth Classic Inquiry Scan in Firmware.
Firmware in use: WICED-Studio-6.4\20706-A2_Bluetooth\apps\demo\apple_mfi\hci_iap2_spp
The CYW20706 BT slave was Paired & Bonded with iOS device via BT Classic and works fine with custom iOS App until BT disconnected.
We assume that the 20706 in WICED Slave state as standby when disconnected and periodic do inquiry scan to resume connection with iOS device BT master. While we found that the re-connection would only occur if we reset the device.
It seem the only available option to set inquiry scan interval in the hci_iap2_spp.c firmware and the rest is done in library state machine:
// This application will always configure device connectable and discoverable
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_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);
and in the WICED_BT_CONFIG.C
/* BR/EDR Scan Configuration */
{
BTM_SCAN_TYPE_STANDARD, /**< Inquiry Scan Type (BTM_SCAN_TYPE_STANDARD or BTM_SCAN_TYPE_INTERLACED) */
WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_INTERVAL, /**< Inquiry Scan Interval (0 to use default) */
WICED_BT_CFG_DEFAULT_INQUIRY_SCAN_WINDOW, /**< Inquiry Scan Window (0 to use default) */
BTM_SCAN_TYPE_STANDARD, /**< Page Scan Type (BTM_SCAN_TYPE_STANDARD or BTM_SCAN_TYPE_INTERLACED) */
WICED_BT_CFG_DEFAULT_PAGE_SCAN_INTERVAL, /**< Page Scan Interval (0 to use default) */
WICED_BT_CFG_DEFAULT_PAGE_SCAN_WINDOW, /**< Page Scan Window (0 to use default) */
},
Is the BT Classic "reconnect" functionality all depends on the preset library state machine or there is some other way to allow user app firmware engagement.
Thanks and Regards,
Kevin
Show LessHello,
I am using CYBT-413034-02 custom board. In wiced studio6.4 in makefile.mk of Hello_sensor
APP_PATCHES_AND_LIBS += FM25Q04_sflash.a is writtern. But while programming i am getting error as cannot find FM25Q04_sflash.a file?
Where can I find FM25Q04_sflash.a file?
when i comment this line APP_PATCHES_AND_LIBS += FM25Q04_sflash.a no error detects, but my module doesn't get detected.
I am just uploading the Hello_sensor code. Code uploads successfully. In Android app cysmart I can detect my module? Is the module not advertising?
According to the below link I have change the patches file also.
Platform and New Patch Files For 20719B1 in WICED 6.4.0.61 - KBA228518
Thank You?
Show LessExcuse me
Is the vendor specific code shown in the examples already in low power mode? or the vendor specific code example is not in low power mode?
I am using CYBT-213043-MESH
I want to know how I can configure this code so that it is in the maximum low energy mode
I want the CYBT-213043-MESH to use the vendor specific code with a very low power consumption so that the battery it uses can last a long time
Show Less