Create custom project for Keil uVision 5

4 posts / 0 new
Last post
DV
Offline
Last seen:4 years 11 months ago
加入:2015-10-09 17:13
Create custom project for Keil uVision 5

Hi,

I am using DA14580 based Basic EVM kit and till now I was using Proximity Reporter project. Now I want to make custom project of my own which should have similar functionalities as Proximity Reporter. Can someone please help me with that? Let me know if there is any guide already available for this. I am using SDK v5.0.3.

一个ppreciate your quick reply.

Thanks,
DV

Device:
MT_dialog
Offline
Last seen:1 week 2 days ago
工作人员
加入:2015-06-08 11:34
Hi DV,

Hi DV,

For adding a custom profile in your project you can use the app_ble_peripheral and the app_ble_profile projects located in the SDK5. The characteristics that they expose is the same with the difference that the _peripheral has some functionallity implemented. You can find some guidelines for using this profile in the UM-B-050 document in section 8 (Developing Bluetooth Low Energy Applications).

Thanks MT_dialog

DV
Offline
Last seen:4 years 11 months ago
加入:2015-10-09 17:13
Hi MT_dialog,

Hi MT_dialog,

Thanks for your reply.

一个ctually I want to create the whole custom project not only the custom profile. Please help me with that.

Thanks,
DV

MT_dialog
Offline
Last seen:1 week 2 days ago
工作人员
加入:2015-06-08 11:34
Hi DV,

Hi DV,

I suppose that you want to start from the template project and add a custom profile. All you have to do is to make a copy of the template folder and place the standards or the custom profiles you need in the user_profiles_config.h just by including them below the comment "/// Add below the profiles that the application....." after you ve done you have to configure your custom profile, for example if you want a profile same as the cust1 profile you can copy and paste the user_custs_config.h file in to your template.

In the user_custs_config.h file you can set the UUID's of your custom services and characteristics, the size of the values your characteristics will hold, any descriptors etc.

From the user_config.h file you can configure advertising string, interval, device name, device configuration, security (if you like) etc.

一个nother file that should be configured in a custom project is the user_callback_config. file where you can override the default functionallity of the template demo just by replacing the default callback with your custom callback.

For any other info needed you have to be more specific in order to help you.

Thanks MT_dialog