CySmart uses a CySmart BLE dongle to emulate a GAP central device. In addition to the easy to use GUI, it also provides C# APIs to communicate with the dongle. To use the CySmart APIs, please add reference to the CySmart DLLs in your test application project. The DLL can be located in the CySmart installation directory at this location: <Installation Directory>\Cypress\CySmart\<CySmart version>\bin. For more details, please refer to documentation provided at: <Installation Directory>\Cypress\CySmart\<CySmart version>\documentation.
To get started with CySmart C# APIs, please refer to sample project provided in response #4 here.
Thanks for your response.
I had previously looked at the suggested API document online - however it
does not mention bootloaders, or OTA updates so therefore I suspect the API
does not have these features implemented. Is there a way for someone to
verify what I am saying is correct?
You need to use the Bootloader Host Core APIs which are located at the PSoC Creator installation folder- C:\Program Files (x86)\Cypress\PSoC Creator\4.2\PSoC Creator\cybootloaderutils for adding the OTA Bootloader functionality in your application. The protocols for implementing the Bootloader Host can be found from the below link -
http://www.cypress.com/file/137036/download (Page#32 and onwards)
You can also find the CySmart Bootloader DLLs from the CySmart installation location - C:\Program Files (x86)\Cypress\CySmart\1.2\bin but we recommend to create your own DLLs for your application.
Page 32 onwards outlines the bootloader protocol using a phycial I2C bus.
What I am looking for is the method involved when using *Bluetooth Low
Energy, Over the Air OTA* to do the update, which is a different thing is
it not?. Sorry, am I missing something?
On Mon, Sep 3, 2018 at 4:11 PM Gyan Chand <firstname.lastname@example.org>
The communication channel between the Bootloader Host and the target device could be UART/I2C /SPI / Bluetooth Low Energy (BLE) or Any custom protocol but the communication flow, packet structure for a new image upgrade will be same as described at the page #32 onward. You have to provide the communication channel in your app.
We do not share CySmart Desktop App ( Build in C# API) but we share CySmart Android and iOS app which can be found at below link and has OTA functionality implemented , might be helpful for understanding the concept in details.