Digi XBee Application Note Configuring a Digi XBee Wifi module for TCP Socket

Similar documents
Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

D-Link DAP-1360 Repeater Mode Configuration

Self Help Guide IMPORTANT! F5D Setting Up An Ad Hoc Connection. Please read the following carefully;

Movie Cube. User s Guide to Wireless Function

TECH BULLETIN NETGEN1 DOOR CONTROLLER WI-FI NETWORK CONFIG

SATO Network Interface Card Configuration Instructions

1-Port Wireless USB 2.0 Print Server Model # APSUSB201W. Quick Installation Guide. Ver. 2A

Configuring the WT-4 for ftp (Ad-hoc Mode)

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

User Manual Network Interface

Setting up Digi Connect Wi-SP or Digi ConnectPort TS W Devices On a Secured Wireless Network for use with Veriteq viewlinc

TECHNICAL BULLETIN. Configuring Wireless Settings in an i-stat 1 Wireless Analyzer

2 Setting Up the Hardware for a Wired Ethernet Network Setting Up the Software for an Ethernet Network... 21

PC/POLL SYSTEMS Version 7 Polling SPS2000 Cash Register TCP/IP Communications

USER GUIDE. Ethernet Configuration Guide (Lantronix) P/N: Rev 6

CONNECTING THE RASPBERRY PI TO A NETWORK

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

DSA-1000 / PRT-1000 Device Server / Thermal Printer

Configuring Routers and Their Settings

Step-by-Step Tutorial For Using LinkSprite UART- WIFI Module Model LS_UART_WIFI

Ethernet Interface Manual Thermal / Label Printer. Rev Metapace T-1. Metapace T-2 Metapace L-1 Metapace L-2

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

Debugging Network Communications. 1 Check the Network Cabling

DOORKING SYSTEMS 1830 SERIES NETWORK WORKSHOP LAN APPLICATIONS ACCESS CONTROL SOLUTIONS LOCAL AREA NETWORK (LAN) CONNECTION REV 04.

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

TE100-P21/TEW-P21G Windows 7 Installation Instruction

Pre-lab and In-class Laboratory Exercise 10 (L10)

Wifi Web Server Module w TF Socket User s Guide

Configuring the WT-4 for ftp (Ad-hoc Mode)

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

Application Note: Connecting to a 2500 Series Processor using PLC Workshop

Omni 56K USB Lite Quick Start Guide

Configuring the WT-4 for ftp (Infrastructure Mode)

ETHERNET WEATHER STATION CONNECTIONS Application Note 33

UBIQUITI BRIDGE CONFIGURATION PROCEDURE (PowerStation & NanoStation Units ONLY)

Using a simple crossover RJ45 cable, you can directly connect your Dexter to any computer.

SOHO 6 Wireless Installation Procedure Windows 95/98/ME with Internet Explorer 5.x & 6.0

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

To perform Ethernet setup and communication verification, first perform RS232 setup and communication verification:

Network Setup & Options

Extending the range of a wireless network by using mesh topology

Quick Installation Guide

EASE Scan Tool Customers. SECTION I - Installation

ipad Installation and Setup

Configuring the WT-4 for Upload to a Computer (Infrastructure Mode)

How to configure your Thomson SpeedTouch 780WL for ADSL2+

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

NetLINE Wireless Broadband Gateway

Networking. General networking. Networking overview. Common home network configurations. Wired network example. Wireless network examples

Kvaser BlackBird Getting Started Guide

Hands-on MESH Network Exercise Workbook

StarMOBILE Network Configuration Guide. A guide to configuring your StarMOBILE system for networking

Setting up and creating a Local Area Network (LAN) within Windows XP by Buzzons

TOSR0X-D. USB/Wireless Timer Relay Module. User Manual. Tinysine 2013 Version 1.0

A Beginner s guide to send data to Device Cloud from a ZigBee Network

Networking Basics for Automation Engineers

1 PC to WX64 direction connection with crossover cable or hub/switch

