看板 MacDev 關於我們 聯絡資訊
※ 引述《bluerex100 (rex0710)》之銘言: 當第一次連上Bluetooth Peripheral時: 執行 [peripheral setNotifyValue:YES forCharacteristic:characteristic]; 可成功設定並會在didUpdateNotificationStateForCharacteristic收到註冊成功的訊息 當斷線時: 1.執行[peripheral setNotifyValue:NO forCharacteristic:characteristic]; 2.執行[cbCentralManager cancelPeripheralConnection:peripheral]; 可成功中斷連線 但若重新再連線時: 當執行[peripheral setNotifyValue:YES forCharacteristic:characteristic]; 卻無法在didUpdateNotificationStateForCharacteristic收到註冊訊息 請問是否有人遇過類似的問題? 該如何解決? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.75.164.165
man27382210:iOS哪一版的@@? 07/16 01:10
iOS 6.1 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.75.164.165