Hi there,
This document UM-B-038 is using the SDK 5 for the Serial Port Service. I am just curious, can I do SPS in SDK 3 instead? This is because I know how to create a profile in SDK 3 since there are documents for it whilst for SDK 5, there are only document for creating a custom profile. Thanks.
Device:
Hi There, please see Tutorial 2 & 3 on the tutorials section on the "documents" tab. These explain how to add custom profiles. We dont support the DSPS on SDk3, only on SDk5.
BR JE_Dialog
Hi herochua617,
Since the SDK5 is the most recent SDK that carries all the fixes and patches, this is what Dialog suggests in using, yes it is possible to backport the DSPS from SDK5 to SDK3 (as mention by JE this is not supported) but this will take you much longer to do so, than start learning using the custom profiles on SDK5 (which by the way are much more simpler than using the custom profiles from SDK3). If you would like my personal opinion you should start getting familiar with SDK5 and not with the SDK3, there are also documents for custom profiles in SDK5, apart from the tutorials mentioned, you can have a look at the UM-B-051_DA1458x_Software Platform Reference.pdf in Appendix D. Additionally in the SDK5 itself the projects app_ble_profile and app_ble_peripheral have examples in using the custom profile on SDK5.
Thanks MT_dialog
Hi MT_dialog,
如果我want to implement the heart rate profile in the SDK 5 instead of using the custom profile? Which documents should I refer to? I can copy the source file of hrps from SDK 3.
Thanks
Hi herochua617,
Please dont post questions on irrelevant topics, you can always create a new thread.
Regarding your question, yes you can implement the hrp profile on SDK5 you need to include the profile layer hrps.c and hrps_task.c and then you need to create the app_hrps.c/.h and app_hrps_task.c/.h in order to interface with the profile level. Please check for some quidelines in the FAQ, in the Software Implementation section "How can i add a profile to my project when there isn't an implementation on application level ?".
Thanks MT_dialog
Thanks. It helps.