ble_hello_sensor Unresolved Symbols Error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
CoCo_1816446
Level 4
Level 4
25 replies posted 10 replies posted 5 replies posted

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
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi CoCo_1816446​,

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

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