iOS Bluetooth を使用する場合は、次のようにコーディングします。
static NSString * const kServiceUUID = @"1802";
[self.manager scanForPeripheralsWithServices:@[ [CBUUID UUIDWithString:kServiceUUID] ] options:@{CBCentralManagerScanOptionAllowDuplicatesKey : @NO }];
なぜ応答がないのですか?メソッド scanForPeripheralsWithServices でさまざまな種類のパラメーター ペアを試しました。次の質問を確認しました: 利用可能な Bluetooth デバイスのリストを取得する方法は?
私のデバイスは、iOS 6 を搭載した iPod touch 5 (jailbroken) です。すでにいくつかの Bluetooth 4.0 デバイスをテストしています。誰でも理由を教えてもらえますか?