質問編集履歴

3

訂正箇所を修正しようとしたら全て消してしまったため改めて記載

2019/11/27 02:59

投稿

saku_panda
saku_panda

スコア20

test CHANGED
File without changes
test CHANGED
@@ -148,6 +148,10 @@
148
148
 
149
149
  private let ID_UUID: CBUUID = CBUUID(string: "ID_UUID")
150
150
 
151
+ private let ID_property: CBCharacteristicProperties = [.notify,.write,.read]
152
+
153
+ private let ID_permission: CBAttributePermissions = [.readable,.writeable]
154
+
151
155
 
152
156
 
153
157
  ......

2

訂正箇所のしゅうせい

2019/11/27 02:59

投稿

saku_panda
saku_panda

スコア20

test CHANGED
File without changes
test CHANGED
@@ -148,10 +148,6 @@
148
148
 
149
149
  private let ID_UUID: CBUUID = CBUUID(string: "ID_UUID")
150
150
 
151
- let ID_property: CBCharacteristicProperties = [.notify,.write,.read]
152
-
153
- let ID_permission: CBAttributePermissions = [.writeable]
154
-
155
151
 
156
152
 
157
153
  ......

1

characteristicのpropertypermissionを追加

2019/11/27 02:57

投稿

saku_panda
saku_panda

スコア20

test CHANGED
File without changes
test CHANGED
@@ -148,6 +148,10 @@
148
148
 
149
149
  private let ID_UUID: CBUUID = CBUUID(string: "ID_UUID")
150
150
 
151
+ let ID_property: CBCharacteristicProperties = [.notify,.write,.read]
152
+
153
+ let ID_permission: CBAttributePermissions = [.writeable]
154
+
151
155
 
152
156
 
153
157
  ......