Type Symbol 'HANDLE_HSENS_BATTERY_SERVICE' could not be resolved

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

cross mob
XiaoPing_Yang
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

Hi  Sir,

      I have installed Winced studio 6.2 ,when I build hello_sensor, there are some errors ,eg.

DescriptionResourcePathLocationType
Symbol 'HANDLE_HSENS_BATTERY_SERVICE' could not be resolvedhello_sensor.c/20706-A2_Bluetooth/apps/demo/hello_sensorline 190Semantic Error

  How to correct it?

  Thanks.

1 Solution
ShengY_96
Employee
Employee
10 sign-ins 5 sign-ins Welcome!

Hi Xiapping

The HANDLE_HSENS_BATTERY_SERVICE = 0x60, can be found in hello_sesor.h.

And I believe the error is post in tap of "Problems" as bellow, right? If so, just ignore it as the project's build result is showed in tap of "Console" logs: like"Build Finished" means build success.

Error.PNG

View solution in original post

2 Replies
ShengY_96
Employee
Employee
10 sign-ins 5 sign-ins Welcome!

Hi Xiapping

The HANDLE_HSENS_BATTERY_SERVICE = 0x60, can be found in hello_sesor.h.

And I believe the error is post in tap of "Problems" as bellow, right? If so, just ignore it as the project's build result is showed in tap of "Console" logs: like"Build Finished" means build success.

Error.PNG

Thank you very much!

0 Likes