cancel
Showing results for 
Search instead for 
Did you mean: 

ModusToolbox Bluetooth SDK

MiRo_263836
Contributor II

I found that I needed to the following system .h files when I created an new .c file

#include "wiced_hal_gpio.h"               // to read and write gpio with the GPIO APIs

#include "wiced_hal_pspi.h"               // to use the SPI APIs

#include "wiced_rtos.h"                      // for the RTOS Delay function

#include "wiced_bt_trace.h"               // for the debug UART

That made me wonder what I am missing.  Is there a document or location that has all the system .h files and explains there use and / or requirements?

Thanks,

Mike Roberts

0 Likes
Reply
1 Solution
SheetalJ
Moderator
Moderator

No Mike, there is no other document which has all .h files listed. You will have to check for the files in WICED SDK or Modus Toolbox itself.

View solution in original post

0 Likes
Reply
5 Replies
SheetalJ
Moderator
Moderator

Hi Mike,

Can you let me know which Cypress product you are using?

Accordingly I can point you towards the correct documents.

0 Likes
Reply
MiRo_263836
Contributor II

I use quite a few different ones.  Currently, I am using the CYW920819EVB-02 and the CYBT-213043-MESH.  

0 Likes
Reply
SheetalJ
Moderator
Moderator

You can refer API reference doc in Modus Toolbox \ModusToolbox_1.1\libraries\bt_20819A1-1.0\docs\BT-SDK\20819-A1_Bluetooth\API\index.html

If you are using a particular functionality, ex GPIO, then you will be accessing WICED API/functions available for the same and will have to include header file for that from the library. Here you will need to include wiced_hal_gpio.h.

For other WICED BT/BLE devices like CYW20706, CYW2-0719, we have API reference documents available on Cypress Community, for example- API Reference: WICED Studio 6.2.1 (CYW20719)

0 Likes
Reply
MiRo_263836
Contributor II

I use the API.html a lot.  That doesn't really answer my question.  Is there a list of all the .h files for the system available with descriptions somewhere.  Is it somewhere in the API.html documentation? 

SheetalJ
Moderator
Moderator

No Mike, there is no other document which has all .h files listed. You will have to check for the files in WICED SDK or Modus Toolbox itself.

View solution in original post

0 Likes
Reply