前のページ次のページ上に戻るホーム SophiaFramework 2.2
SFBBTSIOPort
SFBBTSIOPort インターフェイスのラッパークラスです。
#include <SFBBTSIOPort.hpp>
class SFBBTSIOPort : public SFBSource;
typedef SFBBTSIOPort&          SFBBTSIOPortRef;
typedef SFBBTSIOPort*          SFBBTSIOPortPtr;
typedef SFBBTSIOPort**         SFBBTSIOPortHandle;
typedef const SFBBTSIOPort     ConstSFBBTSIOPort;
typedef const SFBBTSIOPort&    ConstSFBBTSIOPortRef;
typedef const SFBBTSIOPort*    ConstSFBBTSIOPortPtr;
typedef const SFBBTSIOPort**   ConstSFBBTSIOPortHandle;

継承図

SFBBTSIOPort クラスの継承図

参照

BREW API IBTSIOPORT

バグ情報

IBTSIOPORT_Open
ドキュメント エラー BREW API リファレンス 2.0.1.5

BREW API リファレンス中には以下のように定義されていますが、

int32 IBTSIOPORT_Open
(
    IBTSIOPort *pIBTSIOPort,
    AEEBTConnectionInfo *pConnectInfo,
    AEECallback *pcb
)

正しくは下記のとおりです。

int32 IBTSIOPORT_Open
(
    IBTSIOPort *pIBTSIOPort,
    AEEBTConnectionInfo *pConnectInfo,
)

メンバ

パブリック関数
public
AddRef (SFBBase から継承) インターフェイスの参照カウントをインクリメントします。
public
static
Exhausted (SFBSource から継承) ISource、IPeek、または IGetLine がデータを処理し尽くしたかどうかをチェックします。
public
GetState Bluetooth ポートの現在の状態を返します。
public
static
Instance IBTSIOPort インターフェイスのインスタンスを取得します。
public
Open Bluetooth上のシリアルポートをオープンします。
public
QueryInterface (SFBQuery から継承) このオブジェクトからの別の API を問い合わせます。
public
Read (SFBSource から継承) 指定されたバッファにソースストリームからのバイトをコピーします。
public
Readable (SFBSource から継承) ISOURCE_Read()がISOURCE_WAIT以外のものを返した場合にコールされるコールバックをスケジュールまたはキャンセルします。
public
Release (SFBBase から継承) インターフェイスの参照カウントをデクリメントします。
public
Self (SFBQuery から継承) オブジェクトを単一インタフェースで実装する際に使用します。
public
Write 送信バッファにデータを追加します。
public
Writeable Bluetooth デバイスが再びデータ送信可能になったときにコールされる書き込みコールバックを登録します。

SFBBTSIOPort::GetState
Bluetooth ポートの現在の状態を返します。
[ public ]
SFCError GetState(Void);

参照

BREW API IBTSIOPORT_GetState


SFBBTSIOPort::Instance
IBTSIOPort インターフェイスのインスタンスを取得します。
[ public, static ]
SFUBrewPtr<SFBBTSIOPort> Instance(Void);

SFBBTSIOPort::Open
Bluetooth上のシリアルポートをオープンします。
[ public ]
SFCError Open(
    AEEBTConnectionInfo * pConnectInfo   
);

参照

BREW API IBTSIOPORT_Open | AEEBTConnectionInfo | AEECallback


SFBBTSIOPort::Write
送信バッファにデータを追加します。
[ public ]
SInt32 Write(
    VoidPtr pBuf   
    SInt16 size    nLen
);

参照

BREW API IBTSIOPORT_Write | SFBSource::Read


SFBBTSIOPort::Writeable
Bluetooth デバイスが再びデータ送信可能になったときにコールされる書き込みコールバックを登録します。
[ public ]
Void Writeable(
    AEECallback * pcb   
);

参照

BREW API IBTSIOPORT_Writeable