The DIS Profiles in DSPS program no PASS in BQB certification

5 posts / 0 new
Last post
Lane
Offline
Last seen:1 week 9 hours ago
加入:2015-07-14 14:21
The DIS Profiles in DSPS program no PASS in BQB certification

Hi Dialog
DIS(Device Information Service) profiles is include in DSPS3.15.2?
I have ask some question of profile for BQB :
http://support.dialog-semiconductor.com/qdio-da14580
and you tell me that “ The DSPS profile is a custom profile by dialog other than that the DIS profile is also used in the project.”
but when I take it to BQB profile certification,it was failed. Is the DSPS Include the DIS profile ?

Device:
MT_dialog
Offline
Last seen:1 month 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Lane,

Hi Lane,

Sorry about that, i just had a look in a fresh project, the DSPS project includes the DSPS profile (a propriety profile that is created by dialog), the DIS profile is not included in the project as is, its included in the SDK, is seperate profile and must be included separetly. In order to add the DISS profile in the DSPS application please follow the below steps:

1) add to the app folder of the SDK the app_dis.c and app_dis_task.c

2) make the nessecary inclusions for the above files.

3) add the diss.c and diss_task.c in the profiles section.

4) add a #define CFG_PRF_DISS in the da14580_config

5) in the app_db_init_func add the following lines in the switch case statement.

case (APP_DIS_TASK):
{
美联社p_diss_create_db_send();
}break;

6) in the app_connection_func add app_dis_enable_prf(app_env.conhdl);

compile and download the code and you should see the diss service in your ble receiver. If a profile is included in the project in the SDK3 you can check it by the profile implementation in the app folder, by the databases that are initialized in the app_db_init_func(), and by the enabled profiles in the connection function.

Thanks MT_dialog

Lane
Offline
Last seen:1 week 9 hours ago
加入:2015-07-14 14:21
Error: L6218E: Undefined

Error: L6218E: Undefined symbol app_diss_create_db_send (referred from app_sps_device_project.o).
the app_diss_create_db_send define in which file?

MT_dialog
Offline
Last seen:1 month 4 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Lane,

Hi Lane,

Actually its a typo its not app_diss_create_db_send() but app_dis_create_db_send() the function is located in the app_dis.c file. You can also check the UM-B-003.pdf in section 6 how you can add profiles to your project, actually it adds the DISS service.

Thanks MT_dialog

Lane
Offline
Last seen:1 week 9 hours ago
加入:2015-07-14 14:21
Thank you , It successfully

Thank you , It successfully added

Topic locked