

Parses data in the buffer, assumes it is comming directly from the XBee. Note that XBeeAPI will not use the emitter to emit a parsed frame, but it's own emitter (see Event: 'frame_object').
XBEE SAMPLE MANAGER SERIAL
This can be passed to a serial reader such as serialport. Returns a parser function with the profile function(emitter, buffer). See Objects created from received API Frames for details on how the retured objects are specified. Note that the buffer must be a complete frame, starting with the start byte and ending with the checksum byte. Parses and returns a frame object from the buffer passed. The buffer only needs to contain up to the frame type segment to determine if it can be parsed, but parseFrame() will need a complete frame. Returns whether the library implements a parser for the frame contained in the provided buffer. See Creating frames from objects to write to the XBee for details on how these passed objects are specified. Returns an API frame (buffer) created from the passed frame object. In the following a documentation of all class methods. To get an instance xbeeAPI of the XBeeAPI class:
XBEE SAMPLE MANAGER SERIES
0xA5: Join Notification Status (ZigBee)Įnabling encryption with series 1 XBees / 802.15.4 devices causes some inexplicable problems - see Issue #12.0xA4: Register Joining Device Status (ZigBee).0xA3: Many-to-One Route Request Indicator (ZigBee).0xA2: Device Authenticated Indicator (ZigBee).
XBEE SAMPLE MANAGER UPDATE
0xA0: Over-the-Air Firmware Update Status (ZigBee).These (more esoteric) frame types have not been implemented yet, Open a new issue if you need something in particular: 0x95: Node Identification Indicator (AO=0) (ZNet, ZigBee).0x94: XBee Sensor Read Indicator (AO=0) (ZNet, ZigBee).0x92: ZigBee IO Data Sample Rx Indicator (ZNet, ZigBee).0x91: ZigBee Explicit Rx Indicator (AO=1) (ZNet, ZigBee).


