Studio Bluetooth Forum Discussions
Hi All, DheerajP_41
Im trying to run my application with coin cell. I flashed "switch on/off" example code.
Jumper setting i changed to source power from coin cell.
but still my application did not starts/ works. But when i power using USB it works.
anything workaround required from firmware side?
Thanks
Ashok r
Show LessHi All,
Once again a small demo with MESH for Car Tire pressure monitoring , I did not received my actual car pressure sensors so i had to simulate the same with
temperature sensors. I used 4 CYBT-213043-MESH boards for tires. CYW920819EVB-02 Evaluation Kit is used in Dashboard to display the pressure level. EPD is interfaced with kit via SPI. EPD display is from waveshare. Unfortunately the coin cells did not worked for me with CYBT-213043-MESH so , i powered with USB cables.
The working demonstration is here ,
Show LessHi,
I want to dowalod FW via HCI command. I do the steps as "WICED HCI UART Control Protocol".
Below is my test steps, I write the wrong data to ram on purpose. I think this steps should make device cannot run because I have downlaod new FW(though data is wrong) to RAM. But it still run normally with old FW. Below is my steps.
1. 01 03 0C 00--------04 0E 04 01 03 0C 00
2. 01 18 FC 06 00 00 00 C2 01 00-----04 0E 04 01 18 FC 00
3. 01 2E FC 00----04 0E 04 01 2E FC 00
4. 01 4C FC 07 38 7A 21 00 01 02 03----04 0E 04 01 03 0C 00(write wrong data to 0x00217A38 )
5. 01 4E FC 04 FF FF FF FF---04 0E 04 01 4E FC 00
Then device run normally with old FW. Why
Show LessHi,
I am using the delay function provided by wiced_gki.h, which provides a microsecond delay function, void wiced_gki_delay_us(uint32_t delay).
I found however that this function often fails and creates a stack overflow when the delay is greater than about 1s, which is less than the maximum delay a uint32_t value could be. If there is a maximum which is below the variable's maximum this should probably be provided in the documentation/comments. If not, is there a reason this may be failing for larger values but works perfectly fine, even for values up to 0.5s?
Thanks,
Ryan
Show LessI'm using WICED Studio v6.2 to develop an application for the CYW20719. I will be using the peripheral UART to communicate with another application running on an MCU. I'm using a RX buffer and a TX buffer to handle the serial data and using a separate wiced_mutex_t object to control access to each buffer.
I call wiced_hal_puart_register_interrupt() to install my RX data handler. In order to prevent any deadlock issues, I'd like to know on what thread my RX interrupt handler will run. Is it actually an interrupt service routine that interrupts the main app thread or is it running on a different thread?
Show LessHi,
I change the code as How to change transmit interval link said.(Modify wiced_bt_cfg_settings struct then wiced_bt_start_advertisements). I test set 1s interval firstly and 10s interval then. But I don't know is 10s set success. I confirmed with scan function device(this function can list all the scanned devices). I think 10s should be more hard to be scanned than 1s. But test result is same. I don't know how to confirm now. Do you have any suggestion?
Hi. I've read
which advices to write an empty app to the board. I've tried this
- Re: How to use standard HCI on CYW20819 / CYW920819EVB-02 Evaluation Kit?
explains to keep CTS high during reset.
I've connected the dev kit to my Mac and try examples of a third-party Bluetooth stack (btstack.org(.
If I press the Reset Button (SW2), and start the examples right away, I get this HCI sequence
- HCI Reset
- HCI Command Complete Event / Reset
- HCI Read Local Version Information
- HCI Command Complete Event / Local Version Information
- HCI Read Local Name
- HCI Hardware Error Event, HW Code 0x08
If I press the Reset Button, and wait 5 seconds, I get this
- HCI Reset
- HCI Hardware Error Event, HW Code 0x08
If I hold Recovery Button (SW1), then press Reset Button, I get this
- HCI Reset
- HCI Command Complete Event / Reset
- HCI Read Local Version Information
Nothing happens after this.
I've also seen Cypress Bluetooth SoC Programming Guide but I'm not sure how to get regular HCI to work.
If anybody wants to try, I'm using btstack/port/posix-h4 at master · bluekitchen/btstack · GitHub for testing.
Thanks!
Show LessIn the past, I've received documents that describe how to run BSA apps to do Bluetooth PTS test cases for a particular profile. For example, I was given a document labelled "BSA Find Me Profile PTS Test" for the FMP profile. Do similar documents exist for HSP, HID, HIDS, and AVRCP? I'm not able to find these searching the Cypress website. I cannot even find the ones I know exist that I was given.
HSP, HID and HIDS
Show LessDear Anjana,
The topic of listen function is locked, so I do a new one.
"
I think you modified the code from hello_client example. In the Client application, in ibeacon_client_scan_result_cback there is a check of received adv data with hello sensor UUID. So that it will only display those devices which advertises with particular UUID.
Please modify it and test.
You can refer to the attached project code.
"
I have done as your said to modify the code, please see below code.
But unfortunately, EVAL board still cannot find the CYBT_343026 module after I set below cmd to CYBT_343026 module. So I think it maybe related to my settings for the CYBT_343026 module.
(Note: EVAL board can find the CYBT_343026 module with Ez-Serial FW which I don't do any setting)
Below are my settings for the CYBT_343026 module
/AX
SAP,T=03,H=2BC0,D=0,F=2
SAD,D=17FF01020304050607080910111213141516aaaa1010
/A
And after /A, I can see "@E,000E,ASC,S=01,R=00"
BR,
Treacy
Show LessHi All,
I have created a the usecase demo for Home Garden Kit with Bluetooth MESH.
In this demo 4nos CYBT-213043-MESH kit is used as below
1. LIGHT control with PIR and Light Sense
2. Irrigation for Plants
3. Door security and control
4. Remote control with CAR Keys.
more details and code will be shared via electromaker.io & embedded.club
It was short time so some minor changes only i could do it with Android Apps. ( Added Cloud support for Whatsapp messaging via twillio )
I thank Cypress Community for support and quick response MichaelF_56 DheerajP_41 AnjanaM_61
Watch the full working demo here
Show Less