PSoC™ 4 Forum Discussions
I am now using CY8CMBR3116,MCU is stm32,how to decide CY8CMBR3116 addr?
'String' (ASCII code in array) which i 'reading' have variable length but in custom profile i have to declare constant length of utf8s.
1. For example When i reading value ('0x44, 0x45, 0x46') BLE sending '0x44, 0x45, 0x46, 0x00, 0x00, 0x00...' because in custom profile i declared length =50 I don't need this 0x00 there is any solution to send it without zeros?
2. When i start notify everything is ok... but when there is more than 20 bytes to send via notification it doesn't send anything.
How can i solve this problem?
3. Maybe there is any other possibility to send more than 20 bytes than notifications without reading?
This post is about the Psoc 4. I will post some Psoc 4 imformation tomorrow.
Hi All,
I had taken the CySmart example code, and started making my own application for BLE. I am getting some exception errors when adding this following
application = (CySmartApplication) getActivity().getApplication();
in the profile scanning fragment.java file
Any idea on it?
error:
Caused by: java.lang.ClassCastException: android.app.Application cannot be cast to com.fair.ashok.cypresssmart.CySmartApplication
Thanks,
Ashok r
Show LessThis is on Kickstarter the first PSOC BLE app, and they have a dev kit also, looks like they have a small platform that has about 12 sensors on the board so you can do almost anything, check it out...
Show LessMake: is proud to announce the launch of the PSoC® Pioneer Challenge, presented by Cypress Semiconductor and Arrow Electronics.
We're challenging makers to conceptualize and prototype Internet of Things projects using the new PSoC® 4 BLE Pioneer Kit. Projects can be simple or complex. Submissions can range from a simple temperature sensor to a sophisticated home security system, or something unique like a coffee pot that can tweet its own temperature! Instead of complexity, we are looking for projects that technically utilize the capabilities of the solution, that demonstrate those capabilities, and whose overall design is novel and clever.
One lucky winner will receive an all-expenses paid trip to Maker Faire 2015 in California to showcase the winning design.
Hurry! The design submission deadline is March 23, 2015 (11:59pm PDT).
Visit www.cypress.com/PSoCMaker to learn more
Show LessHi folks,
I'm new in the Cypress world and try to get in touch as fast as possible with the nice features of Cypress MCU's, especially with BLE components. At the moment I use the CYBLE-014008-00 BLE Module in combination with the BLE Pioneer Kit.
At first, I would like to create a BLE peripheral which includes some custom services and characteristics. The characteristic values should be updated when there are new values available. The new values are transferred from another MCU to the BLE Module via UART interface and a small protocol. The last day, I played a bit with the UART communication and feel well, to implement the UART interface and communicate with another MCU. I have also created two UART interrupts (TxD transfer complete / RxD buffer not empty) to implement these communication. So this part should work! I just get one warning: "Warning-1366: Setup time violation found in a path from clock (CyHFCLK) to clock (UART_IntCLK)" Maybe someone has got an idea to solve this warning?!
Right now, my main problem is to understand how the BLE module exactly works. In the attached example file, I initialized the BLE module with one custom service and one custom characteristic. I looked at some examples and implemented two function calls. First I use this function:
apiResult = CyBle_Start(StackEventHandler);
Afterwards I call this function in the infinity loop:
CyBle_ProcessEvents();
Now I can find and connect to my new BLE Peripheral. But how am I able to update the value of my custom characteristic? I tried to use this function:
CyBle_GattsWriteAttributeValue(&myHandle,0,&connHandle,CYBLE_GATT_DB_LOCALLY_INITIATED);
But that doesn't work. I just receive the default values, set up in the TopDesign.cysch
Conclusion:
1. How am I able to fix the shown warning in the UART module?
2. Why do I have to call the "CyBle_ProcessEvents();" function in my infinity loop? This seems a bit confusing to me.
3. How am I able to update my characteristic values?
Thank's in advanced!
Pascal
Show LessHello,
I have some parameters(Adc Voltage, temperature value, time & date stamping). I'm able to see them on my laptop screen through tera term using UART. I want to transfer the data through BLE, But i'm unable to transfer the data not getting data in CySmart tool. I created custom profile.
Show Less