Press the Button to access the KDC menu. Move the menu bar up and down by pressing the and Buttons, and configure the KDC by pressing the SCAN Button to select a menu.
Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu Comment Turn the Wi-Fi Module Power ON/OFF. Configure the AP Configure the server Connect to the AP and server Enable/Disable auto reconnection Enable/Disable sending stored data Return to previous menu
*All configuration is stored in the KDC350
1) Power Screen
0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
Screen Comment Save & Exit 0 Enabled 1 Disabled 2 3 Cancel & Exit Wi-Fi Power On Wi-Fi Power Off Confirm change Cancel
2) AP Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
0 1 2 Screen SSID Passcode Exit Menu Comment AP SSID AP Passcode Exit
The maximum number of characters for SSID and Passcode is 32. 3) Server Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
Screen IP Address 0 1 URL Address 2 Port Number 3 4 5 Protocol SSL(Security) Server Page Exit Menu Comment Server IP address Server DNS name Server port number UDP/TCP/HTTP GET/HTTP POST Enable/Disable HTTP Page Exit
* Configuration for each protocol type Protocol Type SSL Port Number Server Page Remarks UDP TCP Not supported User Setting Not supported Enable 443 Disable User Setting Not supported Supported HTTP GET HTTP_POST Enable 80 Disable 443
* Server Page The GET and POST method uses the same server page. In POST, KDC sends the string after ? to host before sending actual data. For example, the KDC sends data= before data when the server page is as following.
/datacollector/InsertData.php?data=
4) Connect
Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
Screen
Connected 0 1 2 3 4 Comment
* KDC will attempt to connect to the AP and Server configured in the AP and Server Menu. 5) Auto Connect Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
Save & Exit Screen 0 Enabled 1 Disabled 2 3 Cancel & Exit Comment Enables Auto Connect. Disables Auto Connect. Confirm Cancel
* The KDC will attempt to connect to the AP and server ten times when auto connection is enabled 6) Send Stored Screen 0 Power 1 AP 2 Server 3 Connect 4 Auto Connect 5 Send Stored 6 Exit Menu
Save & Exit Screen 0 Enabled 1 Disabled 2 3 Cancel & Exit Comment Enables to send stored data Disables to send stored data Confirm Cancel
* This option is only applied to HTTP_GET and HTTP_POST protocol.
* The KDC will send stored data after sending wedge data.
TCP Step 1. Wi-Fi Module Power ON Turn on the Wi-Fi modules power with WIFI Config -> Power -> Enable. Step 2. Configure server information
1 WIFI Config -> Server -> IP Address -> 192.168.X.XX
2 WIFI Config -> Server -> Port Number -> XXXXX.
3 WIFI Config -> Server -> Protocol -> TCP.
* Obtain the PCs IP address by opening the command prompt in the windows and searching ipconfig
* The port address and IP is defined in the following test application called J1C.
Step 3. Connect to server
1 Run the test application CommOp.exe with TCP server listening mode.
*Be sure the status is in Listening as shown below.
2 Connect the KDC to the server in WIFI Config -> Connect
*The status will be changed from Listening to Connected as shown above once the KDC is connected to the server. Step 4. Send Barcode Data to server
1 Scan a barcode
*The barcode sent from the KDC is displayed on the test application.
UDP
Step 1. Wi-Fi Module Power ON Turn on the Wi-Fi power module withWIFI Config->Power ->Enable. Step 2. Configure server information
* The port address is defined in the test application as following
Step 3. Connect to server
Run the tester applicationwith UDP mode chosen
Connect the KDC to the server inWIFI Config ->Connect Step 4. Send barcode data to server Scan barcode and the barcode will be displayed..
HTTP GET&POST
1) Install Apache Server(XAMPP) Download the installer from http:www.apachefriends.org/en/xampp-windows.html 2) Run XAMPP Control Panel and make sure both Apache and MySQL can be started as shown on the following screen. If it is unable to start, terminate all other online programs, such as skype. 3) Copy web server program into XAMPP. Unzip the two files below and copy them into c:/xampp/htdocs 1. Gswebserver.zip 2. Datacollector.zip
Be sure the directory list looks like the following Make sure http://localhost/gswebserver/index.html. You should see the following screen. the Apache server has been that installed correctly by accessing
4) Set up SSL Unzip the certificates.zip.
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host. SSLEngine on 5) Setup the SQL DB Enter the MqSQL configuration by pressing Adminin XAMPP as shown
Select test and press Go button after entering datacollectorin Name, and in the Number of columns in the following screen.
Enter the following name and type as shown below, then click Save Once Save is completed, the following screen will display.
If everything http://localhost/datacollector/CheckUpdateData.php. installed properly, the is following screen will display while opening:
6) Send data from KDC to server Configure the KDC350 settings as follows:
IP Address: Server IP address
Port: 80(HTTP) if SSL is disabled, 443(HTTPS) if SSL is enabled.
Server page: /datacollector/InsertData.php?data=
[Note]
Set the KDC date to March 1st, 2015 when using provided certificates.
Rename InsertData.php.GET when using HTTP GET method.
Rename InsertData.php.POST when using HTTP POST method.
KDC350 WiFi model can store scanned barcode and RFID data into internal flash memory. Current firmware doesnt store RFID data, but will support it soon. The KDC350 WiFi model stores the read barcodes and RFID data in the internal flash memory in the following data format:
C0 Y0 D0 T0 C1 Y1 D1 T1 .. .. .. .. Cn Yn Dn Tn Where
C0, C1,, Cn Total number of each barcode record (C+Y+D+T) (2 bytes).
Y0,Y1,, Yn : Type of each barcode (1 byte) or RFID tag.
D0,D1,,Dn : Actual barcode data of each barcode (variable size) or RFID data
T0, T1,,Tn : Timestamp of each barcode (4 bytes) or RFID data The timestamp field has 6 sub-fields as follows:
MSB LSB Years Months Days AM/PM Hours Minutes Seconds
(6 bits)
(4 bits)
(5 bits)
(1 bit)
(4 bits)
(6 bits)
(6 bits) Note:
(1) The base year is 2000. It means the year is 2000 if the Years field is 0.
(2) The Hours range is 0 11 and AM/PM bit 0 means AM, and 1 means PM
The KDC350 WiFi model sends barcode and RFID data to host with the following format. 3. Barcode only
Real time data TAG Data
(0)
(N)
Stored data Data Length
(4) TAG
(1) Data
(N) Data Length Data
(4)
(N) 4. Packet Data
Real time data TAG UID Type Timestamp
(0)
(10)
(3)
(14) Data
(N)
Stored data TAG UID
(1)
(10) Typ e
(3) Timestam p
(14) Data Lengt h
(4) Dat a
(N)
. Typ e
(3) Timestam p
(14) Data Lengt h
(4) Dat a
(N) Where
TAG(1 byte) This TAG is attached when Send Stored is enabled.
0: Real time data
1: Stored data
UID(10 bytes)
It is a unique identifier of KDC350. It contains 10 digits of KDC350 serial number.
Type( 3 bytes) Decimal number of barcode type or RFID type
It says if the following data is a barcode or RFID. 000 111: Barcode data 112 125: RFID tag data
Timestamp(14 bytes)
It is the timestamp of each barcode and RFID data and will be sent with the following format. YYYYMMDDHHmmSS
Data Length(4 bytes)
The length of Data(N). 0000 to 9999.
Data(N bytes)
The barcode data or RFID data.