Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650
Tool/software: Code Composer Studio
Dear Sir or Madam,
In the course of my development of BLE Services for the LaunchPad CC2650 I use the Bluetooth Developer Studio of Bluetooth Inc. with the necessary plugin as well as the BLE Stack 2.2.0.
For my development purposes I would like to use three GPIO as Input with Read and Notificate marked as Mandatory
For this I set INPIN as a property according to the Simple Link Academy tutorial. If I now try to integrate the generated code into the Code Composer Studio, the following error messages appear. These have proven to do with the property INPIN, since the error does not appear with INBUTTON.
"../Application/project_zero.c", line 497: error # 20: identifier "user_DigitalInputService_clockSwiHandler" is undefined
"../Application/project_zero.c", line 1849: error # 20: identifier "Liquid" is undefined
"../Application/project_zero.c", line 1849: error # 167: too few arguments in function call
"../Application/project_zero.c", line 1849: error # 18: expected a ")"
"../Application/project_zero.c", line 1856: error # 167: too few arguments in function call
"../Application/project_zero.c", line 1856: error # 18: expected a ")"
"../Application/project_zero.c", line 1863: error # 167: too few arguments in function call
"../Application/project_zero.c", line 1863: error # 18: expected a ")"
The affected lines are the following automatically created code using the Bluetooth Developer Studio:
switch (pinId)
{
case IOID_27:
// Send message to application that it should update the value of the characteristic from Task context.
user_enqueueCharDataMsg(APP_MSG_UPDATE_CHARVAL, 0xFFFF,
DIGITAL_INPUT_SERVICE_SERV_UUID,
Liquid error: TypeError_Liquid error: TypeError_ID,
&pinVal, 1);
break;
case IOID_28:
// Send message to application that it should update the value of the characteristic from Task context.
user_enqueueCharDataMsg(APP_MSG_UPDATE_CHARVAL, 0xFFFF,
DIGITAL_INPUT_SERVICE_SERV_UUID,
Liquid error: TypeError_Liquid error: TypeError_ID,
&pinVal, 1);
break;
case IOID_29:
// Send message to application that it should update the value of the characteristic from Task context.
user_enqueueCharDataMsg(APP_MSG_UPDATE_CHARVAL, 0xFFFF,
DIGITAL_INPUT_SERVICE_SERV_UUID,
Liquid error: TypeError_Liquid error: TypeError_ID,
&pinVal, 1);
break;
}
clockParams.arg = DIS_IN1_ID;
Clock_construct(&dis_IN1_clock,
user_DigitalInputService_clockSwiHandler,
0,
&clockParams);
clockParams.arg = DIS_IN2_ID;
Clock_construct(&dis_IN2_clock,
user_DigitalInputService_clockSwiHandler,
0,
&clockParams);
clockParams.arg = DIS_IN3_ID;
Clock_construct(&dis_IN3_clock,
user_DigitalInputService_clockSwiHandler,
0,
&clockParams);
Could you please help me? The best thing to do without making any direct changes to the C code is to specify the possible steps in the Bluetooth Developer Studio, if possible. Thank you!
----------------------------
Edit:
If you set the text: Liquid error: TypeError_Liquid error: TypeError_ID, to 1, then there isn't the Syntax error. Therfore i get a Linker Error. user_generic_clockSwiHandler(DATA_SERVICE_SERV_UUID, paramID); had no Declaration.
---------------------------
Edit 2:
Bluetooth Developer Studio INPIN Error.zipBDS Project with Plugin Code Output added