Public Member Functions | |
| XBeeResponse ($response) | |
| getSignalStrength () | |
| getNodeId () | |
| getStatus () | |
| isOk () | |
| getCmd () | |
Public Member Functions inherited from _XBeeFrameBase | |
| setFrame ($frame) | |
| getFrame () | |
| setFrameId ($frameId) | |
| getFrameId () | |
| setApiId ($apiId) | |
| getApiId () | |
| setCmdData ($cmdData) | |
| getCmdData () | |
| setStartByte ($startByte) | |
| getStartByte () | |
| setAddress16 ($address16) | |
| getAddress16 () | |
| setAddress64 ($address64) | |
| getAddress64 () | |
| setOptions ($options) | |
| getOptions () | |
| setCmd ($cmd) | |
| getCmd () | |
| setValue ($val) | |
| getValue () | |
Data Fields | |
| const | REMOTE_RESPONSE_ID = '97' |
| const | LOCAL_RESPONSE_ID = '88' |
| RX16 = '81' | |
| $address64 | |
| $status | |
| $cmd | |
| $nodeId | |
| $signalStrength | |
Data Fields inherited from _XBeeFrameBase | |
| const | DEFAULT_START_BYTE = 0x7e |
| const | DEFAULT_FRAME_ID = 0x01 |
| const | REMOTE_API_ID = 0x17 |
| const | LOCAL_API_ID = 0x08 |
| const | QUEUED_API_ID = 0x09 |
| const | TX_API_ID = 0x10 |
| const | TX_EXPLICIT_API_ID = 0x11 |
| $frameId | |
| $apiId | |
| $cmdData | |
| $startByte | |
| $address16 | |
| $address64 | |
| $options | |
| $cmd | |
| $val | |
Protected Attributes | |
| $address16 | |
| $status_bytes = array() | |
Protected Attributes inherited from _XBeeFrameBase | |
| $frame | |
Additional Inherited Members | |
Protected Member Functions inherited from _XBeeFrameBase | |
| _XBeeFrameBase () | |
| _assembleFrame () | |
| _calcChecksum ($data) | |
| _getFramelength ($data) | |
| _hexstr ($hex) | |
| _strhex ($str) | |
| _packBytes ($data) | |
| _unpackBytes ($data) | |
Definition at line 393 of file XBeeFrame.php.
| getCmd | ( | ) |
| getNodeId | ( | ) |
| getSignalStrength | ( | ) |
Gets signal strength in dB
Definition at line 537 of file XBeeFrame.php.
| getStatus | ( | ) |
Returns status. If you want boolean use isOk
00 = OK 01 = Error 02 = Invalid Command 03 = Invalid Parameter 04 = No Response
Definition at line 588 of file XBeeFrame.php.
| isOk | ( | ) |
| XBeeResponse | ( | $response | ) |
Constructor. Sets up an XBeeResponse
| String | $response | A single frame of response from an XBee |
Definition at line 403 of file XBeeFrame.php.
|
protected |
Definition at line 395 of file XBeeFrame.php.
| $address64 |
Definition at line 395 of file XBeeFrame.php.
| $cmd |
Definition at line 395 of file XBeeFrame.php.
| $nodeId |
Definition at line 395 of file XBeeFrame.php.
| $signalStrength |
Definition at line 395 of file XBeeFrame.php.
| $status |
Definition at line 395 of file XBeeFrame.php.
|
protected |
Definition at line 396 of file XBeeFrame.php.
| const LOCAL_RESPONSE_ID = '88' |
Definition at line 394 of file XBeeFrame.php.
| const REMOTE_RESPONSE_ID = '97' |
Definition at line 394 of file XBeeFrame.php.
| RX16 = '81' |
Definition at line 394 of file XBeeFrame.php.
1.8.6