Home
Aurel XTR-WiFi
Contents
1. Ui EL RELeEss5S XTR WIFI User Guide 650201320G Aurel XTR WIFi User Guide A aac M on Ei rS MO wrN f INNS a KJ T r l L fc Aurel XTR WiFi interface manages a Wi Fi TCP IP connection with no need for complex stack operations by the user after an initial configuration It automatically connects to a WiFi infrastructure Access Point with its own IP address providing the native serial protocol encapsulated in a TCP IP packet for remote application usage XTR WiFi incorporates in a single interface all the functions normally required for a CPU host TCP IP stack Wi Fi client server configuration DHCP or static IP address assignment network MAC address assignment Features WiFi Security WEP WPA WPA2 supported DHCP client module s IP set by DHCP server or static configuration DNS client IP address retrieving from symbolic name by DNS server PING Connectivity test towards other network nodes ICMP protocol SCAN Specific command provided to scan for available Access Points Smart Config Texas Instruments tool to configure modules via smart devices avoiding user commands gt TCP Server Mode Default configuration to listen for incoming connection UART local notifications transparent data transfer modality gt TCP Client Mode Remote server connection transparent data transfer modality gt mbDNS Advertiser Periodic multicast DNS packet for specific browsers VVVVV V
2. Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 1 of 21 http www aurelwireless com email rfcomm aurel it AUREL WIRELESS XTR WIFI User Guide 650201320G Overview XTR WiFi is an integrated module complaint to IEEE 802 11b g supporting WLAN connection for infrastuctured networks based on IPv4 TCP IP protocol A sample PC application c H Remote Server ustomer Host XTR WiFi It can be configured as a client in order to connect to a remote server or as server listening for incoming connection At startup module is in command mode and through a simple AT command set the customer host can configure it and start the data exchange entering in data mode Once connection is established serial data UART or SPI are encapsulated in TCP IP packets and are available for the remote host that can use them at application level extracting them from TCP packets in a transparent way An escape sequence is provided to close data connection and return to command mode A sample PC application has been developed in Visual Basic 2010 Express NET Framework 4 0 in order to provide a reference example for remote applications client or server to exchange data with XTR WiFi Whole project and source code are
3. also if SmartConfig is used During SmartConfig procedure the security key is passed unencrypted from smart device to XTR WiFi module At the following startup XTR WiFi will try to connect automatically to the same Access Point remembering last connection parameters Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 13 of 21 http www aurelwireless com email rfcomm aurel it AUREL RELeEs S XTR WIFI User Guide 650201320G AT DSCN XTR WiFi disconnects from the current Access Point In case it was already disconnected an apposite message is produced Diagnostic AT IPC Interrogate XTR WiFi to read all current Wi Fi connection parameters module IP Address Gateway current SSID and MAC address Informations are correctly retrieved if the module is connected to an Access Point otherwise various 0 fields are reported In this case SSID reported is the last used by the module Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546
4. does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 16 of 21 http www aurelwireless com email rfcomm aurel it AUREL RELeEs S XTR WIFI User Guide 650201320G Data transmission AT CLNT IP Address Port Number Connect XTR WIiFi as a client to a remote socket indicated by server IP address and port number If connection is successful XTR WiFi passes to data mode otherwise an error message is reported Errors are reported within 60 seconds form the connection attempt Pay attention that remote server is not protected by a firewall to avoid systematic connection failures Similarly to AT PING command if a DNS server is correctly configured it is possible to specify a symbolic name instead of the explicit IP address DNS server resolve symbolic name replacing it with the correspondent device IP address and show it If XTR WiFi is in data mode up to 61 byte at a time are sent to remote node no special characters are used apart the sequence that switch to command mode pay attention to avoid this sequence while exchange application data After about 60 seconds from the last transmitted data connection automatically shut down to free resources and the module return to command mode If remote server is a XTR WIiFi it also automatically sh
5. 941660 pag 14 of 21 http www aurelwireless com email rfcomm aurel it AUREL RELeEs S S XTR WIFI User Guide 650201320G AT PING IP Address Ping ICMP protocol a remote host to test network connectivity Four 56 byte packets are sent to the remote host and afterwards a report is produced In case a DNS server is available it s possible to specify a symbolic name instead of the explicit IP address DNS server s IP is the last parameter given in a manual specified configuration command AT CONF otherwise is automatically returned by the Access Point at the connection if DHCP modality is choosen A local DSN server resolve symbolic name replacing it with the correspondent device IP address If XTR WiFi has access to the Internet a public DNS server like OpenDNS 208 67 222 222 resolve also IP addresses of domain name resources If DNS server is not properly configured or is not available a specific error code is returned Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 15 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELeEs XTR WIFI User Guide 650201320G AT MDNS MyDevice mDNS multicast DSN is a host name resolution service
6. that uses same semantics as DNS within networks that do not include a local name server AT MDNS command set a custom name for XTR WiFi and broadcast a relative mDNS packet on the network so as happens for DNS is possible to associate a specified symbolic name to the IP address mDNS protocol is implemented by Apple Bonjour and Linux nss mdns services and informations can be retrieved using apposite mDNS browsers for example Discovery or mDNS Watch for iOS and Bonjour Browser or ZeroConf Browser both exampled for Android Anyway if the module is connected to an Access Point about every 10 seconds an AurelWiFi default mDNS message is automatically broadcasted through the network to inform remote nodes about the presence of an XTR WiFi module ZeroConf Browser AurelWiFi target local 1234 YOP _DEVICE INFO AurelWiFi 192 168 0 9 _device info _udp local target local 123 TXTRecord dev CC3000 dev CC3000 vendor Jexas nstruments vendor Texas Instruments If the module is not connected to an Access Point is not possible to send mDNS informations and an apposite message is returned At the end of the SmartConfig procedure is precisely a mDNS packet with the default name AurelWiFi that notify to the App that procedure has been successfully completed 4 oe ses i http en wikipedia org wiki Multicast_DNS Technical features are subject to change without notice AUREL S p A
7. 0x13 is detected at the end of the string When a command is sent to module without carriage return at the end string is processed anyway after about 3 milliseconds from last received character If a command is unrecognized an appropriate message is returned Basics Escape Sequence To return to command mode after a data transfer it is necessary to send a sequence at the beginning of a new data packet XTR WiFi indicate the switch of modality and implicitly that previous active connection has been closed Pay attention to avoid the sequence while exchanging application data because it involves at any time a connection closing Sending a simple AT command with no arguments XTR WiFi answers just to check UART communication For each example RealTerm serial terminal has been used http realterm sourceforge net Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 8 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELeEs XTR WIFI User Guide 650201320G Communication Communication parameters are hierarchically more important than connection ones though they regards only the second stage of the network join For this reason use
8. available for users and developers Suggested Applications WiFi connectivity for home appliances M2M communications for industrial monitoring and control Patient monitoring and medical instrumentation Home and building automation Energy Control s Yh A Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 2of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELeEs S S XTR WIFI User Guide 650201320G Mechanical Characteristics 45 mm 4 gt 11 mm a Pin1 Pin1 WLU zZ NOWOD A daii 4mm 2mm XTR WiFi is accessible by a 2mm pitch strip Strip can be provided straight or in 90 version in order to meet mechanical requirements of the final application By default an integrated PIFA antenna is embedded in the module If necessary a UFL connector equipped module can be provided it results in a different size in order to use an external antenna This solution should be used when the module is enclosed in a metallic case or whenever radio conditions do not allow an acceptable budget link Pinout Tx output from XTR WiFi if used by UART 3 SPMS OAR T SPI MOSI oe for XTR WiFi if used by SPI 4 SPI CLK PIN SPI dock ee eae IN Active lo
9. e protected against short circuits Maximum allowed voltage variations is 2 7 3 6V 2 Provide voltage decoupling near the transmitter with a ceramic capacitor of at least 100 nF Ground Ground must surround in the best possible way the transceiver welding area The ground plane should be on the lower side and there must be no integrated circuits near the antenna in order to avoid coupling Other components 1 Keep the device away at least 5mm from all other components on the circuit 2 Keep microprocessors and their clock circuits particularly far away and shielded Reference Standards The XTR WiFi modules comply with the European standards EN 300 228 and EN 301 489 with maximum power supply of 3 6V The product has been tested according to EN 60950 and can be used inside a special housing that ensures compliance with the above mentioned regulations The device must be powered by a low voltage safety source protected against short circuits The use of the module is foreseen inside housings that assure the overcoming of standards EN 61000 not directly applicable to the module itself In particular it is the user s care isolation antenna as the RF output of the transmitter is not able to support directly the electrostatic charges foreseen by the standard EN 61000 4 2 Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via For
10. e data to transmit the client call to release the connection the server accept and both client and server can free resources for reuse in further connections client sending data server receiving data client receiving data server sending data Its much important to release resources in a connection oriented protocol so in order to prevent A failures on receiving release requests i e if the j transmission channel fall usually a timeout for each side unilaterally close the communication after a given time from the last data exchanged CloseSocket Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 7 of 21 http www aurelwireless com email ricomm aurel it AUK EL RELeEs XTR WIFI User Guide 650201320G AT Commands At start up a welcome string is reported to customer host It indicates the firmware version currently loaded on the module 0 3 1 24 in this case and that XTR WiFi is on and ready to accept commands In fact at startup XTR WiFi is in command mode so can accept commands trough serial interface the command set is the same using either UART or SPI interface Any command is parsed and interpreted by XTR WiFi when a carriage return
11. ly to the XTR WiFi using SPI interface driving properly SPI CLK pin 4 SPI CS pin 10 and SPI MOSI pin 3 in this case input for the XTR WiFi lines In this case SPI MISO line is ignored In both cases data are supposed to be stable and should be sampled on the rising edge of SPI CLK The most significant bit of any byte is transmitted first Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 6 of 21 http www aurelwireless com email ricomm aurel it UKEL RELESS XTR WIFI W i User Guide 650201320G TCP IP basic concepts Two logical steps are necessary to have a working device on a WiFi network 1 Connection to the physical infrastructure device should be recognized by the infrastructure manager an Access Point in the case of WiFi that sort data packets from each node of the network to the others through the physical transmission medium available a 2 4GHz radio channel 2 Acquisition of communication parameters once the device is able to physically exchange data with other nodes in the network it s necessary that it be identifiable by an address in order to be reached from the other nodes of the same network Identification parameters depends by the network protocol in this ca
12. mail rfcomm aurel it AUK EL RELeEs S S XTR WIFI User Guide 650201320G Serial interfaces For user data transmit XTR WiFi is equipped with both UART and SPI serial interfaces The choice between the two is done by a dedicated pin UART SPI If logical level is high or due to the internal pull up pin is unconnected UART is used if logical level is low SPI is activated UART SPI value is read at startup so it is necessary to reset the module after a switch from using a serial interface to the other one UART settings 19200 bps Data bits a Stop bits i Flow control None TTL levels for UART lines are required SPI features In SPI mode XTR WiFi act as a slave Both cases with data available from master or form slave are explained gt Data available from XTR WIFi Slave XTR WiFi raises SPI IRQ line pin 2 Master should activate SPI interface signals SPI CLK pin 4 and SPI CS pin 10 and read all data from SPI MISO line pin 9 in this case output for XTR WiFi until SPI IRQ is lowered SPI IRQ is lowered at the beginning of the second last byte transmission so pay attention to read the whole available packet In this phase SPI MOSI line is ignored In order to avoid spurious activation of SPI IRQ signal a pull down resistor is recommended on this pin Note that XTR WiFi gets stuck until all available data from master are properly read gt Data available from Master Master can write direct
13. more some N network mode Access Points sets by default channel bandwidth at 40MHz wide mode it s recommended to choose standard 20MHz channel bandwidth Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 10 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELeEs XTR WIFI User Guide 650201320G AT CONN SecurityLevel Ssid lt SecurityKey gt With this command is possible to instruct XTR WiFi to connect to an Access Point specifying its infrastructure parameters each is needed lt SecurityKey gt is optional SecurityLevel gt UNSEC no security open access point no encryption gt WEP Wired Equivalent Privacy 64bit key encryption gt WPA Wi Fi Protected Access dynamic 128bit key encryption gt WPA2 Wi Fi Protected Access II 256bit key encryption SSID Service Set IDentifier commonly called the network name SecurityKey omitted for unsecured connections for WEP connections key should be composed only of ASCII characters When the connection is established an apposite message is given from XTR WiFi Than the module start network join negotiation obtaining an IP address from the Access Point according to the previous defined modalit
14. nflicts allocating static IP Addresses i e the same Address to multiple nodes it can compromise network functionalities IP settings are also stored in non volatile memory to be preserved after a reboot Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 9of 21 http www aurelwireless com email rfcomm aurel it AUREL RELeEs XTR WIFI User Guide 650201320G AT DHCP Instruct node to retrieve IP configuration from a DHCP server DHCP is the default IP assignment mode for XTR WIiFi If the module was connected to an Access Point AT DHCP command force disconnection from current network in order to perform the requested operation If DHCP mode is chosen but no DHCP server is provided XTR WiFi can get stuck waiting for IP address assignment pay attention to avoid this condition Infrastructure connection AT SCAN With this command is possible to force XTR WiFi to perform a scan for available WiFi networks in the area For each network SSID RSSI value and security encryption type are reported In case of no network is detected an appropriate message is produced Pay attention that all desired SSID name are visible some Access Points can hide it in their settings Further
15. o dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 4 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELESS XTR WIFI User Guide 650201320G User interfaces XTR WiFi is equipped with buttons and LEDs on board that allow users to directly interact with the module Led 3 communication Led 2 infrastructure SmartConfig u Led 1 SmartConfig Data SmartConfig SmartConfig procedure manual start connected to pin 6 Button 1 unused Button RST XTR WiFi reset connected to pin 11 RST j Blink during SmartConfig procedure and switch on when it s complete Turn off when XTR WiFi enters in data mode module ready to exchange data with a remote node and blink when data are effectively exchanged Infrastructure Infrastructure ready switched on at XTR WiFi connected to an Access Point Communication estabilished switched on when XTR WiFi has acquired an IP address SmartConfig Data At startup all LEDs make a check blink to indicate that the module is ready Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 5of 21 http www aurelwireless com e
16. r must set communication parameters first than connection parameters because when the Access Point accept the module to join the network affiliation modality need to be already configured the concept is valid also if DHCP is used AT CONF IP_Address NetMask Gateway lt DNS_Server gt This command set statically IP parameters for Wi Fi network identification and location addressing Module IP Address NetMask Gateway and DNS server each is needed lt DNS_Server gt parameter is optional IP_Address Internet Protocol local network address of the device NetMask bitmask that separate network identifier 192 168 0 in the example from host identifier 3 in the example used to discriminate if the message destination is a node of the local network or it must be externally reached through the gateway Gateway IP address of the device to which forward messages that are destinated out from the local network as the result of the net mask process DNS_Server optional IP address usually external to the local network of the server that translates domain names to numerical IP addresses needed for the purpose to locating services and devices worldwide AT CONF command force the disconnection from current network in order to perform requested operation If the module was connected to an Access Point before receiving the command it tries to reconnect to the same but using new settings Be careful not to create co
17. se Internet Protocol is used so each node is identified by an unique IP address Communication between two nodes of a WiFi network is done at the same way as computer networks and is based on the client server model This is a structure in computing that partitions tasks between the provider of a resource called server and service requesters called clients A TCP server serve one or more clients establishing a TCP connection between itself and the clients For each side there is an endpoint of the communication flow that is called network socket A server creates sockets that are in stening state waiting for initiatives from client programs Each socket is characterized by a unique combination of an IP address and a TCP port number For each connection an unique dedicated socket is created but a server could also create several concurrently TCP sockets it depends by available computing resources TCP protocol is connection oriented and Internet socket usage is usually based on the Berkeley sockets standard It assumes that servers are in listen state ready to accept incoming connections A client make a request to the server to establish a connection specifying address and port number of Client the server itself establishing connection 3 way handshake Server accepts the connection and authorizes client to send data at this time client and server are connected and can transfer data each other If there are no mor
18. solving a symbolic name Error 12 Error while executing ping request oS O Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 20 of 21 http www aurelwireless com email rfcomm aurel it AUREL WIRELESS XTR WIFi User Guide 650201320G Aurel TCP Terminal In order to support developers a sample application is provided It has been developed in Visual Basic 2010 Express NET Framework 4 0 and whole project and source code are available for users It implements a simple TCP socket which can be used as a client or as a server and allow to set connection parameters SSIES Server mode Configuration rer Pon 1569 MIP Address given by PC O port number should be specified Server IP Address Listen start server listening user data hee Remote client request acceptance is notified in the status bar send data to remote node Close Connection close the socket Message Send Message Accepting connection from 192 168 0 102 3171 Aurel TCP Terminal Ol Client mode Configuration TCP Pot 1910 O IP Address should be specified O Port number should be specified Connect to Server let application try to connect to
19. specified remote server Server IP Address 192 168 0 102 A successful connection is notified in the status bar Send Message send data to remote node Close Connection close the socket Message juser data Send Message Client connection successfully When connection is established it is possible to send ascii characters to remote node e g XTR WiFi and view received data in the large textbox PC firewalls can block TCP Terminal s socket communication be sure to unblock it gt Project and source code files are downloadable from http www aurelwireless com en wireless news wi fi interface rf module the executabile file is AUREL_TCP_Terminal 0 2 bin Debug AUREL_TCP_Terminal exe 6 http www visualstudio com downloads download visual studio vs Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 21 of 21 http www aurelwireless com email rfcomm aurel it
20. ssue by default a server listening on last used port default port 4444 if not previously chosen a different one Therefore after about 50 seconds from last transmitted data connection automatically shut down to free resources and the module returns to command mode To start a server on a different port is first necessary to stop the current issued server AT STOP command ad then start a new one At startup port number returns the default 4444 Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 18 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELeEs XTR WIFI User Guide 650201320G AT STOP Stop server listening If a connection from a client was estabilished the module is in data mode so it s necessary to send a sequence before If no server is currently running an apposite message is returned Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 19 of 21 http www aurelwireless com email rfcomm aurel i
21. t AUREL RELESS XTR WIFI User Guide 650201320G Quick start A simple sequence of commands is suggested for a first approach to the module Apart from basic and diagnostic commands for the core functionality there are 2 ways to do the same things a professional one in which user must know WiFi parameters to configure the connection and a smart one in which some kind of automatic configuration does the job instead of the user check UART communication AT SCAN check if desired WiFi network is available in the area PRO approach SMART approach AT CONF AT DHCP default setting set manually IP parameters retrieve IP configuration automatically from the AP AT CONN AT SMRT connect module to a specified Access Point connect module through SmartConfig procedure AT SRVR AT CLNT use module as a server connect module as a client Error Table If a command return an error it is followed by an exit value with its explicit meaning Error Error Code Description esi Error Syntax Error o Error 2__ Error in connection to the Access Point o Error3 _ Error opening TCP socket Error4 _ Error binding TCP socket o Error 5 Error while listening for incoming connections Z o SSS Error6 _ Error sending data o Error 8 __ Invalid number of arguments S Error9 _ Error connecting to remote server S Error 10 Error during MDNS S Error 11 Error interrogating DNS server while re
22. ut down the connection after 50 seconds from last transmitted data the connected client node can detect this trying to send data and then returning a message error When XTR WiFi returns to command mode by default automatically issue a TCP server listening on last used port as server default port 4444 if not previously chosen a different one Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 17 of 21 http www aurelwireless com email rfcomm aurel it AUREL RELeEs S XTR WIFI User Guide 650201320G AT SRVR Port Number Issue a TCP server on a specified port than XTR WiFi starts listening for a client connection request When an incoming connection is received the module returns the IP address of the requesting client node and then switch to data mode Data received from remote nodes are redirected to serial interface in transparent mode and become available for customer host To return to command mode thus closing active connection it is necessary to send a sequence at the beginning of a new data packet pay attention to avoid this sequence while exchange application data Returning in command mode or also connecting the module to another Access Point XTR WiFi i
23. vice must be connected to the same Access Point via WiFi so SmartConfig application running on it can grab infrastructure parameters and transfer them to the module previously initialized to accept data SmartConfig App than show on the screen a confirm message in case of success Procedure 1 Connect a smart device to the desired WiFi network 2 Send aAT SMRT command to XTR WiFi or push SmartConfig Button or drive low BUTTON 1 pin A message is produced to indicate that command has been received and procedure has begun 3 Launch SmartConfig application in the smart device and configure it SSID is automatically grabbed from the active Wi Fi connection if encryption is used type the network key in Password field Gateway IP Address is automatically grabbed from the active Wi Fi connection Key checkbox must be unchecked Device Name has to match the default mDNS name given by the module at the end of SmartConfig procedure type AurelWiFi 00O KOOK 4 press Start button http processors wiki ti com index php CC3000_Smart_Confi gt smartConfig for iOS Android and PC can be downloaded from Attp www ti com tool smartcontig Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fa
24. w internal pull up SmartConfig procedure start signal s Unused Selection between UART logic level high and SPI logic level low UART SPI user serial interface Value is read at startup to switch interface real time XTR WiFi should be reset Pin is equipped with an internal pull up to use module in UART mode by default Rx input for XTR WiFi if used by UART 2 _ setmsoruanr nx VO Saros oupu or eum hed bys SPI CS_ IN_ SPI Chip Select ess lt sSS SPI Sae Select a E to RST Button 12 vec IN Power supply 3 3V typical Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 39 0546 941124 Fax 39 0546 941660 pag 3 of 21 http www aurelwireless com email ricomm aurel it UKEL RELESS XTR WIFI W ii User Guide 650201320G Electrical Characteristics Frequency RMS Output Power 17 Bm 20 7 o NOTE 1 Standard 20MHz channel bandwidth Device usage In order to obtain performances described in the technical specifications and to comply with operating conditions which characterize the Certification the device must be mounted on a printed circuit taking into account the following Voltage Supply 1 Module must be powered by a low voltage safety sourc
25. x 39 0546 941660 pag 12 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELEsosS XTR WIFI User Guide 650201320G Device Configuration Device Configuration Device Configuration SSID AUREL WIFI SSID AUREL WIFI SSID AUREL WIFI Password eee eeeee8 Password e e eeeee8 Pa ssooooooo Gateway IP Gateway IP Address 192 168 0 100 rpe 192 168 0 100 CC3x Alert Key Key beim Key Key al CC3x App Connected Device Name AurelWiFi Device Name AurelWiFi Successfully are After few seconds if procedure complete successfully the module is connected to the Access Point and automatically issue a TCP server listening on last used port default port 4444 if not previously chosen a different one Subsequently with further commands is possible to make it work as a client or as a server listening on a different user defined port During SmartConfig procedure no command can be received it does not have an expiration time out so to break it it s necessary to reset the module pin 11 RST or Button RST or turn it off If the module was previously connected to an Access Point during the SmartConfig procedure some error messages can occur due to the fact that in background it try to join with the known AP but normally it does not affect the successfully procedure ending signaled reported messages Note pay attention using DHCP or static IP functionality according to network capabilities
26. y static or DHCP assigned When XTR WiFi is connected to an Access Point it automatically issue a TCP server listening on last used port default port 4444 if not previously chosen a different one With further commands is possible to make it work as a client or a server listening on a different user defined port At the following startup XTR WiFi will try to connect automatically to the same Access Point remembering last connection parameters If XTR WiFi is connected to an infrastructure that goes down a message is reported Technical features are subject to change without notice AUREL S p A does not assume responsibilities for any damages caused by the device s misuse AUREL S p A Via Foro dei Tigli 4 47015 Modigliana FC ITALY LT Rev C 08 05 2014 Tel 389 0546 941124 Fax 39 0546 941660 pag 11 of 21 http www aurelwireless com email rfcomm aurel it AUK EL RELESS XTR WiFi User Guide 650201320G AT SMRT XTR WiFi is compliant with SmartConfig tool by Texas Instruments that is a one time process to connect an embedded Wi Fi device to a wireless network It allows to configure a module using a smartphone a tablet or a PC with no need for most complex operations from customer host In details the application allows the user to connect XTR WiFi to an existing Access Point passing to it the infrastructure parameters directly from a smart device by passing the AT CONN serial command The smart de
Download Pdf Manuals
Related Search
Related Contents
User Manual The IQ View Foundation User`s Guide Version 8.12 - System User Guide Index Title Page Opening, Exiting Beta Major Operator-handbuch MANUEL D`UTILISATION ARM-IOS Six Button Mounted Switch RPS06-** Installation 関連PDF3 取扱説明書 手動油圧ポンプ Toshiba LDRA0730MU5EUD energy-saving lamp Copyright © All rights reserved.
Failed to retrieve file