Studio Bluetooth Forum Discussions
I am currently looking for a way to get an RSSI with a BLE connection.
There is "wiced_bt_dev_read_rssi" in the RSSI acquisition function of BLE, and this is the method of scanning, but I am looking for an easy method. (To return the RSSI value immediately when needed)
For example, for WIFI, I am looking for something like "wwd_wifi_get_rssi" function to get the connected RSSI value.
Please let me know if you have such API functions or variables.
<Japanese>
BLEの受信感度(RSSI)の取得方法について
現在、BLE接続しているRSSI取得する方法を探しています。
BLEのRSSI取得関数に、「wiced_bt_dev_read_rssi」があり、これはスキャンする方法になりますが、簡単に取得する方法を探しています。(必要になった際に、即時RSSI値を返答するため)
例えば、WIFIであれば「wwd_wifi_get_rssi」関数のように接続されているRSSI値を取得するようなものを探しています。
そのような、API関数や変数がありましたら、教えてください。
Show LessHi Forum,
We are using CYW20706 with WICED version 6.0, and we cannot upgrade to newer versions (route audio over uart no longer supported).
So we know there is a bug in WICED 6.0 where RSSI reading from a BLE scan can turn out to be positive. We were dropping those data points previously. Now we are working on a new feature that relies on collecting RSSI readings for distance estimation, so ideally we can keep those data points.
Is it possible for us to correct/patch those positive readings in application code? Maybe there is a formula?
Thanks,
LJ
Show LessThere is a supervision timeout that determines the disconnection of BLE, but I have three questions.
◆ QA
1. Is it ok to recognize "conn_supervision_timeout = 400" when the supervision timeout value is 4 seconds?
2. Is it all right to recognize the GATT event “GATT_CONNECTION_STATUS_EVT” 4 seconds after the BLE disconnection is detected?
3.2. In relation to, when I tried to operate with the following procedure, "GATT_CONNECTION_STATUS_EVT" event was notified about 2 seconds later.
I would like to be notified of the disconnection event 4 seconds after BLE disconnection. If there is a setting method, please let me know.
● Operation
1) BLE connection from smartphone
2) Turn off your smartphone
◆ wiced_bt_cfg.c settings
.ble_scan_cfg =
{
...
.conn_supervision_timeout = 400,
◆Environment
・WICED SDK 6.4.0
・ThreadX
Show LessHi,
I have a control on my phone using client control, but I didn't succeed to connect to the audio channel.
I tried to use Android phone, but it connect and disconnect shortly after.
With IPhone I get the following error:
client control- AG Response: ERROR Num: 0 Params:
Show LessHi all,
I want to ask for a question as topic, I know a data's logical address is 0xFF000C00, and how can i get the physical address?
Thanks
Er
Show LessDevelopment environment:
Windows 8.1 pro
Platform: CYBT-423028-02
IDE: Wiced Studio 6.2.1
(1)On any button change on Interrupt would work even if the internal pull-up/pull-down resistor is off/disabled? and please note if there is no external pullup or pulldown resistor used.
(2)How much current will be drawn by the internal pull-up resistor enabled in active mode?
(3)How much current will be drawn by the internal pull-up resistor enabled in sleep mode?
(4)How much latency will be for internal RTC? not used external 32Khz crystal.
Show Lesshello can you help me
I have a program that scans ble devices like cell phones and I can show them in uart but I want to send this data by ble mesh to a cybt-213043. mesh provision client
Can you tell me what examples can I use or give me some advice?
this image shows the application
Show Less
I can successfully use customer command to communicate with CY20706 via HCI UART,
but it is failed when I try to use the same code setting on CYW20719
So I change customer command to wiced hci command with CYW20719 HCI UART, then it works as expected.
But when I send the wrong wiced hci command, such as: 0x19 0x01 0x00 0x20 0x1 any wrong command, it would cause system to reset or response slowly.
How could we avoid system resetting or hanging ?
Show LessPlatform: CYW920719Q40EVB-01
IDE: Wiced Studio 6.2.1
Question 1:
I'm trying to solve this problem, but I can't understand how to configure GPIO for Matrix keys. From below the API
Is there any predefined GPIOs which are used for Matrix key interface?
/////////////////////////////////////////////////////////////////////
/// Configure GPIOs for keyscan operation. Note that only GPIOs
/// that are in the matrix are configured for keyscan operation.
/// GPIOs that are not part of the scan matrix are left alone.
///
/// \param -none
///
/// \return - none
/////////////////////////////////////////////////////////////////////
void wiced_hal_keyscan_config_gpios(void);
//======================================================================================================
Question 2:
Is it a write way to read any keypress event for 4x4 keypad?
What I am trying is, connecting a 4x4 matrix keypad with CYW920719Q40EVB-01 dev kit on J3 -J4 connector from D0 - D8 (where D3 NC) ,
And configured pins for 4x4 Matrix keypad, where D0 - D8 are mapped to pins of chip i.e. D0: P34, D1: P33, D2: P00 ... .. D8: P06
and then trying to read if any key press ? like if P34 pin is detected pressed I want to print 1 Num Pressed in debug log. if P33 then 2 num is pressed and so on.
APIs I might need to start with .
/* matrix keypad Mia driver intruupt init*/
wiced_hal_mia_enable_mia_interrupt(TRUE);
wiced_hal_mia_enable_lhl_interrupt(TRUE);//GPIO interrupt
/* matrix keypad Keyscan driver init*/
wiced_hal_keyscan_configure(KEYSCAN_ROWS, KEYSCAN_COLS); // (4,4)
wiced_hal_keyscan_init();
And by using wiced_hal_keyscan_is_any_key_pressed() function confirming if any keypress event generated or not.
Show Less