C# Class com.ReinforceLab.iPhone.Controls.AlphaRexRemoteController.BTStackWrapper

Exibir arquivo Open project: reinforce-lab/com.ReinforceLab.MonoTouch.Controls Class Usage Examples

Public Methods

Method Description
IsCommandCompleteEvent ( byte packet, HCICommands command ) : bool
readBt16 ( byte buffer, int pos ) : UInt16
readBt24 ( byte buffer, int pos ) : UInt32
readBt32 ( byte buffer, int pos ) : UInt32

Private Methods

Method Description
bt_close ( ) : int
bt_open ( ) : int
bt_register_packet_handler ( BtStackPacketCallback handler ) : void
bt_send_cmd ( HCICommands &cmd, Byte arg1, byte arg2, byte arg3, UInt16 arg4 ) : int
bt_send_cmd ( HCICommands &cmd, UInt32 arg1, byte arg2, byte arg3 ) : int
bt_send_cmd ( HCICommands &cmd, byte arg1 ) : int
run_loop_execute ( ) : void
run_loop_init ( RUN_LOOP_TYPE type ) : void

Method Details

IsCommandCompleteEvent() public static method

public static IsCommandCompleteEvent ( byte packet, HCICommands command ) : bool
packet byte
command HCICommands
return bool

readBt16() public static method

public static readBt16 ( byte buffer, int pos ) : UInt16
buffer byte
pos int
return System.UInt16

readBt24() public static method

public static readBt24 ( byte buffer, int pos ) : UInt32
buffer byte
pos int
return System.UInt32

readBt32() public static method

public static readBt32 ( byte buffer, int pos ) : UInt32
buffer byte
pos int
return System.UInt32