Component: Zigbee (EB051, XBEE) (XBEE) (Wireless)
From Flowcode Help
Jump to navigationJump to search| Author | Matrix Ltd. | 
| Version | 1.5 | 
| Category | Wireless | 
Contents
- 1 Zigbee (EB051, XBEE) component
- 2 Component Source Code
- 3 Detailed description
- 4 Examples
- 5 Macro reference
- 5.1 ConnectFromLibrary
- 5.2 ConnectToAddress
- 5.3 ConnectToAll
- 5.4 ConnectToCoordinator
- 5.5 ConnectToName
- 5.6 EnterCommandMode
- 5.7 ExitCommandMode
- 5.8 GetATResponse
- 5.9 GetSignalLevel
- 5.10 InitNetwork
- 5.11 MIAC_Module_GetData
- 5.12 MIAC_Module_Message
- 5.13 MIAC_Module_PushData
- 5.14 NodeConfigureSleep
- 5.15 NodeWake
- 5.16 ReadATResponse
- 5.17 ReadAddressFromBuffer
- 5.18 ReadNameFromBuffer
- 5.19 ReceiveChar
- 5.20 RestartNetwork
- 5.21 ScanBuffer
- 5.22 ScanNetwork
- 5.23 SendATCommand
- 5.24 SendChar
- 5.25 StoreParams
 
- 6 Property reference
Zigbee (EB051, XBEE) component
Zigbee component designed to work with the XBEE range of modules from Digi. Provides a very simple interface to allow Zigbee mesh networks and communications. Also available in the form of the EB051 Zigbee E-block. Can also be used with Zigbee MIAC Addon module
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Zigbee.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Zigbee.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ConnectFromLibrary
|   | ConnectFromLibrary | 
| Attempts to connect the data channel to a known device on the network. | |
|  - BYTE | Mode | 
|  - BYTE | Device | 
|  - BYTE | Return | 
ConnectToAddress
|   | ConnectToAddress | 
| Attempts to connect the data channel to a specific device address on the network. | |
|  - STRING | Address | 
|  - BYTE | Return | 
ConnectToAll
|   | ConnectToAll | 
| Attempts to connect the data channel to all devices on the network. | |
|  - BYTE | Return | 
ConnectToCoordinator
|   | ConnectToCoordinator | 
| Attempts to connect the data channel to the network coordinator node. | |
|  - BYTE | Return | 
ConnectToName
|   | ConnectToName | 
| Attempts to connect the data channel to a named device on the network. | |
|  - STRING | Name | 
|  - BYTE | Return | 
EnterCommandMode
|   | EnterCommandMode | 
| Moves from data mode into command mode by sending the special characters | |
|  - VOID | Return | 
ExitCommandMode
|   | ExitCommandMode | 
| Returns from command mode to allow data to be sent and received | |
|  - VOID | Return | 
GetATResponse
|   | GetATResponse | 
| Waits for a response from the Zigbee module. If the Logging parameter is set then the response is stored in memory allowing the software to read the reply. | |
|  - BYTE | Logging | 
|  - BYTE | Return | 
GetSignalLevel
|   | GetSignalLevel | 
| Returns the signal strength of the last signal received | |
|  - BYTE | Return | 
InitNetwork
|   | InitNetwork | 
| Initialises the Zigbee module and attempts to setup or join the network | |
|  - VOID | Return | 
MIAC_Module_GetData
|   | MIAC_Module_GetData | 
|  - BYTE | Index | 
|  - BYTE | Return | 
MIAC_Module_Message
|   | MIAC_Module_Message | 
|  - UINT | CAN_ID | 
|  - UINT | CMD_ID | 
|  - BYTE | Return | 
MIAC_Module_PushData
|   | MIAC_Module_PushData | 
|  - BYTE | Data | 
|  - VOID | Return | 
NodeConfigureSleep
NodeWake
|   | NodeWake | 
| Wakes up the local Zigbee module from sleep mode. | |
|  - VOID | Return | 
ReadATResponse
|   | ReadATResponse | 
| Reads a single byte from the received AT command response. | |
|  - BYTE | idx | 
| Specified the byte index in the buffer. Range 0-15 | |
|  - BYTE | Return | 
ReadAddressFromBuffer
|   | ReadAddressFromBuffer | 
| Reads a byte from a 16-bit Zigbee device address | |
|  - BYTE | Device | 
|  - BYTE | Idx | 
|  - BYTE | Return | 
ReadNameFromBuffer
|   | ReadNameFromBuffer | 
| Returns a byte from the 8-Byte name | |
|  - BYTE | Device | 
| The Device name to collect. Range: 0-7 | |
|  - BYTE | Idx | 
| The index position of the name. Range: 0-7 | |
|  - BYTE | Return | 
ReceiveChar
|   | ReceiveChar | 
| Attempt to receive a byte from the Zigbee module. | |
|  - BYTE | nTimeout | 
|  - BYTE | Return | 
RestartNetwork
|   | RestartNetwork | 
| Attempts to restart the network | |
|  - VOID | Return | 
ScanBuffer
|   | ScanBuffer | 
| Returns a binary list of matched identifier names | |
|  - STRING | Compare_Str | 
|  - BYTE | Length | 
|  - BYTE | Return | 
ScanNetwork
SendATCommand
|   | SendATCommand | 
| Transmits a string of values to the Zigbee module. | |
|  - STRING | Command | 
| Transmits a command to the Zigbee module followed by a carriage return | |
|  - VOID | Return | 
SendChar
|   | SendChar | 
| Transmits a byte value to the Zigbee module. | |
|  - BYTE | Byte | 
| Data byte to transmit. Range 0-255 | |
|  - VOID | Return | 
StoreParams
|   | StoreParams | 
| Stores the current register set into the Zigbee module's non volatile memory | |
|  - VOID | Return | 








