Studio Bluetooth Forum Discussions
I'm only interested in the CENTRAL side. I noticed that the wiced_bt_gatt_le_connect call has a scan_mode and an is_direct flag. The is_direct flag has a note in the .h file that says that you must set the background connection type to AUTO or SELECTIVE. So how does this all work? If I set scan_mode to HIGH_DUTY and background type to AUTO and is_direct = 0 will the central try to connect to all connectable devices? Does it use the white list? Can I use SELECTIVE to implement my own white list? Also, if I specify is_direct = 0 does the wiced_bt_gatt_le_connect call right away? How do I cancel the background connection operations?
Finally, is there some documentation other than these .h files describing how this stack works?
Robert
Show LessI'm working with 20706 and WICED studio 6. For our application we need to rely on the timer to track events.
Looking at the API and examples, here are some questions:
1) Functions like wiced_init_timer(), wiced_start_timer() and wiced_stop_timer() all return wiced_result_t, which might not be WICED_SUCCESS. Can they actually fail? Why would they fail? How do I recover from the failure? If any of them fails, I'm left in a very awkward position, and without knowing more, the only logical thing left to do is reset the system...
2) Would starting a timer affect system sleep? Does the type of the timer matter (periodic vs. one-shot, ms vs. s)?
3) Are there any timing constraints on timer callbacks? How long can my callback function run without breaking the system?
Thanks!
Show LessGreetings,
I'm currently tring to design my first Bluetooth application in WICED Studio with a CYBT-343026-EVAL board.
I've found a document called "Getting started with Wiced Bluetooth". The following aspects are stated in one of the paragraphs of this same document:
"
The BT Designer feature of the WICED BT SDK IDE helps software developers generate the Bluetooth
Generic Attribute Profile (GATT) databases and initial code for Bluetooth WICED applications.
The BT Designer is initiated by clicking File > New > WICED Bluetooth Designer in the WICED Studio IDE.
Complete information about this tool can be found in the file ‘Developing Custom Applications with BT
Designer’ under the doc folder of WICED Studio.
"
However, after downloading the last version of WICED Studio, I can't seem to find either the 'WICED Bluetooth Designer' feature nor the 'Developing Custom Applications with BT Designer' file anywhere in the SDK.
Could you please tell me how to get access to them?
If you could provide me with any other information regarding how to get started with the development of a bluetooth application in WICED Studio, I would be much appreciated.
Here's the link to the page where I found the mentioned document:
Getting started with BLE in WICED Studio
I also attatch two captures that show the feature and the file are not where this document states.
Thank you in advance.
Show LessGreetings,
I'm having some trouble with the CYBT-343026-EVAL evaluation board and the WICED Studio 6.0 SDK.
After having installed all the drivers of the board (USB Serial Dual Channel drivers included) I have referred to KBA221025 as stated in the user guide and followed the steps mentioned there:
1.- Download CYBT_343026_EVAL_PLATFORM_FILES.zip attached with this KBA.
2.- Save and extract the downloaded file in your computer.
3.- Navigate to CYT_343026_EVAL_PLATFORM_FILES > CYBT_343026_EVAL and copy this folder.
4.- Paste the folder in WICED Studio 5.1 folder path …\ WICED-Studio-5.1\20706-A2_Bluetooth\Platforms\. Figure 1 shows the location of folder in the WICED Studio 5.1.
Now, although in the Project Explorer I can see that the folder has been added, there are only example build targets for the CYW920706WCDEVAL board in the Make Target tab.
I figure I can't use the CYW920706WCDEVAL board's demos with my CYBT-343026-EVAL board since I get a device detection failure message saying that the CYW20706 was not detected.
From the KBA221025 I understood that I should be able to see a sample make target called "demo.hello_sensor-CYBT_343026_EVAL download" in the Make Target tab.
Is there any step that I am missing?
Thank you in advance.
Best regards.
Show LessHi,
I am trying to understand the behaviour of FW BCM20704A1_001.001.005.0358.0726.hcd we have.
I saw that page BCM20704UA1KFFB1GT | Cypress Semiconductor is referring to Application Note http://www.cypress.com/documentation/application-notes/an214788-headless-mode-and-power-conservation-bluetooth-device-an… which says it is dedicated to 20705.
Should I consider this AN is also valid for 20704 or is the right document somewhere else ?
Regards
Show LessCYW20706 uses PUART to communicate with MCU(sub).
The PUART pin is using GPIO pin D6 as TXD and C5 as RXD.
If only ANCS is connected, or if HFP is connected, UART communication is good.
However, when ANCS is connected and HFP is connected, UART TXD level is fixed high
There is no problem with the connection of Android phone.
Have you ever heard of this problem?
Show LessI saw you answered the following questions(https://community.cypress.com/thread/31902 ).
I have a similar problem.
Can I get a sample of your supplied fully raw mode sample code?
Thank you.
And one more thing: why did hci_raw_spp sample disappear from wiced studio 5.0 recently?
--------------------------------------------------------------------------------------------------------
https://community.cypress.com/thread/31902
-------------------------------------------------------------------------------------------------------
"For others viewing this thread, yes raw mode is supported by the usual transport APIs, but the RX handler must behave differently than the WICED_HCI RX handler (return bytes read instead of SUCCESS, and do not try to free transport buffer). A sample app will be included in future releases to demonstrate the steps necessary.
lye_2922526, We have already addressed your issue internally: I wrote a sample application that fully implements raw mode that was provided to you over email by your FAE. We plan to release this sample app into the SDK in future releases.
To answer (3): a watermark level triggers the callback."
Show LessHi,
I'm using WICED STUDIO 5.2.0
Demo application 'hci_serial_gatt_service' is not connect Samsung Galaxy Note 4.
I tested with 'WICED Smart Explorer' and 'CySmart' in Samsung Galaxy Note 4.
My application must be connected to the Galaxy Note 4 via serial gatt service.
How can I solve this problem.
Please, Help me.
Show Less