BluetoothServer

概要

Bluetooth接続するコンポーネントです。こちらは受信側のコンポーネントです




Properties

  • CharacterEncoding
    • 受信した文字列をエンコードするときにどの文字コードを使うかを設定することができます。

  • DelimiterByte


  • HighByteFirst


  • Secure




Blocks


when型
whenBluetoothServerConnectionAccepteddo.png when BluetoothServer.ConnectionAccepted
do
受信可能状態になった時に実行されます。受信可能状態はcall BluetoothSever.AcceptConnectonブロックから呼び出して実行することができます


call型
callBluetoothSeverAcceptConnecton.png call BluetoothSever.AcceptConnecton
serviceName
受信可能状態にすることができます


callBluetoothServerAcceptConnectionWithUUID.png call BluetoothServer.AcceptConnectionWithUUID
serviceName
uuid
 


callBluetoothServerBytesAvailableToReceive.png call BluetoothServer.BytesAvailableToReceive
 


callBluetoothServerDisconnect.png call BluetoothServer.Disconnect
接続状態を切断します


callBluetoothServerReceiveSigned1Bytenumber.png call BluetoothServer.ReceiveSigned1Bytenumber
 


callBluetoothServerReceiveSigned2Bytenumber.png call BluetoothServer.ReceiveSigned2Bytenumber
 


callBluetoothServerReceiveSigned4Bytenumber.png call BluetoothServer.ReceiveSigned4Bytenumber
 


callBluetoothServerReceiveSignedBytes.png call BluetoothServer.ReceiveSignedBytes
numberOfBytes
 


callBluetoothServerReceiveTextnumberOfBytes.png call BluetoothServer.ReceiveText
numberOfBytes
 


callBluetoothServerReceiveUnsigned1Byte.png call BluetoothServer.ReceiveUnsigned1Byte
 


callBluetoothServerReceiveUnsigned2Byte.png call BluetoothServer.ReceiveUnsigned2Byte
 


callBluetoothServerReceiveUnsigned4Byte.png call BluetoothServer.ReceiveUnsigned4Byte
 


callBluetoothServerReceiveUnsignedBytes.png call BluetoothServer.ReceiveUnsignedBytes
numberOfBytes
 


callBluetoothServerSend1ByteNumber.png call BluetoothServer.Send1ByteNumber
number
 


callBluetoothServerSend2ByteNumber.png call BluetoothServer.Send2ByteNumber
number
 


callBluetoothServerSend4ByteNumber.png call BluetoothServer.Send4ByteNumber
number
 


callBluetoothServerSendByteslist.png call BluetoothServer.SendBytes
list
 


callBluetoothServerSendBytestext.png call BluetoothServer.SendBytes
text
 


callBluetoothServerStopAccepting.png call BluetoothServer.StopAccepting
 



set型
set BluetoothServer.CharacterEnCoding to 受け取った文字列をどの文字コードでエンコードするかを設定する。設定値はテキスト。
set BluetoothServer.DelimliterByte to  
set BluetoothServer.HighByteFirst to  
set BluetoothServer.Secure to  

値型
BluetoothServer.Availabele Bluetoothがその端末で使用できるかどうかをtrueかfalseで返す。
BluetoothServer.CharacterEnCoding 受け取った文字列をどの文字コードでエンコードするかを取得する。返り値はテキスト。
BluetoothServer.DelimliterByte  
BluetoothServer.Enabled Bluetooth接続が有効になっているかどうかをtrueかfalseで返します。
BluetoothServer.HighByteFirst  
BluetoothServer.IsAccepting Bluetoothが受信可能状態かどうかをtrue・falseの値で返します
BluetoothServer.IsConnected Bluetoothがアプリ上で接続されているかどうかをtrue・falseの値で返します
BluetoothServer.Secure  
BluetoothServer AnyConmponentで使うブロックです




  • 最終更新:2015-03-08 21:44:34

このWIKIを編集するにはパスワード入力が必要です

認証パスワード