cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

CoCo_1816446
New Contributor II

I noticed that in ble_hello_sensor.c has multiple unresolved symbol errors. The errors are shown in the IDE but don't create an error when compiling. I'm just trying to find out what is causing the IDE to say there's a problem even though the program compiles just fine.

For example, when you scroll over "GATT_CONNECTION_STATUS_EVT" the IDE shows "Symbol 'GATT_ATTRIBUTE_REQUEST_EVT' could not be resolved". However, "GATTS_REQ_TYPE_CONF" does not have this error even though they both come from the same file (wiced_bt_gatt.h).

From ble_hello_sensor.c:

GATT_CONNECTION_STATUS_EVT.PNG

GATT_REQ_TYPE_CONF.PNG

So far as I can tell the only difference is the way each enum is defined.

enum for "GATTS_REQ_TYPE_CONF":

     enum wiced_bt_gatt_request_type_e {    

          GATTS_REQ_TYPE_READ = 1,       

          GATTS_REQ_TYPE_WRITE,          

          GATTS_REQ_TYPE_PREP_WRITE,     

          GATTS_REQ_TYPE_WRITE_EXEC,     

          GATTS_REQ_TYPE_MTU,            

          GATTS_REQ_TYPE_CONF,            

     };

     typedef uint8_t wiced_bt_gatt_request_type_t;

enum for "GATT_CONNECTION_STATUS_EVT":

     typedef enum {    

          GATT_CONNECTION_STATUS_EVT,

          GATT_OPERATION_CPLT_EVT,                               

          GATT_DISCOVERY_RESULT_EVT,                             

          GATT_ATTRIBUTE_REQUEST_EVT                             

          GATT_DISCOVERY_CPLT_EVT,                           

     } wiced_bt_gatt_evt_t;

I know it's not a big deal since the program compiles fine but the OCD side of me would really like to know why this is happening. I would appreciate it if someone could explain the reason for these errors and how I can get rid of them.

System Details:

OS:                           Windows 10 64-bit

IDE:                          WICED Studio 6.4

WICED platform:      43xxx_Wi-Fi

Dev Kit:                    CY8CKIT-062-WiFi-BT

0 Likes
2 Replies
SheetalJ
Moderator
Moderator

Hi CoCo_1816446​,

These warnings are generated by Eclipse and completely harmless. I will check if there is any way to avoid such warnings.

CoCo_1816446
New Contributor II

SheetalJ_96 I understand they're harmless. I would like to know why they are being generated and how I may avoid them. I'm trying to get a deeper understanding of the system.

0 Likes