PSoC™ 4 Forum Discussions
We have some BLE device with 2 services
1. notify on change when (measure or other action)
2. FOTA upgrade device on the air
FOTA service is hidden until you send to the device command to show it from service 1
the device needs to pairing when you connect them in the first time,
we have a problem after we connect to the device and send a command to the device to enter to FOTA mode,
it does not show the FOTA service until we remove the pairing from iPhone settings.
- possible to remove paring from my code?
- refresh paring from my code
- refresh service
may be another way to solve
Thank you!
Show LessHello,
In our project we encountered the following errors:
CYBLE_GAP_AUTH_ERROR_AUTHENTICATION_TIMEOUT
and CYBLE_GAP_AUTH_ERROR_LINK_DISCONNECTED
In both cases, the error is followed by disconnection.
Our BLE security type is Unauthenticated with Encryption (bonding enabled).
Our MCU is PSOC 4 and our BLE component in PSOC Creator is 3.54.
When this occurred, we were unable to connect with the device and we got these errors, again and again, no matter what tool we used --> android phone or CySmart V1.3 etc.
We managed to get around this only by installing the firmware again.
Our fear is why did this happen and how can we avoid this in the future?
Any help would be appreciated.
Thanks,
David
Hi,
My project is to display, in different formats, the results of the A/D conversion. I cannot display the result in decimal format (floating point).
My resources are:
PSOC Creator 3.3.
PSOC4: CY8CKIT-049-42XX-(CY8C4245AX483)
LCD: RC1602B
I wrote the ”-u_printf_float” as a custom command line for the Linker tool.
The LCD is displaying only ”ADC”, at position (0,0).
Thank You!
The main file is bellow:
#include <project.h>
#include <stdio.h>
int main()
{
int32 conversie;
char cuvant [16];
float32 val,vin ;
CyGlobalIntEnable; /* Enable global interrupts. */
ADC_Start();
ADC_StartConvert();
ADC_IsEndConversion(ADC_WAIT_FOR_RESULT);
LCD_Start();
LCD_Position(0,0);
LCD_PrintString("ADC");
for(;;)
{
conversie = ADC_GetResult16(0);
val = ADC_CountsTo_Volts(0,conversie);
sprintf(cuvant,"%1.4f ",val);
LCD_Position(1,0);
LCD_PrintString(cuvant);
vin = (float32)conversie * 1024/32768;
sprintf(cuvant,"%1.3f ",vin);
LCD_Position(1,6);
LCD_PrintString(cuvant);
LCD_Position(0,6);
LCD_PrintNumber(vin);
LCD_Position(0,10);
LCD_PrintInt16(conversie);
LCD_Position(1,11);
LCD_PrintInt16(vin);
CyDelay(1000);
}
}
/* [] END OF FILE */
Show LessHello,
I am using CYBLE-222014-01 for my project.
My customer is complaining about a pairing issue on Windows 10.
Security connection with Bluetooth devices became stronger on Windows 10 version 1903.
I was not able to pair more than one cypress units on Windows 10 of that version.
Their updates are like the below:
Addresses a security vulnerability by intentionally preventing connections between Windows and Bluetooth devices that are not secure and use well-known keys to encrypt connections, including security fobs.
and they suggest Contact your Bluetooth device manufacturer to determine if a device update exists.
Are there any updates about this on your side?
Thank you.
Show LessI use CY8C4247LQI-BL483 56-QFN. I updated the components but it still shows me, that its incompatible.
So, i'm trying to make a program with a OpAmp, but i don't know if i doing this program correctly. How to use the OpAmp in the code, i mean, how to start the OpAmp of the correct way. Please, look my code.
I'll leave my program in the attachment.
Show LessHello everyone,
I have a problem in the hour to get the build in this problem. Someone can help me to get the solutions?
Follows the attachment.
Show LessSomeone can help me to take it out this errors in my problem. I'm trying to write in the LCD a menssager.
I'm trying to use this DIsplay:
JHD1313M3
P150709
I'll leave my program in the attachment.
Show LessIn the touch design, the recommend Cmod is 2.2 nf. What will happen, if I use 1.1 nf capacitance as the modulation capacitance?
How to choose a suitable value capacitor? After all, different product have different Cp.
I choose 1K resistor between the MCU touch IO and touch sensor. What is the effect of the size of this resistor?
Show Less