CS 326e F2002 Lab 1. Basic Network Setup & Ethereal Time: 2 hrs

Palomar College Dial-up Remote Access

Important Notes for WinConnect Server VS Software Installation:

Setting up a SQ20xx WIFI and Laptop for a Peer-to-peer (Ad-hoc) connection

Connecting the DG-102S VoIP Gateway to your network

Ethernet Radio Configuration Guide

1. MOXA NPort Express TCP/IP to RS-232 server

PIGCHAMP MOBILE. PigCHAMP Knowledge Software. Installation Guide for Mobile Units

EnGenius ERB M Range Extender. Quick Start Guide

TECHNICAL SUPPORT GUIDE

RN-XV-RD2 Evaluation Board

Digi Connect Wan 3G Application Guide Update the firmware, backup and restore the configuration of a Digi Connect Wan 3G using a USB flash drive.

The Wireless LAN (Local Area Network) USB adapter can be operated in one of the two following networking configurations :

USING SSL/TLS WITH TERMINAL EMULATION

How to put the DVR online

1. Hardware Installation

CHANGE NETWORK SETTINGS Technicolor TG582n

How to convert a wireless router to be a wireless. access point

Ralink Utility User Guide/PC/MAC

Mobile Router MR600 User Guide

Step-by-Step Setup Guide Wireless File Transmitter

Netcomm NB604N. Modem Configuration Guide. Netcomm NB604N. Configuring in Layer2 PPPoE for Windows XP and 2000 IMPORTANT MESSAGE

1) No configuration is necessary in ZDMC nor in RescueNet Field Data Configuration.

NETVIGATOR Wireless Modem Setup Guide. (TG789Pvn)

Quick Installation Guide Network Management Card

Step-by-Step Setup Guide Wireless File Transmitter

networking revision B

Device Installer User Guide

How to set up the ipad for sharing data via Wifi with a navigation program running on a computer.

User Manual. PePWave Surf / Surf AP Indoor Series: Surf 200, E200, AP 200, AP 400. PePWave Mesh Connector Indoor Series: MC 200, E200, 400

WiFi-SB-L3 300M WiFi Router WiFi Bridge WiFi Repeater. WiFi Router WiFi Repeater WiFi Bridge WiFi-SB-L3 Quick Setting Guide

Software and Settings Instructions

Preparing the Computers for TCP/IP Networking

Lab Configuring LEAP/EAP using Local RADIUS Authentication

TSX ETZ Configuration of your computer for TSX ETZ direct connection by serial link. Eng V1.0

How To Set up and Configure the WNA-100 Wireless Network Adapter

P-2302HWUDL-P1. Quick Start Guide g Wireless VoIP Station Gateway. with Built-in DECT Base Station

Lab Configuring Access Policies and DMZ Settings

Linksys E2500 Wireless-N Router Configuration Guide

How To Set Up A Computer With A Network Connection On A Cdrom 2.5 (For A Pc) Or Ipad (For Mac) On A Pc Or Mac Or Ipa (For Pc) On An Ipad Or Ipro (

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

Transcription:

1. Configure a Digi XBee Wifi module as a TCP Client to connect to a TCP Server for sending/receiving data in an Ad Hoc network. Objective: Configure a TCP Socket connection between a Digi XBee Wifi module and a computer running a TCP Server connected in an Ad hoc network. 1.1 Software Requirements - XCTU - PuTTy or any Terminal application - TCP Server such as netcat 1.2 Hardware Requirements - Digi XBee Wifi module - Computer with Wireless card Setup Scenario In this scenario we will configure a TCP Socket between a Digi XBee Wifi module and a computer in Adhoc running a TCP server application. Computer with Xbee Wifi module Ad hoc Wireless network Computer with TCP Socket Server Sep 2011 v.1 Digi International 1 of 9

2. 2. Step by Step instructions 2.2.1 Configure Computer for Ad hoc and setup TCP Socket server a) Go to the Wireless Network connection settings (Start > Connect To > Show all connections > Right click on Wireless Network Connection) b) Scroll to the Internet Protocol (TCP/IP) and click Properties c) Assign a fixed IP Address to your network card, in this example : 192.168.0.1 and a subnet of 255.255.255.0 and click OK d) Go to the Wireless Networks tab, click on Advanced and make sure that Networks to access is set to Any available network. e) In the Preferred networks section, click on Add f) Enther a Network name (SSID) : digi, check the Connect even if this network is not broadcasting box. g) Network authentication : Open, Data Encryption : Disabled h) At the bottom of this window, check This is a computer-to-computer (ad hoc) network; wireless access points are not used Sep 2011 v.1 Digi International 2 of 9

