雷竞技电竞平台Dialog半导体客户支持-iOS https://support.dialog-semiconductor.com/resource-keywords/ios en DA14580 Dialog Serial Port Service Source Code https://support.dialog-semiconductor.com/resource/da14580-dialog-serial-port-service-source-code < div class = "字段field-name-field-resource-description field-type-text-long field-label-hidden">

The Serial Port Service (SPS) emulates a serial cable communication. It provides a simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth® Smart. The SPS software distribution includes the application and profile source codes. It is intended for DA14580 to any othe Dialog Semiconductor Bluetooth device supporting DSPS or DA14580 to Android/iOS based systems. iOS and Android apps are available.

Version date: 
03/08/2018
Version number: 
5.150.2
Fri, 03 Aug 2018 08:09:10 +0000 malam 214464 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/resource/da14580-dialog-serial-port-service-source-code#comments
DA1468x Dialog Serial Port Service Source Code https://support.dialog-semiconductor.com/resource/da1468x-dialog-serial-port-service-source-code < div class = "字段field-name-field-resource-description field-type-text-long field-label-hidden">

The Dialog Serial Port Service (DSPS) emulates a serial cable communication. It provides a simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth® Smart. The DSPS software distribution includes the application and profile source codes. It is based on a patched version of the 68x SDK1.0.12.

Version date: 
23/03/2018
Version number: 
1.160.2
星期五,2018年3月23日14:17:43 + 0000 ben.lauret 164177在https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/resource/da1468x-dialog-serial-port-service-source-code#comments
DA14583 Source Code Error https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14583-source-code-error
论坛:;
Dialog Smartbond Bluetooth低能耗–软件摘要字段标签隐藏的字段类型文本“>

嗨,我在尝试为iOS平台运行更新的源代码时遇到错误。
没有修改源代码中的任何内容。

除了打开Sensor Fusion页面外,一切正常。打开该页后,它将冻结,并显示以下错误。
以下是打印到Xcode中命令行的内容。

