PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
I'm trying to get data from a custom GAP peripheral, GATT server.
The peripheral sent data, and I can read GATT DB from CySmart, of course the services are unknown, but the data can be read and write.
Now, starting from PSoC_4_BLE_Central_IAS example, I try to read the same data.
• After the call back function initialization CyBle_Start(StackEventHandler) and CyBle_ProcessEvents(); I manage the events I scan for device CyBle_GapcStartScan(CYBLE_SCANNING_FAST);
• and after the CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT I get advertising data from evetparameter pointer.
• Found my device, I connect it by CyBle_GapcConnectDevice(&connectPeriphDevice);
• did this, I start GATT discovery calling CyBle_GattcStartDiscovery(connHandle) that does not return any event parameter (the documentation says this) and
• I need to discover my GATT services and attributes. I've used CyBle_GattcDiscoverAllPrimaryServices(connHandle); and CYBLE_EVT_GATTC_DISCOVERY_COMPLETEe event are generated
from here I'm not understand how continue.
Where are the discovered services?
Does CYBLE_EVT_GATTC_DISCOVERY_COMPLETE returns an evetparameter? (reading the BLE documentation, this is not clear).
The examples on central function are very few, Can I have some help?
Thanks, Fabrizio
Kind of new to all this. I want to log two ADC values versus time in the CYBLE -022001-00 device for later read out. I assume there is no way to store in non-volatile memory; is that correct? So what is the best way to store in volatile memory to preserve it through deep sleep modes? How much memory is available and keep alive during deep sleep mode?
Is there any code examples available that show how to log data in a memory array and read it out via a BLE and Android App?
Show LessI download wrong HEX file into CY8C4247LQI-BL483 chip, then the chip cann't connect to JTAG.
i measure the current and find the chip current is 6mA when power on(very short time), then drop to 5nA, and never up.
hex file name: "PRoC_BLE_CapSense_Slider_LED" form demo program.
download tools: J-Link
Download software: J-flash
Downloade interface: SWD
please help tell me how to connect JTAG(SWD mode) and erase chip, thanks.
Show LessWe are developing a customized product based on PSoC 4200 BLE where data is sent from the IOT Cloud to the PSoC board via WiFi.
How exactly can we use the esp8266 module with the PSoC board so as to receive the data ?
Thank You
I am advertising my peripheral's name and one of it's services in the advertising and scan response packets. I would also like to include a one bit updateable flag in my advertising packet whose value is based on the value of a characteristic (an A/D conversion). One idea I have is just to append a "+" or a "-" on the end of the local name (the peripheral.name string). Then update the device local name in the advertising packet dynamically. What would the code look like for this option?
Another idea I have is to include the peripheral's service data advertisement field in the advertisement data. But I'm not sure if service data's data field is setable programmatically or if the service data advertising field can be updated dynamically. Can this be done? How?
Thanks!
Show LessGood morning everybody,
I'm working with the PSOC 4 BLE Pioneer Board, and obviously Psoc creator 4.0.
I'm writing a firmware with BLE and want to work with different power status of the device.
I'm noticing that the device is working only when I press the debug button in psoc creator, when I press the program button it doesn't work anymore.
The strange thing is that when I press the stop button in debug environment, the device continue its operations correctly.
Sorry for the stupid question, but I have to test the power consumption without the debugger, which drains a lot of current.
Thanks in advice,
Andrea
Show LessGood morning everybody,
Is there any technique which can emulate the slow-start procedure in the electric motor field?
I would like to supply my proc 4 board with Zn-air coin cell batteries, but the inrush current is too big to be supplied by the batteries.
I'm also implementing all the power modes, but it obviously starts in active mode.
Do you think that starting from a low oscillator speed and then arrive to a full-frequency speed should be a good programming strategy?
Any hint is highly appreciated.
Thank you in advice!
Cheers,
Andrea
Show LessHi!
I have 0 experience about coding/programming, but I'd want to try this out.
I've recently purchase the CY8CKIT-042-BLE and followed the Quick Start Guide that was included in the kit itself.
However, I can't seem to connect the BLE dongle (CY5670 CySmart USB Dongle) to the BLE Pioneer Baseboard preloaded with CY8CKIT-142 PSoC 4 BLE Module even after following the instructions on the quick start guide - which was to connect the dongle to my laptop's USB port, insert the 3V coin cell into the baseboard, and then press SW2 on both the dongle and baseboard.
There's no blue LED flashing on the dongle, but the LED on the baseboard (LED 3) keeps on flashing a red light. (the LED 3 on the baseboard starts flashing red light the moment there's a power supply (battery/USB))
Any help would be greatly appreciated!!
Thanks 🙂
Show LessI am attempting to configure the ADCSAR on my CYBLE022001-00 module to monitor battery voltage. I will need to run it in differential mode as my Vcc is slightly less than 3.30v, and I need to detect a battery voltage range from 4.20v to 2.5v.
Just looking for guidance on pin configuration and setup.
Show Less