i) Go to the Connection tab and check the Connect when this network is in range j) Click OK k) Extract the netcat application to a folder on your computer such as c:\netcat l) Click on Start>Run and type CMD to start a command line window. m) Navigate to the netcat directory n) Start netcat in listening mode by issuing the following command : nc.exe l p 9750 nc.exe is the netcat application -l is for listening connections -p 9750 is to specify the TCP port we will be using. Netcat is now listening to incoming TCP socket connection Sep 2011 v.1 Digi International 3 of 9

2.2.2 Configure XBee Wifi module a) Insert the XBee module on the XBee development board and connect the USB cable to your computer. b) Open XCTU, in the PC Settings tab, select the USB Serial Port corresponding to your board, set the baud rate to 9600, flow control to none, data bits to 8, parity to none and stop bits to 1 (this should be default settings) and click the Test/Query button, which should prompt the modem information like below : c) Click on the Modem Configuration tab d) Under Active Scan click the Scan button to discover nearby networks, the previously created digi network should appear in the list, select it and click the Select AP button. Sep 2011 v.1 Digi International 4 of 9

e) In the Networking section, set the Network type to 1 IBSS Creator, the IP Protocol to 1 TCP, and IP Addressing Mode to 1 - Static f) In the Addressing section, set the Destination IP Address to the computer s ip address : 192.168.0.1 and the Destination/ Source Port to 2616 (this value is in HEX format, which makes 9750 in decimal) g) Click the Write button at the top Window to write all modified parameters to the module. h) To set a static IP Address on the module, go to the Terminal tab and issue the following commands : +++ (wait for the OK to confirm that AT mode is active) AT MY 192.168.0.2 ok AT MK 255.255.255.0 ok i) Go to the Modem Configuration tab and verify the settings by click on the Read button. Module IP Address and IP Address Mask should be filled. Sep 2011 v.1 Digi International 5 of 9

j) Go to the Terminal Tab, typed text in the Terminal window will appear in the command prompt window on the computer (TCP Server) k) It is also possible to open the TCP Socket directly to the module by using PuTTY, select Raw, port 9750, IP Address of the XBee module 192.168.0.2, in the Serial section, set Flow Control to None and click Open Sep 2011 v.1 Digi International 6 of 9

l) Type text in the Terminal or in the Putty Window, it will appear on the opposite side : (Blue text is sent, red is received) Sep 2011 v.1 Digi International 7 of 9

2.2.3 Configure XBee Wifi module for Infrastructure and Serial bridge a) In the Networking section, set the Network type to 2 Infrastructure and IP Addressing Mode to 0 DHCP b) Under Active Scan click the Scan button to discover nearby networks, the infrastructure network of your router should appear in the list, select it and click the Select AP button c) Click on the Write button to save parameters to the module. d) In the Addressing section, check that your module has correct received an IP Address from the DHCP server, MY/MK/GW should be filled in : e) Repeat those steps for the second module. f) In the Addressing section, modify the Destination IP Address to be the other module s IP. Module IP Address = 192.168.0.198 Destination IP Address = 192.168.0.199 Module IP Address = 192.168.0.199 Destination IP Address = 192.168.0.198 g) Go to the Terminal tab, typed text will appear on the 2 nd s module terminal window. Sent text is Blue, received text is Red. Sep 2011 v.1 Digi International 8 of 9

Sep 2011 v.1 Digi International 9 of 9