雷竞技电竞平台对话半导体客户支持-C++ https://support.dialog-semiconductor.com/resource-keywords/c en Use C++ https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-tools/use-c

Actual SDK 1.0.14

I want to use SmartSnippets and you SDK with a C++ project.

I have seen in your SDK header files, that there is no C++ Support (could be added by some simple preprocessor defines)

Do you plan to support C++ in your SDK or do you already have a solution for this?

Best regards

Dieter

Keywords: 
Device: 
Thu, 17 Oct 2019 19:48:30 +0000 Dieter Falk 327574 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-tools/use-c#comments
Using C++ https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-c
论坛:;
B.H.,BR/>我需要用对话框SDK来使用C++,但是我不能设置它。
我做的是遵循入门教程。所以我复制了ble\u adv示例。
然后添加了org.eclipse.cdt.core.ccnature到.Project文件,使之成为C++项目。
然后我修改C++链接器设置以匹配以前的C链接(如链接蓝牙库),并将Me.c文件改名为main.cpp.
完成后,它的编译和运行都很好。当我使用标准C++类的特性时,会出现问题。即使实例化空类也会使调试器在启动时停止,就好像固件正在崩溃一样。我尝试了一些方法来解决这个问题,比如重写新的操作符,使用OS的OLC++函数或者加倍ROM大小,但是都没有工作。我的编译器标志(使用Eclipse构建设置设置)是:
-mthumb-mthumb interwork-Og-g3-fmessage length=0-fsigned char-ffunction sections-fdata sections-ffrehending-fno move loop invariants-std=gnu++14-fno rtti-fno use cxa atexit-fno threadsafe statics-fno enforce eh specs-fexceptions-Xlinker-gc sections-Xlinker cref规范=nano.specs --规格=nosys.specs -v
我的Dialog SDK版本是1.0.14.1081

有什么提示吗?
提前感谢

关键字:;
2018年8月26日星期日15:13:49+0000 garzola 222704 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/using-c#comments UM-B-040 : DA1458x/68x Production Line Tool libraries https://support.dialog-semiconductor.com/resource/um-b-040-da1458x68x-production-line-tool-libraries < div class = "字段field-name-field-resource-description field-type-text-long field-label-hidden">

This document describes the libraries used in the Production Line Tool software application for Windows.

Supported devices: DA14580/581/582/583/585/586; and DA14680/681/682/683

These DLL libraries give the necessary APIs for validating and programming these devices in the factory production line.

Version date: 
24/10/2017
Version number: 
4.2
Tue, 27 Dec 2016 14:45:38 +0000 Dialog_HM 5133 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/resource/um-b-040-da1458x68x-production-line-tool-libraries#comments Mixing CPP and C with the sample code https://support.dialog-semiconductor.com/mixing-cpp-and-c-sample-code

Hi there,

we'd like to mix the sample code with our business logic, that is written in c++.
Any advice how to achieve that ?
We are a bit worried about the events not being delivered properly if we simply add c++.
[update]
if we are going to compile in C++ Code, that will be called by any bluetooth related method, will this work without any problem?
Method calls etc. are IMHO handled differently in C++
[/update]

thank you

Fabian

Keywords: 
Device: 
Thu, 24 Mar 2016 07:53:53 +0000 fabiankropp 3119 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/mixing-cpp-and-c-sample-code#comments