AIROC™ Bluetooth Forum Discussions
Hi,
The CYW20706 based EZ-serial module user gudie didn't mentioned LP_mode active LOW or HIGH. Is CYBT-343151-02 LP_MODE same as CYBT-343026-01???
Thanks.
Austin
Show Less
Hi all, really hoping someone can help me sort this out 🙂
I have two identical devices running the same PSoC 6 code.
I have a host and a participant device. The participant communicates it's BLE unique ID, and the host then attempts to connect with the participant. I think here the host would be considered the central, and the participant would be the peripheral device?
For the most part, the connection works fine. Sometimes however, The central device finds the target peripheral, gets a CY_BLE_EVT_GATT_CONNECT_IND event, then a CY_BLE_EVT_GAP_ENHANCE_CONN_COMPLETE event, then a CY_BLE_EVT_GAP_DEVICE_DISCONNECTED event (status: 0x0, bdHandle: 0x1, reason: 0x3E).
On the peripheral side, it is waiting for the CY_BLE_EVT_GAP_ENHANCE_CONN_COMPLETE event while running Cy_BLE_ProcessEvents() on loop. Even though the central device gets all those BLE events, the peripheral will sometimes get none of them, and will eventually time out (5 second timeout) while waiting for the connection.
Whether it works or not, Cy_BLE_GAPC_ConnectDevice function is returning CY_BLE_SUCCESS.
It is weird to me that this happens ~15% of the time, with no conditions changing. Is there something I can do to figure out why this would happen? Are there common reasons for this situation?
In terms of the BLE configuration:
- Both devices are GAP Role Peripheral and Central (either of them can be host or participant)
- Images are attached of GAP Settings
Hello Infineon support team.
We would like to refer to a schematic of CYW920721M2EVB-03.
https://www.infineon.com/cms/en/product/evaluation-boards/cyw920721m2evb-03/#!support
Could you provide the schematic?
Thanks,
Tayo
Hello all,
I have both the evaluation board and the CY8CKIT-145-40XX and I want to program an external chip mounted on my device using the JTAG(SWD). I know it can done using the J9 header in eval board but how to make the KIT prog2 understand that i need to prgram the external MCU than the one already in the eval board.
Also for the CY8CKIT-40XX Kit Prog-2 needs 5V to work so if i connect PSOC6-MCU(like CYBLE 416045-2) as it works on 3.3V will that burn out my chip.
Looking forward to hearing from you.
Thanking you
Show LessTool: modustoolbox 3.1
Sample: GATT_SERVER / RFCOMM_Serial_Port
Platform: CYW920719B2Q40EVB-01
Issue 1.
I could send three types of advertising data using following sample.
I want to add fourth data (BTM_BLE_ADVERT_TYPE_MANUFACTURER).
But 4th item is not displayed in my Android(Samsung Galaxy).
void tput_set_advertisement_data(void)
{
wiced_bt_ble_advert_elem_t adv_elem[ADV_ELEMENT_LEN+1] = {0};
uint8_t num_elem = 0;
uint8_t flag = BTM_BLE_GENERAL_DISCOVERABLE_FLAG | BTM_BLE_BREDR_NOT_SUPPORTED;
uint8_t tput_service_uuid[LEN_UUID_128] = {__UUID_SERVICE_THROUGHPUT_MEASUREMENT};
adv_elem[num_elem].advert_type = BTM_BLE_ADVERT_TYPE_FLAG;
adv_elem[num_elem].len = sizeof(uint8_t);
adv_elem[num_elem].p_data = &flag;
num_elem++;
adv_elem[num_elem].advert_type = BTM_BLE_ADVERT_TYPE_128SRV_COMPLETE;
adv_elem[num_elem].len = LEN_UUID_128;
adv_elem[num_elem].p_data = tput_service_uuid;
num_elem++;
adv_elem[num_elem].advert_type = BTM_BLE_ADVERT_TYPE_NAME_COMPLETE;
adv_elem[num_elem].len = app_gap_device_name_len;
adv_elem[num_elem].p_data = (uint8_t *)app_gap_device_name;
num_elem++;
#if 1
adv_elem[num_elem].advert_type = BTM_BLE_ADVERT_TYPE_MANUFACTURER;
adv_elem[num_elem].len = 4;
adv_elem[num_elem].p_data = (uint8_t *)"TEST";
num_elem++;
#endif
if (WICED_BT_SUCCESS != wiced_bt_ble_set_raw_advertisement_data(num_elem, adv_elem))
{
WICED_BT_TRACE("Setup advertisement data failed\r\n");
}
}
Issue 2.
Display name (9 bytes) is not allowed in my test.
I changed app_gap_device_name in desing.cybt. 8 bytes of name is working but 9 byes of name is not working.
if length is 9, advertising is working but there are no name field in Android.
adv_elem[num_elem].advert_type = BTM_BLE_ADVERT_TYPE_NAME_COMPLETE;
adv_elem[num_elem].len = 8;//strlen(m_localname);//app_gap_device_name_len;
adv_elem[num_elem].p_data = (uint8_t *)"RFRP1234";///m_localname;//app_gap_device_name;
num_elem++;
I hope you give me any solution.
Thanks.
Hi all,
I can't create a new application for a few days right now. I am using Modus Toolbox 2.4. This is the log of the error message I am receiving:
Summary:
BSP: CYW920721M2EVK-02
Template Application(s): Audio Headset and Speaker
Application(s) Root Path: C:/Users/sd1/audio_h&s
Press "Create" to create the selected application(s).
Collecting application data...
Info: The following entered on the command line will create the exact same project as that created with the GUI tool:
C:/Infineon/Tools/ModusToolbox/tools_2.4/project-creator-1.41.0/project-creator-cli.exe --board-id CYW920721M2EVK-02 --board-uri https://github.com/cypresssemiconductorco/TARGET_CYW920721M2EVK-02 --board-commit latest-v4.X --app-id mtb-example-btsdk-audio-headset-speaker --app-uri https://github.com/cypresssemiconductorco/mtb-example-btsdk-audio-headset-speaker --app-commit latest-v4.X --cypress-tools C:/Infineon/Tools/ModusToolbox/tools_2.4 --target-dir C:/Users/sd1/audio_h&s --user-app-name Audio_Headset_and_Speaker_4 --output-for-machine --use-modus-shell
==============================================================================
= Cloning 'mtb-example-btsdk-audio-headset-speaker' =
==============================================================================
Cloning https://github.com/cypresssemiconductorco/mtb-example-btsdk-audio-headset-speaker into C:/Users/sd1/audio_h&s directory...
env git clone --progress --origin cypress https://github.com/cypresssemiconductorco/mtb-example-btsdk-audio-headset-speaker Audio_Headset_and_Speaker_4
Cloning into 'Audio_Headset_and_Speaker_4'...
remote: Enumerating objects: 171, done.
remote: Counting objects: 100% (171/171), done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 171 (delta 118), reused 154 (delta 104), pack-reused 0
Receiving objects: 100% (171/171), 89.21 KiB | 904.00 KiB/s, done.
Resolving deltas: 100% (118/118), done.
Checking out latest-v4.X...
env git checkout --progress latest-v4.X
Note: switching to 'latest-v4.X'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 94b9abb Upload mtb-example-btsdk-audio-headset-speaker 4.2.0.11524 [916]
==============================================================================
= Creating "TARGET_CYW920721M2EVK-02.mtb" file(s) =
==============================================================================
==============================================================================
= Updating Makefile for "Audio_Headset_and_Speaker_4" =
==============================================================================
==============================================================================
= Applying the Latest Version Locking for "Audio_Headset_and_Speaker_4" =
==============================================================================
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/TARGET_CYW920721M2EVK-02.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-audio.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-drivers.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-gfps.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-host-apps-bt-ble.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-ota.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-peer-apps-ota.mtb was updated
C:/Users/sd1/audio_h&s/Audio_Headset_and_Speaker_4/deps/btsdk-rfcomm.mtb was updated
==============================================================================
= Getting Dependencies for "Audio_Headset_and_Speaker_4" =
==============================================================================
C:/Infineon/Tools/ModusToolbox/tools_2.4/modus-shell/bin/make.exe getlibs CY_TOOLS_PATHS=C:/Infineon/Tools/ModusToolbox/tools_2.4
/bin/bash: s/Audio_Headset_and_Speaker_4: No such file or directory
C:/Users/sd1/audio_h
/bin/bash: s/Audio_Headset_and_Speaker_4/libs: No such file or directory
C:/Users/sd1/audio_h
/bin/bash: s/Audio_Headset_and_Speaker_4/deps: No such file or directory
C:/Users/sd1/audio_h
==============================================================================
= Importing libraries =
==============================================================================
/bin/bash: s/Audio_Headset_and_Speaker_4: No such file or directory
C:/Users/sd1/audio_h
/bin/bash: line 0: [: missing `]'
/bin/bash: s/Audio_Headset_and_Speaker_4/libs: No such file or directory
/bin/bash: s/Audio_Headset_and_Speaker_4/libs: No such file or directory
make: *** [C:/Infineon/Tools/ModusToolbox/tools_2.4/make/getlibs.mk:119: getlibs] Error 127
Project "Audio_Headset_and_Speaker_4" failed to create.
"make getlibs" failed.
Failed to create and export "Audio_Headset_and_Speaker_4" application.
Show LessP2 is the programming port, and P1 is the port connecting to the microcontroller. Would you help to check below whether is OK and the correct method for burning the module,thanks a lot!
Show Less
Dear PSoC 6 BLE experts,
I have a customer who is using PSoC 6 BLE with PSoC Creator
and has been trying to shorten BLE communiation interval.
Although I suggested to change the values in the BLE component's configuration
GATT Settings > peripheral Preferred Connection Parameters,
such as Minimum Connection Interval, Maximum Connection Interval,
and Connection Supervision Timeout Multiplier to shorter value(s)
The interval is still around 100 ms, where the customer wants to achieve 15ms.
So my question(s) are
(1) How can we shorten the connection interval of PSoC 6 BLE in PSoC Creator?
(Or can we do it?)
(2) What is the practical shortest connection inverval for the BLE module of PSoC 6?
Best Regards,
26-Sep-2023
Motoo Tanaka
Show Less
Hello all,
Could anyone point me towards the GATT based HCI middleware for the 353027-02?
I'm controlling the 353027 from an external MCU and ideally I'd like the library that can be hosted on my MCU for talking via HCI with the processor. Whilst I can find some of the other supporting middleware, I'm struggling to find the GATT specific HCI control stuff.
Thanks,
Chris
Show LessHi
我想问下20835和20735有什么区别,能否完全沿用一套硬件外围设计。用20835直接替换20735。