Slide 42
Slide 42 text
-$"1ʹΑΔํ௨৴
J04 "OESPJE
-$"1௨৴༻ͷ
$IBOOFMΛ༻ҙ͢Δ
CBPeripheralManager#publis
hL2CAPChannel(withEncrypti
on:)
BluetoothAdapter#listenUsin
gL2capChannel()
14.ͱ͍͏൪߸͕͍ग़
͞ΕΔ
CBPeripheralManagerDelegat
e#peripheralManager(_:didPu
blishL2CAPChannel:error:)
BluetoothServerSocket#
getPsm()
1FSJQIFSBMଆͰ͍ग़͞Ε͍ͯΔ
14.Λࢦఆ͠ɺ
-$"1$IBOOFMͷΦʔϓϯΛߦ͏
CBPeripheral#openL2CAPChannel(_:)
BluetoothDevice#
createL2capChannel(psm)
BluetoothSocket#connect()
-$"1$IBOOFM͕Φʔϓ
ϯ͞Εͨ͜ͱΛ͓ޓ͍ݕ͢Δ
CBPeripheralDelegate#peripheral(_:did
Open:error:)
CBPeripheralManagerDelegate.periphe
ralManager(_:didOpen:error:)
BluetoothServerSocket#acc
ept()
ํ௨৴ ޙड़ ޙड़