PSoC™ 4 Forum Discussions
AN86526 refers to the communcation_api.c and .h files. I assumed this would be in the cybootutils along with the others, but I don't see it there.
Does anyone know the location of these files? I see the struct pointers to the four functions in cybtldr_api.h but that's it.
In the hardware design (PSoC Creator 3.3, PSoC 4 Prototyping Kit) I use some digital components with external inputs to decide how to set a digital output with hardware connection outside the PSoC. This works quite good. Now I want to read this output and use the value in the c-program to display additional stuff on the LCD-Display. But I have no luck in getting a value from the output-pin.
I start with defining a variable...
int CutOffVariable = 1
and later I'm polling the digital output "Cut_Off" with...
CutOffVariable = Cut_Off_Read();
but the variable doesn't change although I measure that the the hardware pin has changed it's status.
I tried also with ...
CutOffVariable = Cut_Off_ReadDataReg()
but I had no luck, probably don't understand the format of the returned value.
Any ideas how to solve this problem?
Cheers
Thomas
Hi,
I got my first Pioneer Kit. I was trying to install the CySmart Mobile App in my iphone 6P from AppStore. I get the error as "Item Not Available"
Any help will be highly appreciated.
Warm Regards,
Antoni
Show LessI'm designing a board with a PSoC4247BLE and I didn't find any info how to connect all the differents VDD (see my schematic in attachement).
I mean, in my schématic I separated VDDR, VDDA, VDDIO and VDDD but how should I connect them together?
I understand that each VDD have its purpose (digital, analog, IO and RF) but in my case they all will be at 3.3v.
I looked at the schematic of the PSoC4BLE kit and they use 3 inductors but there is no value, what is the purpose? And why VDDD is connected to VCCD with a 0ohm resistor?
Thank you very much
Show LessI am building a circuit using CY8C4247LQI-BL483. I tested my circuit using the module CY8CKIT-142. BLE works reliably at 10 meters as expected. At 20 meters, it works but not as good. For example, it advertises 10 packets but only 5 can be detected. So, I'm thinking about using wire antenna instead of PCB. But in the document, the wire antenna has be suggested for better performance but no design suggestion. Unfortunately, I do not have a network analyzer (to expensive to buy right now). Do you have a design suggestion(s) for wire antenna, RC matching value, length and diameter of the wire, etc?
Show LessHello,
can me somebody help?
I have problem with disconnecting:
I call the function: CyBle_GapDisconnect(connHandle_Server01.bdHandle);
and then I look at: CyBle_GetState() , the device is still CYBLE_STATE_CONNECTED.
When I recieve new data, I want to terminate the connection....but this function doesnt work....
Thak you
Show LessHi,
i have PSoC4 BLE as a Bluetooth modem which connects a microprocessor via UART and a smartphone via BLE.
I get a lot of debug info from the microprocessor which i want to send to the Smartphone. But often, BLE reads time out and i get the debug message "BLE STACK BUSY".
I am transferring 26 bytes with debug info on 11 characteristics. Each time the microprocessor sends debug info, i use
CyBle_GattsNotification(connectionHandle, &hrConfigHandle);
on each of the 11 characteristics. That notifies the smartphone, that there is new data available. Those same characteristics also support "read", but when i want to read them selectively, my BLE connection times out.
The reason why i made separate characteristics for the debug data fields is that it gets too long in one characteristic for the Android smartphone to receive.
How can i speed up the BLE stack or am i having a bad approach of doing things?
Thanks,
Patrick
Show LessI am using cypress dongle (C# API) on windows system to communicate with BLE devices. I am able to scan BLE devices but I didn't find any api method to get Device UUID or Name before connect to that device. Is IT possible? If yes , How? Thanks.
Show LessThe current device name in my Gap Settings is "SN01234567890123456" But an iOS app I have written in swift is scanning and getting instead the device name "sensor ID not set up yet" which is thought I changed when I entered "SN01234567890123456" in the device name window of the Gap Settings page. I've searched both my c code running on the pioneer kit and my swift code running on the iOS device for "sensor ID not set up yet" and can't find it in either place. I've also looked at the name characteristics with CySmart and can't find it.
But here's the weird thing, both the CySmart on my pc and CySmart on the iOS device scan and receive the correct device name "SN01234567890123456" So the culprit must be my swift code. But I can't find any obvious problems.
Any idea what's going on?
Show LessI am using a custom Bluetooth service to write Device Information Service attributes like device name and serial number from a smartphone to our connected IoT product. When I restart the device, the values are gone, so I need to store them in flash and set the attributes on every startup:
CyBle_DissSetCharacteristicValue(CYBLE_DIS_SERIAL_NUMBER, sizeof(serial_number), (uint8_t *)serial_number); CyBle_GasSetCharacteristicValue(CYBLE_GAS_DEVICE_NAME, sizeof(device_name), (uint8_t *)device_name); CyBle_GapSetLocalName(device_name); CyBle_GapUpdateAdvData(cyBle_discoveryModeInfo.advData, cyBle_discoveryModeInfo.scanRspData);
Is there any way to save that storage space and set the device name and serial number permanently at the time of receive? I wasn't able to find anything in the BLE CSD component's datasheet.
Show Less