Dialog Semiconductor customer support - DISS Profile https://support.dialog-semiconductor.com/resource-keywords/diss-profile en 试验项目与侮辱概要文件编译模板t into errors. https://support.dialog-semiconductor.com/compiling-template-project-diss-profile-result-errors

Hi,
I'm following the User Manual: Software Development Guide (UM-B-003) and I was trying out Chapter 6: Addition of existing application code for profiles . In that Chapter, application code initialising and controlling the Device Information Service Server(DISS) role profile will be added to the application. I'm using the "template" project and I'm making the changes as given in steps 6.1 to 6.5. But the step 6.6: Application verification, in which it asks me to build the application, actually, FAILS. The errors during compilation are as follows:


...
...
compiling app.c...
compiling app_sec.c...
compiling app_sec_task.c...
compiling app_task.c...
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #20: identifier "DISS_CREATE_DB_CFM" is undefined
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #20: identifier "diss_create_db_cfm_handler" is undefined
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(67): error: #44: expression must have pointer type
{DISS_CREATE_DB_CFM, (ke_msg_func_t)diss_create_db_cfm_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #20: identifier "DISS_DISABLE_IND" is undefined
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #20: identifier "diss_disable_ind_handler" is undefined
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
.\..\..\..\..\src\modules\app\api\app_task_handlers.h(68): error: #44: expression must have pointer type
{DISS_DISABLE_IND, (ke_msg_func_t)diss_disable_ind_handler},
..\..\..\..\src\modules\app\src\app_task.c(375): error: #28: expression must have a constant value
const struct ke_state_handler app_default_handler =
E_STATE_HANDLER(app_default_state);
..\..\..\..\src\modules\app\src\app_task.c: 0 warnings, 7 errors
compiling app_template_proj.c...
compiling app_console.c...
compiling app_dis.c...
compiling app_dis_task.c...
".\out\template.axf" - 7 Error(s), 2 Warning(s).
Target not created.
Build Time Elapsed: 00:00:23

I've made several independent attempts, starting from the scratch, just to rule out any missing of steps in between, but on all those occasions the build step has failed with same errors.

Any help to fix these errors will be much appreciated.

Device: 
Fri, 10 Jul 2015 02:06:31 +0000 vikramtheone 1795年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/compiling-template-project-diss-profile-result-errors#comments