PSoC™ 4 Forum Discussions
Hi all,
Just wondering if anyone has had any success porting Elm-chan's FatFS SD card file system library (http://elm-chan.org/fsw/ff/00index_e.html) to a PSoC 4. This is my first attempt at porting low level code like this and I'm a little lost, I'd love it if anyone could share any example source code they may have for my reference.
Thanks.
Show LessI've been trying to make Cyble_GapClearResolvingList() work for a lot of days and just can't get it to do anything other than return apiResult = 2, which means Invalid Operation, which seems to be returned for one of four condidtions: 1) translation is enabled in the controller, 2) Advertising is enabled, 3) Scanning is enabled, 4) Create connection command is outstanding.
The code involved is attached. The Cyble_GapClearResolvingList() call is about 15 lines from the bottom of the page.
The purpose of the attached code is to store bonding, whitelist and resolving data if the RemoveDeviceFlag is not set. If it is set, it should clear the whitelist, bonded devices list and resolving list. It all seems to work except the call to clear the resolving list.
I'd really appreciate two things: First, that some kind person would take a look at this code and tell me what I'm doing wrong and how to fix it. Second, that, if possible, you not simply tell me to look at the documentation or an example, because I've spent many hours doing just that without success.
Many thanks for your kind consideration,
Dennis
Show LessI'm using CyBle_GapRemoveBondedDevice(clearAllDevices), where clearAllDevices
= {{0,0,0,0,0,0},0}; Problem is that I am always getting an apiresult = 2 (CYBLE_ERROR_INVALID_OPERATION). According to the documentation, this can result from either a pending flash write or whitelist already in use. I've eliminated the first so it seems that it's telling me that the whitelist is already in use. How can I get it to NOT already be in use?
One post said to call api, RemoveDeviceFromWhitelist first. However, information from Cypress engineering says not to use this (soon to be obsolete) api since CyBle_GapRemoveBondedDevice clears both the bonded devices list and the whitelist.
Thanks for any advice you can offer,
Dennis
Message was edited by: Dennis Coburn to clarify the question.
Show LessI'm using user FLASH row to store some information on device testing, so the first image that is loaded onto the PSOC4 should erase that user info. Is there a way to add that option to the *.hex file that you use with the Cypress programmer?
All I can see on erasing user FLASH is using the CLI function, but I need something done in one step for manufacturing.
Show LessWe have a remote control consumer product that must actuated via a Bluetooth small receiver module.
We seek support from Cypress Developer Community to locate an engineer competent to create an original PSoC® 4 BLE design.
The Bluetooth signal will be transmitted from a mobil phone App.
Our company HQ is located in San Jose.
Show LessI am planning to design water tolerance circuit & using cypress controller CY8C4246AZI-L445 for capsense buttons....
I want to design guard sensor for the circuit....overall circuit area is 400mm x 140mm.......I want to know the track thickness for guard sensor......In some documents i got the reference of 2.5mm thick track....but is there any consideration according to circuit size????
Show LessTo all,
I have place a Windows PC terminal source code in C# on the Code sharing forum.
PC Terminal Program with C# Source Code
Enjoy,
Len
Show LessTo all,
I have place a Windows PC terminal source code in C# on the Code sharing forum.
PC Terminal Program with C# Source Code
Enjoy,
Len
Show LessHello,
I'm looking for some guidance in how the authentication process through passkey works.
I have found some examples showing the peripheral side, like this one: PSoC4-MCU-BLE-Connectivity-Designs/BLE_Continuous_Glucose_Monitoring_Sensor at master · cypresssemiconductorco/PSoC4-MCU…
My application covers both peripheral and central devices. I'd like to know what the central device central should do regarding authentication events and functions.
Actually what I'm trying to accomplish is to make my peripheral devices connect only to my centrals, and vice versa. Both of them do not have a keyboard or display, so I'm planning to use a part of their BLE MAC address as passkey.
Is it possible to do so using just PSoC's BLE native functions? Is there any example around regarding authentication showing both sides (peripheral and central)?
Cheers,
Yuri
Show Less