Component: WLAN (EB069-00-2, RN171) (RN171) (Wireless)
| Author | Matrix Ltd. | 
| Version | 1.1 | 
| Category | Wireless | 
Contents
WLAN (EB069-00-2, RN171) component
Wireless LAN component designed to work with the RN171 module from Microchip. Provides a very simple interface to allow webpages to be hosted from hardware or simulation. Also available in the form of the EB069-00-2 E-block.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WLAN-RN171_Dummy.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WLAN-RN171_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Simple playback example - allows a wav file to be streamed out using PWM. Repeats the playback in a loop.
Simple recording example - allows a wav file to be recorded from a microphone connected to an ADC input pin. Records for approx 10 seconds.
Macro reference
|   | SendString | 
| Sends the given Text. Appends a CR/LF pair of characters it CrLf is true. | |
|  - STRING | Text | 
|  - BYTE | CrLf | 
|  - VOID | Return | 
|   | SendCommand | 
| Sends the given command and returns the reply status. (See GetReply for return values) | |
|  - STRING | Command | 
|  - BYTE | Return | 
|   | ReceiveIncoming | 
| Returns the received data string | |
|  - STRING | Return | 
|   | CheckForPageRequests | 
| To be called periodically. Returns non-zero if a request has been processed | |
|  - BYTE | Return | 
|   | ReadConnectionStatus | 
| Checks the connection status. Returns 0 if not connected, 1 if connected. | |
|  - BYTE | Return | 
|   | SetOutValue | 
| Set the value of an outbound substitution string | |
|  - BYTE | index | 
|  - STRING | value | 
|  - VOID | Return | 
|   | EnterCommandMode | 
| Attempts to leave data mode and enter command mode | |
|  - VOID | Return | 
|   | DisableCommandMode | 
| Exits command mode | |
|  - VOID | Return | 
|   | GetInValue | 
| Returns the string value of a Request parameter | |
|  - BYTE | index | 
| Index of the request paramter, starting at zero. | |
|  - STRING | Return | 
|   | ConnectToSSID | 
| Attempts to connect to the given SSID and Key values. Returns 0 if successful. | |
|  - STRING | SSID | 
|  - STRING | Key | 
|  - BYTE | Return | 
|   | GetReply | 
| Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT | |
|  - BYTE | Return | 
|   | Initialise | 
| Initialise the device with the property data. Returns 0 if successful | |
|  - BYTE | Return | 
Property reference
|   | Properties | 
==Macro reference==
|   | SendString | 
| Sends the given Text. Appends a CR/LF pair of characters it CrLf is true. | |
|  - STRING | Text | 
|  - BYTE | CrLf | 
|  - VOID | Return | 
|   | SendCommand | 
| Sends the given command and returns the reply status. (See GetReply for return values) | |
|  - STRING | Command | 
|  - BYTE | Return | 
|   | ReceiveIncoming | 
| Returns the received data string | |
|  - STRING | Return | 
|   | CheckForPageRequests | 
| To be called periodically. Returns non-zero if a request has been processed | |
|  - BYTE | Return | 
|   | ReadConnectionStatus | 
| Checks the connection status. Returns 0 if not connected, 1 if connected. | |
|  - BYTE | Return | 
|   | SetOutValue | 
| Set the value of an outbound substitution string | |
|  - BYTE | index | 
|  - STRING | value | 
|  - VOID | Return | 
|   | EnterCommandMode | 
| Attempts to leave data mode and enter command mode | |
|  - VOID | Return | 
|   | DisableCommandMode | 
| Exits command mode | |
|  - VOID | Return | 
|   | GetInValue | 
| Returns the string value of a Request parameter | |
|  - BYTE | index | 
| Index of the request paramter, starting at zero. | |
|  - STRING | Return | 
|   | ConnectToSSID | 
| Attempts to connect to the given SSID and Key values. Returns 0 if successful. | |
|  - STRING | SSID | 
|  - STRING | Key | 
|  - BYTE | Return | 
|   | GetReply | 
| Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT | |
|  - BYTE | Return | 
|   | Initialise | 
| Initialise the device with the property data. Returns 0 if successful | |
|  - BYTE | Return | 
Property reference
|   | Properties | 
==Macro reference==
|   | SendString | 
| Sends the given Text. Appends a CR/LF pair of characters it CrLf is true. | |
|  - STRING | Text | 
|  - BYTE | CrLf | 
|  - VOID | Return | 
|   | SendCommand | 
| Sends the given command and returns the reply status. (See GetReply for return values) | |
|  - STRING | Command | 
|  - BYTE | Return | 
|   | ReceiveIncoming | 
| Returns the received data string | |
|  - STRING | Return | 
|   | CheckForPageRequests | 
| To be called periodically. Returns non-zero if a request has been processed | |
|  - BYTE | Return | 
|   | ReadConnectionStatus | 
| Checks the connection status. Returns 0 if not connected, 1 if connected. | |
|  - BYTE | Return | 
|   | SetOutValue | 
| Set the value of an outbound substitution string | |
|  - BYTE | index | 
|  - STRING | value | 
|  - VOID | Return | 
|   | EnterCommandMode | 
| Attempts to leave data mode and enter command mode | |
|  - VOID | Return | 
|   | DisableCommandMode | 
| Exits command mode | |
|  - VOID | Return | 
|   | GetInValue | 
| Returns the string value of a Request parameter | |
|  - BYTE | index | 
| Index of the request paramter, starting at zero. | |
|  - STRING | Return | 
|   | ConnectToSSID | 
| Attempts to connect to the given SSID and Key values. Returns 0 if successful. | |
|  - STRING | SSID | 
|  - STRING | Key | 
|  - BYTE | Return | 
|   | GetReply | 
| Returns the last received response to a command. 0 = OK 1 = FAIL_ERR 2 = STX_ERR 3 = CMD_ERR 4 = PARAM_ERR 5 = ETX_ERR 6 = SERIAL 255 = TOUT | |
|  - BYTE | Return | 
|   | Initialise | 
| Initialise the device with the property data. Returns 0 if successful | |
|  - BYTE | Return | 
Property reference
|   | Properties | 

