Packagefunnel
Classpublic class XBee
InheritanceXBee Inheritance IOSystem Inheritance flash.events.EventDispatcher

XBeeクラスはDigi InternationalのXBeeシリーズを扱うためのクラスです。



Public Properties
 PropertyDefined by
 InheritedautoUpdate : Boolean
出力ポートを手動で更新する場合はfalseにします。
IOSystem
  MULTIPOINT : Configuration
[static][read-only] XBee 802.15.4用のコンフィギュレーションを取得します。
XBee
 InheritedsamplingInterval : int
サンプリング間隔
IOSystem
  ZB : Configuration
[static][read-only] XBee ZB ZigBee PRO用のコンフィギュレーションを取得します。ただし、D6、D8とD9はモジュールの仕様によりアクセスできません
XBee
Public Methods
 MethodDefined by
  
XBee(nodes:Array = null, config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)
XBee
 Inherited
ioModule(moduleNum:uint):IOModule
moduleNumで指定した番号のI/Oモジュールを取得します。
IOSystem
 Inherited
sendSysex(moduleNum:uint, command:uint, sysexMessage:Array):void
IOSystem
 Inherited
update():void
全ての出力ポートの値を更新します。通常、autoUpdateをfalseに設定して利用します。
IOSystem
Events
 EventSummaryDefined by
 Inherited  IOSystem
 Inherited  IOSystem
 Inherited  IOSystem
 Inherited  IOSystem
 Inherited  IOSystem
Protected Constants
 ConstantDefined by
 InheritedI2C_POWER_PINS_STARTUP_TIME : uint = 500
[static]
IOSystem
Property detail
MULTIPOINTproperty
MULTIPOINT:Configuration  [read-only]

XBee 802.15.4用のコンフィギュレーションを取得します。

Implementation
    public static function get MULTIPOINT():Configuration
ZBproperty 
ZB:Configuration  [read-only]

XBee ZB ZigBee PRO用のコンフィギュレーションを取得します。ただし、D6、D8とD9はモジュールの仕様によりアクセスできません

Implementation
    public static function get ZB():Configuration
Constructor detail
XBee()constructor
public function XBee(nodes:Array = null, config:Configuration = null, host:String = "localhost", portNum:Number = 9000, samplingInterval:int = 33)

Parameters
nodes:Array (default = null) — 利用するモジュールのID配列
 
config:Configuration (default = null) — コンフィギュレーション
 
host:String (default = "localhost") — ホスト名
 
portNum:Number (default = 9000) — ポート番号
 
samplingInterval:int (default = 33) — サンプリング間隔(ms)