cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

Hi,


first of all: CySmart 1.3 works with CY5677 without any problems...

BUT: I try to scan bt-devices with the "api_examples" from "cysmart.zip"-package.

This example contains these DDL's.
cybleautobase.dll V1.0.0.0

cyblecommonbase.dll V1.0.0.0

cybledonglecommunicator.dll V1.2.0.122


With a CY5670 (BT4.1) the scanner.exe works fine. (scan and found devices...)

With a CY5677 (BT4.2) the scanner.exe aborted with "Not a valid CySmart dongle!"

The Firmware should be up to date. (see attachments)

Is there a more "current" api-example?

Are the DDL's sufficient for this example with CY5677?
What .Net-Framework is recommended? (under Win10, VS2017)


Please help
Thomas

0 Likes
Reply
1 Solution
DheerajK_81
Moderator
Moderator

This is because you are using the old DLLs which come with CySmart 1.2. Please copy the following DLLs from the path "C:\Program Files (x86)\Cypress\CySmart\1.3\bin" and paste it in the "...\...\api_examples\import" directory:

#1: cybleautobase.dll

#2: cyblecommonbase.dll

#3: cybledonglecommunicator.dll

Now open the project in Visual Studio and make sure you set the Platform Target to "x86" in the properties section of the project. Now run the application and it will work.

Regards,

Dheeraj

View solution in original post

1 Reply
DheerajK_81
Moderator
Moderator

This is because you are using the old DLLs which come with CySmart 1.2. Please copy the following DLLs from the path "C:\Program Files (x86)\Cypress\CySmart\1.3\bin" and paste it in the "...\...\api_examples\import" directory:

#1: cybleautobase.dll

#2: cyblecommonbase.dll

#3: cybledonglecommunicator.dll

Now open the project in Visual Studio and make sure you set the Platform Target to "x86" in the properties section of the project. Now run the application and it will work.

Regards,

Dheeraj

View solution in original post