質問編集履歴
2
コード一部修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -226,6 +226,8 @@
|
|
226
226
|
|
227
227
|
peripherals.append(peripheral)
|
228
228
|
|
229
|
+
connect()
|
230
|
+
|
229
231
|
}
|
230
232
|
|
231
233
|
|
1
ログの履歴を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -284,6 +284,24 @@
|
|
284
284
|
|
285
285
|
|
286
286
|
|
287
|
+
###セントラルのログ
|
288
|
+
|
289
|
+
[Central] [INF] init
|
290
|
+
|
291
|
+
[Central] [INF] BLE Power On
|
292
|
+
|
293
|
+
[Central] [INF] scan start
|
294
|
+
|
295
|
+
[Central] [DEB] isScanning == false in
|
296
|
+
|
297
|
+
[Central] [DEB] UUIDArray = [566F2065-450F-4633-0123-456789ABCDEF]
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
###該当ソースコード
|
304
|
+
|
287
305
|
```Swift5
|
288
306
|
|
289
307
|
// ペリフェラル側
|
@@ -536,7 +554,17 @@
|
|
536
554
|
|
537
555
|
```
|
538
556
|
|
539
|
-
|
557
|
+
### ペリフェラルのログ
|
558
|
+
|
559
|
+
[Peripheral] [INF] init
|
560
|
+
|
561
|
+
[Peripheral] [INF] bluetooth Success
|
562
|
+
|
563
|
+
[Peripheral] [INF] set Service and Characteristic
|
564
|
+
|
565
|
+
[Peripheral] [INF] Start Advetising
|
566
|
+
|
567
|
+
[Peripheral] [INF] Advertise Succeeded!
|
540
568
|
|
541
569
|
|
542
570
|
|