=====================================================================================
主线程检查器:在后台线程上调用的UI API:-[UIView setNeedsDisplay]
PID:6667,TID:2264582,线程名称:(none),队列名称:苹果根目录.默认qos,QoS:21
回溯:
4对话框\u IoT ios 0x000000010403594c-[GLModelView setModel:+140
5对话框\u IoT ios 0x0000000104028170 \u 35-[TeapotViewController viewDidLoad]\u块\u调用+388
6libdispatch.dylib文件0x00000001056d12cc调度呼叫块释放+24
7libdispatch.dylib文件0x00000001056d128c_调度客户呼叫+16
8libdispatch.dylib文件0x00000001056dd3dc\u调度\u队列\u覆盖\u调用+984
9libdispatch.dylib文件0x00000001056e29d0\u调度\u根\u队列\u排出+624
10libdispatch.dylib文件0x00000001056e26f4调度工线程3+136
11 libsystem_pthread.dylib文件0x0000000185c0f06c\u pthread\u wqthread+1268

12 libsystem系统_pthread.dylib文件0x0000000185c0eb6c start\u wqthread+4
2018-03-13 18:11:56.476348+0800 dialog\u IoT\u ios[6667:2264582][reports]主线程检查器:在后台线程上调用的UI API:-[UIView setNeedsDisplay]
PID:6667,TID:2264582,线程名称:(无),队列名称:苹果根目录。默认qos,qos:21
回溯:
4个对话框\u IoT \u ios 0x000000010403594c-[GLModelView setModel:]+140
5个对话框\u IoT \u ios 0x0000000104028170\u 35-[TeapotViewController viewDidLoad]\u block \u invoke+388
6libdispatch.dylib文件0x00000001056d12cc调度呼叫块释放+24
7libdispatch.dylib文件0x00000001056d128c\u调度\u客户端\u调出+16
8libdispatch.dylib文件0x00000001056dd3dc\u调度\u队列\u覆盖\u调用+984
9libdispatch.dylib文件0x00000001056e29d0\u调度\u根\u队列\u排出+624
10libdispatch.dylib文件0x00000001056e26f4调度工线程3+136
11 libsystem_pthread.dylib文件0x0000000185c0f06c\u pthread\u wqthread+1268
12 libsystem_pthread.dylib文件0x0000000185c0eb6c开始\u wqthread+4
2018-03-13 18:11:56.561553+0800对话框\u IoT \u ios[6667:2264582]-[AGXA11FamilyCommandBuffer renderCommandEncoderWithDescriptor:],第114行:错误“命令编码器已编码到此命令缓冲区”
-[AGXA11FamilyCommandBuffer renderCommandEncoderWithDescriptor:]:114:失败的断言“命令编码器已编码到此命令缓冲区”

关键词:;
设备:;
Tue, 13 Mar 2018 10:17:58 +0000 pureform 159863年https://support.dialog-semiconductor.com https://support.dialog semiconductor.com/forums/post/dialog smartbond蓝牙低能耗-%E2%80%93软件/da14583源代码错误#注释 IoT\u iOS源代码问题2 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/iotios-source-code-issue-2

I heard from your team that your team already has an updated source code in place but waiting for QA.
Is it possible to share just the updated version of these 2 files instead?
- GyroscopeSensorViewController.h
- GyroscopeSensorViewController.m

I'm having issues writing an updated version with Swift on my own, with the source code as reference.
I don't need the complete source code. Just the mentioned files would do.
This is very urgent for our project. Any help would be greatly appreciated.

Device: 
Mon, 12 Feb 2018 17:32:13 +0000 pureform 149165 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/iotios-source-code-issue-2#comments
IoT\u iOS源代码问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/iotios-source-code-issue
论坛:;
Dialog Smartbond Bluetooth低能耗–软件摘要字段标签隐藏的字段类型文本“>

我正在用Swift 4构建一个新项目,参考源代码。
我遇到了一个用Objective C编写的部分。
我想知道如何用Swift编写该部分。任何帮助都将得到极大的感谢。

UInt8 reportID,sensorState,sensorEvent;
[[数据子数据WithRange:NSMakeRange(0,1)]getBytes:&;报表ID长度:1];
[[数据子数据WithRange:NSMakeRange(1,1)]getBytes:传感器状态(&S)长度:1];
[[数据子数据WithRange:NSMakeRange(2,1)]getBytes:&sensorEvent长度:1];

int16_t x,y,z;
[[数据子数据WithRange:NSMakeRange(3,2)]获取字节:&x长度:2];
[[数据子数据WithRange:NSMakeRange(5, 2) ]获取字节(&y)长度:2];
[[数据子数据WithRange:NSMakeRange(7,2)]获取字节:&z长度:2];

float x,y,z;
x=(float)x/16.4f;
y=(float)y/16.4f;
z=(float)z/16.4f;

lastValueX=x;
lastValueY=y;
lastValueZ=z;

rotateX+=(lastValueX)/自转率;
旋转+=(上一个值)/自转率;
旋转Z+=(lastValueZ)/自转率;

//NSLog(@“ROT%.2f%.2f%.2f=>;%.2f%.2f%.2f(%d)”,lastValueX,lastValueY,lastValueZ,rotateX,rotateY,rotateZ,自转率);

FLog(@“GYR\t%.2fdeg\t%.2fdeg\t%.2fdeg”,x/自转率是的/自转率, _z轴/自转率);

isDirty=TRUE;

关键词:;
设备:;
Mon, 12 Feb 2018 17:06:52 +0000 pureform 149160 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/iotios-source-code-issue#comments DA14585 Dialog Serial Port Service Source Code https://support.dialog-semiconductor.com/resource/da14585-dialog-serial-port-service-source-code < div class = "字段field-name-field-resource-description field-type-text-long field-label-hidden">

The Serial Port Service (SPS) emulates a serial cable communication. It provides a simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth® Smart. The SPS software distribution includes the application and profile source codes. It is intended for DA14585 to any othe Dialog Semiconductor Bluetooth device supporting DSPS or DA14585 to Android/iOS based systems. iOS and Android apps are available.

Version date: 
24/11/2017
Version number: 
6.150.2
2017年11月24日星期五14:59:57+0000 FvD\U对话框 117712 athttps://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/resource/da14585-dialog-serial-port-service-source-code#comments DSPS iOS App Crashes (iOS 9.0.2) https://support.dialog-semiconductor.com/dsps-ios-app-crashes-ios-902

I have been using the DSPS app on iOS (iPhone 5S) for quite a while with no problems. The past day or so, though, it starts up, then crashes within a couple of seconds. The 9.0.x iOS updates have been pushed recently, though I'm not sure that that is the root problem. Seems fishy that the app stops working only when there's an OS update.

I'm going to try Android and see how it goes. I'm sure that will work fine.

Anyone else noticing this problem?

Keywords: 
Device: 
2015年10月1日星期四18:04:33+0000 joe.brackman 2074 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/dsps-ios-app-crashes-ios-902#comments