telnet Client User Interface for Accessing MX7cK s push buttons and LEDs. Template for P1.3
|
|
- Beverly McCarthy
- 6 years ago
- Views:
Transcription
1 telnet Client User Interface for Accessing MX7cK s push buttons and LEDs. Template for P1.3 1
2 Motivation for Using telnet We have written a ToUpper server that uses TCP and runs on the TCP/IP stack of the MX7ck board. We need a TCP client to connect to this server in order to test the server. Instead of writing a TCP client at this time, we will use a given telnet client program, which is provided by the OS. In basic telnet, the peer-to-peer communications protocol is straight ASCII text sent over a TCP connection. The telnet client program does not define a carrier protocol, to carry the straight text. Therefore, it is not necessary to connect to a telnet server. We will connect the telnet client to our TCP server, directly, and thus have a means of testing it. 2
3 What is telnet? telnet is a network based client-server program that is available to run on many popular operating systems, such as Windows, Mac, and Unix. telnet runs on the application layer. Unlike http and other application layer protocols, telnet is a complete program that does not need a network based program to run on top of it. Typically, a client user runs a telnet client program to connect to a telnet server to gain access to the resources of the server host computer. Network Based Program Application Layer (HTTP, telnet (client), others ) API Transport Layer (TCP, UDP, ) API Network Layer (IP, ) API Link Layer (Ethernet, WiFi, ) Network Based Program Application Layer (HTTP, telnet (server), others ) API Transport Layer (TCP, UDP, ) API Network Layer (IP, ) API Link Layer (Ethernet, WiFi, ) On Client Host Network On Server Host 3
4 What is telnet? A telnet client program runs on a computer terminal, typically a terminal that supports the VT100 standard. You run the program by typing its name in the terminal. A telnet server runs in the background on the Application Layer of the TCP/IP stack. Sometimes, a telnet server may have a user interface on the server host machine, but normally, there is no user interface to a telnet server. A client telnet program can connect to a telnet server on port 23. Telnet server runs in background On Client Host Network On Server Host
5 telnet is a Session Layer Protocol telnet is also known as a session layer protocol The session layer, which is built-in to telnet programs, provides the mechanism for opening, closing and managing a TCP session between telnet client and server programs. This means users of telnet do not write code for opening, closing and managing a TCP session; this code is already part of the telnet program. A telnet client user sends text messages to a telnet server, and the server responses are simple text messages. 5
6 telnet Defines No Carrier Protocol The basic telnet protocol defines no carrier protocol. It sends/receives messages using raw text format User application protocol language is transmitted in raw text format. I.e., user messages are sent from the client program to the server in raw format, and a carrier is not used. A telnet client and server use TCP for their connection This implies that a telnet client program does not need to connect with a telnet server running at port 23: A telnet client can successfully connect to a raw-text TCP server at any available port. In Project P1.3, our telnet server will be a raw-text TCP server whose port number is
7 Example of HTTP Session Here is an example of what a client web browser would send to a web server: GET /index.html HTTP/1.1 host: Response sent by web server to web browser (client): HTTP/ OK Date: Wed, 30 Sep :08:00 GMT //other server information <html> <head> <title>......lots of HTML code here that defines the 3740 web page you see </body></html> Note: the carrier protocol in green (HTTP) and the application protocol language in blue (HTML). Note: that the server sends the user interface to the client web browser. Note: there could be also a user layer protocol on top of html. The user protocol would define a users interaction with the server via the html web page s objects, such as textbox, buttons, etc. 7
8 Example of telnet Session The following shows part of a user protocol on top of telnet. A user of a telnet program (telnet client) sends a message to the code within a telnet server, and a response received: Sent by user of telnet client to telnet server: Hello telnet server! Response sent by telnet server to telnet client: Hello telnet client! Notice there is no carrier protocol, but just a user layer protocol language in blue. 8
9 Examples given: a telnet server can provide services to: Access OS commands for manipulating files on the server s computer, like pwd, cd, copy, move, and delete. Configure devices connected to the server s machine Set bit rate of a COM port Enable different kinds of modulation and forward error correction for a modulator. The services a telnet server offers is application dependant, i.e., the services are whatever the designers of the telnet server decided to program into the server. For example, in our course, the telnet server is to provide services to: Rotate the LEDs on the MX7cK Get the status of the switches, LEDs, and sensors Turn on/off LEDs. Note: due to computer security concerns, many organizations no longer offer the basic telnet programs, since an adversary could gain access to a computer system relatively easily and cause damage or obtain confidential information. For example, should an adversary install a rogue TCP server on a host, then, it would be possible for the adversary to remotely connect to the server and proceed to cause damage to the host computer or download personal information. 9
10 telnet is a program that runs on a VT100 standard compatible terminal. The standard specifies a way to display and format the display or characters on a VT100 compatible computer terminal. Normally, a VT100 terminal software displays a sequence of ASCII characters that you send it, except for a special case: an Escape (ESC) character. When you send a message to a VT100 terminal that has the first character as the ANSI escape character ESC (1Bh), the VT100 software interprets the following characters of the message as codes for how to format the display or how to format a character for display. For example: 1B[2J // 1B is the hex encoded escape character; [2J means Clear the screen 10
11 For Text Attributes ANSI Description [0m Reset all attributes [1m Set bright attribute [2m Set dim attribute [4m Set underline attribute [5m Set blink attribute [7m Set reverse attribute [8m Set hidden attribute 11
12 Foreground Color (Text Color) ANSI Description [30m Set foreground to color #0 - black [31m Set foreground to color #1 - red [32m Set foreground to color #2 - green [33m Set foreground to color #3 - yellow [34m Set foreground to color #4 - blue [35m Set foreground to color #5 - magenta [36m Set foreground to color #6 - cyan [37m Set foreground to color #7 - white [39m Set default color as foreground color 12
13 Background Color ANSI Description [40m Set background to color #0 - black [41m Set background to color #1 - red [42m Set background to color #2 - green [43m Set background to color #3 - yellow [44m Set background to color #4 - blue [45m Set background to color #5 - magenta [46m Set background to color #6 - cyan [47m Set background to color #7 - white [49m Set default color as background color 13
14 For Editing Commands [P Delete character from cursor position [*P Delete * chars from cursor right [M Delete 1 line from cursor position [*M Delete * lines from cursor line down [J Erase screen from cursor to end [1J Erase beginning of screen to cursor [2J Erase entire screen but do not move cursor [K Erase line from cursor to end [1K Erase from beginning of line to cursor [2K Erase entire line but do not move cursor [L Insert 1 line from cursor position [*L Insert * lines from cursor position 14
15 General Codes Name Decimal Hex C-escape Description BEL 7 0x07 \a Terminal bell BS 8 0x08 \b Backspace HT 9 0x09 \t Horizontal TAB LF 10 0x0A \n Linefeed (newline) VT 11 0x0B \v Vertical TAB FF 12 0x0C \f Formfeed (also: New page NP) CR 13 0x0D \r Carriage return ESC 27 0x1B <none> Escape character DEL 127 0x7F <none> Delete character 15
16 P1.3: telnet Client User Interface Requirements Analysis Which component should create/manage the User Interface (UI) for the telnet client program: client or server? Note: normally, a program would create its own user interface, like PowerPoint writers created a Graphical User Interface (GUI). Some client-server applications offer an option that the server creates and manages the client user interface, such as in web browser/server and telnet client-server systems. Here are the alternatives with advantages (+) and disadvantages (-) Client + No need to transmit UI over the network. Any UI modification may require modification on all clients. Must have access to telnet client source code, or create your own (including managing TCP connections). Server Bandwidth for transmitting UI to each connected client. + Any UI modification requires modification on server only. + Simpler client. Choice: Server (for our app, the UI is not many bytes (simple text based UI), and so the required bandwidth is minimal) 16
17 What functions or capabilities should the UI provide? These are the requirements of the UI. Note: a requirement describes WHAT the system should do, while design is HOW the system implements a requirement. For example: Requirements: The client interface shall allow a user to input a command to rotate the LEDs to the left. (This is what the system should do.) The delay between shining each LED should be about 1s. (what to do.) Design The system uses a text based user interface, in which the 1 key causes the server to rotate the LEDs in the left direction. (How the system does the requirement.) A software delay function is used to implement the delay between switching LEDs on/off. (How the system does the requirement.) 17
18 Difference Between Requirements and Design Note: The requirement that states The client interface shall allow a user to input a command to rotate the LEDs to the left, does not specify how the software should implement this requirement: For examples: the implementation could be by: Voice command Graphical user interface menu item Command line interface text based command The command could be by typing rotate LEDs Left on the command line interface The command could be by typing 1 on the command line interface This provides flexibility to the designers. However, the chosen method must satisfy the requirement. 18
19 What are the Requirements? Homework 19
20 C Strings For Writing Control Codes Note: since our designs will be that the server will send the UI to the client, we need to write C source code on the server to send the UI to the client. When you use C s string functions, the arguments (i.e., the strings) will be formatted in ASCII. For example, 1 is sent as 0x31. This is fine for sending text messages, but we need to send the escape code, which should not be encoded in ASCII, and other formatting codes, encoded in ASCII, to the VT100 terminal. Consider the C-string: \x1b[2j \x1b[2j \x is the C-escape-x: \x informs the C-compiler that the following string 1B[2J should be interpreted as a Hex encoded byte, until a non-hex symbol, is encountered. At that point the remaining part of the string will be encoded in ASCII. \x1b[2j will be encoded as: 1B5B324A, where 1B is the Hex encoded byte of 1B, and 5B, 32, and 4A are the ASCII codes for [, 2, and J, respectively. Note that the [ character is the first non-hex symbol in the string, so 1B will be encoded as a Hex byte. 1B Hex code for escape: informs the terminal that the following is not a string to display, but it is a control code [2J 5B324A = Control code for Clear Screen 20
21 Menu 21
22 After user types 1 After user types d After user types s 22
23 case SM_DISPLAY_MENU: // Display the menu if(!tcpisconnected(mysocket)) return; int size=sizeof("\x1b[2j \x1b[37m \x1b[1m LED SERVER MENU\n\r1: Put your menu items and control codes here"); if((tcpisputready(mysocket)) < size) return; TCPPutArray(MySocket, (BYTE*)"\x1B[2J \x1b[37m \x1b[1m LED SERVER MENU\n\r1: Put your menu items and control codes here ", size); TCPFlush(MySocket); TCPServerState = SM_PROCESS; break; 23
Beijer Electronics AB 2000, MA00453,
VT100 emulation This manual presents installation and handling of the driver VT100 to the terminals in the E-series. The functionality in the E-terminals and in MAC Programmer+ are described in the E-manual.
More informationJ2 LCM Customer Display. Manual
J2 LCM Customer Display Manual July 2012 Contents LCM Customer Display... 3 Overview... 3 Customer Display Configureation... 4 Port Settings... 4 CD Settings... 5 Emulation Mode... 5 Character Sets...
More information2a. Codes and number systems (continued) How to get the binary representation of an integer: special case of application of the inverse Horner scheme
2a. Codes and number systems (continued) How to get the binary representation of an integer: special case of application of the inverse Horner scheme repeated (integer) division by two. Example: What is
More informationUniOP VT100 Terminal Emulation - Ver. 3.16
UniOP VT100 Terminal Emulation - Ver. 3.16 This tech note describes the operation of the VT100 emulation software on UniOP. This document is a short reference for VT100 Terminal Emulation software. It
More informationAccuTerm Mobile. User Guide
AccuTerm Mobile User Guide Table of Contents Copyright and Trademarks...3 1. Introduction...4 1.1. What is AccuTerm Mobile...4 2. Program Workspace...5 2.1. Connecting to a Host...5 2.1.1. Creating a New
More informationNumber Representations
Simple Arithmetic [Arithm Notes] Number representations Signed numbers Sign-magnitude, ones and twos complement Arithmetic Addition, subtraction, negation, overflow MIPS instructions Logic operations MIPS
More informationCS 43: Computer Networks. Layering & HTTP September 7, 2018
CS 43: Computer Networks Layering & HTTP September 7, 2018 Last Class: Five-layer Internet Model Application: the application (e.g., the Web, Email) Transport: end-to-end connections, reliability Network:
More informationNumber Systems for Computers. Outline of Introduction. Binary, Octal and Hexadecimal numbers. Issues for Binary Representation of Numbers
Outline of Introduction Administrivia What is computer architecture? What do computers do? Representing high level things in binary Data objects: integers, decimals, characters, etc. Memory locations (We
More informationData Representation and Binary Arithmetic. Lecture 2
Data Representation and Binary Arithmetic Lecture 2 Computer Data Data is stored as binary; 0 s and 1 s Because two-state ( 0 & 1 ) logic elements can be manufactured easily Bit: binary digit (smallest
More informationEE 109 Unit 2. Binary Representation Systems
EE 09 Unit 2 Binary Representation Systems ANALOG VS. DIGITAL 2 3 Analog vs. Digital The analog world is based on continuous events. Observations can take on (real) any value. The digital world is based
More informationEXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART)
EXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART) Objective: Introduction To understand and apply USART command for sending and receiving data Universal Serial Asynchronous
More information3.1. Unit 3. Binary Representation
3.1 Unit 3 Binary Representation ANALOG VS. DIGITAL 3.2 3.3 Analog vs. Digital The analog world is based on continuous events. Observations can take on (real) any value. The digital world is based on discrete
More informationExercises Software Development I. 03 Data Representation. Data types, range of values, internal format, literals. October 22nd, 2014
Exercises Software Development I 03 Data Representation Data types, range of values, ernal format, literals October 22nd, 2014 Software Development I Wer term 2013/2014 Priv.-Doz. Dipl.-Ing. Dr. Andreas
More informationChapter 3. Information Representation
Chapter 3 Information Representation Instruction Set Architecture APPLICATION LEVEL HIGH-ORDER LANGUAGE LEVEL ASSEMBLY LEVEL OPERATING SYSTEM LEVEL INSTRUCTION SET ARCHITECTURE LEVEL 3 MICROCODE LEVEL
More informationPD1100 STAND-ALONE PROGRAMMING & USER S GUIDE. use the freedom
PD1100 STAND-ALONE ALPHANUMERIC POLE DISPLAY PROGRAMMING & USER S GUIDE use the freedom Forward The information contained in this user s guide is subject to change without notice. This Programming and
More informationApplication Level Protocols
Application Level Protocols 2 Application Level Protocols Applications handle different kinds of content e.g.. e-mail, web pages, voice Different types of content require different kinds of protocols Application
More informationrichlove@carnationsoftware.com www.carnationsoftware.com You can use Command F to find what you are looking for in this document. Version History is available at http://www.carnationsoftware.com/carnation/macwisexversions.html
More informationChapter 3 : Informatics Practices. Class XI ( As per CBSE Board) Python Fundamentals. Visit : python.mykvs.in for regular updates
Chapter 3 : Informatics Practices Class XI ( As per CBSE Board) Python Fundamentals Introduction Python 3.0 was released in 2008. Although this version is supposed to be backward incompatibles, later on
More informationCPS 104 Computer Organization and Programming Lecture-2 : Data representations,
CPS 104 Computer Organization and Programming Lecture-2 : Data representations, Sep. 1, 1999 Dietolf Ramm http://www.cs.duke.edu/~dr/cps104.html CPS104 Lec2.1 GK&DR Fall 1999 Data Representation Computers
More informationS-Series Sensor ASCII Protocol v8.1.0
S-Series Sensor v8.1.0 Legend: ADR Node/Slave Address TIME STAT Status Byte ERR CTRL Control Byte SP # POS Position DATA TARG Target CHAR VEL Velocity OFF SN CODE PAR # Serial Number Security Code Parameter
More informationPD26xx/PD23xx/PD28xx Series Command Detail Manual
PD26xx/PD23xx/PD28xx Series Command Detail Manual TABLE OF CONTENTS COMMEND EMULATION................................. 3-1 GENERAL CONCEPT.................................. 3-1 ADM EMULATION MODE..............................
More informationC H A P T E R lpr Overview of the Print Server Program UNIX Print Facility lpr 8-1
CHAPTER 8 USPOOL This chapter describes the print server program, USPOOL for the UNIX lpr command. It contains these sections: Overview of the Print Server Program Provides a brief overview of the print
More informationData Representa5on. CSC 2400: Computer Systems. What kinds of data do we need to represent?
CSC 2400: Computer Systems Data Representa5on What kinds of data do we need to represent? - Numbers signed, unsigned, integers, floating point, complex, rational, irrational, - Text characters, strings,
More informationData Representa5on. CSC 2400: Computer Systems. What kinds of data do we need to represent?
CSC 2400: Computer Systems Data Representa5on What kinds of data do we need to represent? - Numbers signed, unsigned, integers, floating point, complex, rational, irrational, - Text characters, strings,
More informationLCD03 - I2C/Serial LCD Technical Documentation
LCD03 - I2C/Serial LCD Technical Documentation Pagina 1 di 5 Overview The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and
More informationEE 109 Unit 2. Analog vs. Digital. Analog vs. Digital. Binary Representation Systems ANALOG VS. DIGITAL
EE 9 Unit Binary Representation Systems ANALOG VS. DIGITAL Analog vs. Digital The analog world is based on continuous events. Observations can take on any (real) value. The digital world is based on discrete
More informationECE697AA Lecture 2. Today s lecture
ECE697AA Lecture 2 Application Layer: HTTP Tilman Wolf Department of Electrical and Computer Engineering 09/04/08 Protocol stack Application layer Client-server architecture Example protocol: HTTP Demo
More information6.096 Introduction to C++ January (IAP) 2009
MIT OpenCourseWare http://ocw.mit.edu 6.096 Introduction to C++ January (IAP) 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. Welcome to 6.096 Lecture
More informationSending MAC Address Function
Application Note Sending MAC Address Function Version 1.1 Sollae Systems Co., Ltd. www.eztcp.com Contents CONTENTS... - 1-1 OVERVIEW... - 2-1.1 Overview... - 2-1.2 Using Unique ID for Serial Devices...
More informationAPEX & ANDES Series. Printer Command Language Developer s Manual
APEX & ANDES Series Printer Command Language Developer s Manual Document Revision History Document Title: APEX and ANDES Series Printer Command Language Developer s Manual Revision Date Revision History
More informationEXPERIMENT 7: Introduction to Universal Serial Asynchronous Receive Transmit (USART)
EXPERIMENT 7: Introduction to Universal Serial Asynchronous Receive Transmit (USART) Objective: To understand and apply USART command for sending and receiving data Introduction Universal Serial Asynchronous
More informationIntroduction to C++ IT 1033: Fundamentals of Programming
2 Introduction to C++ IT 1033: Fundamentals of Programming Budditha Hettige Department of Computer Science C++ C++ is a middle-level programming language Developed by Bjarne Stroustrup Starting in 1979
More informationi Term 1U Rack Mount Terminal
i Term 1U Rack Mount Terminal Model RFT-15-232 Sun UK Model UKT-R1U-TERM March 03, 2003 CONTENTS 1 Installation 2 Setup 3 Local Keyboard Commands 4 Connector Pin Assignment 5 Command Guide 6 ANSI Command
More informationLCD03 - I2C/Serial LCD Technical Documentation
LCD03 - I2C/Serial LCD Technical Documentation 2YHUYLHZ The I2C and serial display driver provides easy operation of a standard 20*4 LCD Text display. It requires only a 5v power supply and the two data
More informationLCD05 datasheet 1.0
LCD05 green displays LCD05 blue displays The I2C and serial display driver provides easy operation of a standard 20 x 4 or 16 x 2 LCD Text display. It requires only a 5v power supply and the two data connections
More information1602 SMART LCD DISPLAY MODULE HCMODU0122
62 SMART LCD DISPLAY MODULE HCMODU22 Revision.. DISCLAIMER This document is provided "as is". Hobby Components Ltd makes no warranties, whether express, implied or statutory, including, but not limited
More informationTCP/IP Networking Basics
TCP/IP Networking Basics 1 A simple TCP/IP Example A user on host argon.tcpip-lab.edu ( Argon ) makes a web access to URL http://neon.tcpip-lab.edu/index.html. What actually happens in the network? 2 HTTP
More informationAnalyzing the command string for switch to input #
Marshall VSW-2200 Switcher Control Protocol Firmware Version: 3.3 Document edited 8-22-2016 (legacy command structures have been removed from this document) Serial Port (over USB) Setting: Baud rate :
More informationRoboRemo User Manual v1.9.1
RoboRemo User Manual v1.9.1 Table of Contents General Description...3 Bluetooth / WiFi / Ethernet / USB modules...4 Available interface items...6 Building the interface...8 Common edit s...9 Button edit
More informationMOBILE THERMAL PRINTER
MOBILE THERMAL PRINTER MODEL CMP-30 series ESC Command Manual Rev. 1.00 TABLE OF CONTENTS 1. Command Description... 6 2. Commands... 7 HT... 7 LF... 7 CR... 8 FF... 8 CAN... 8 DLE EOT... 9 DLE ENQ... 12
More informationTelnet/KSHELL NETIO M2M API protocols docs
Telnet/KSHELL NETIO M2M API protocols docs Protocol version: KSHELL V1.5 Short summary Telnet/KSHELL protocol is command based M2M API protocol, where NETIO device supports Telnet connections and the defined
More informationACS-LCD-128x64. LCD Graphic Display Terminal. General Description. Features. Typical Applications. Specifications. 22-Feb-08
6 2 3 3 E. S a w g ra s s R d S a ra s o ta, F L. 3 4 2 4 0 (9 4 1 )3 7 7-5 7 7 5 F A X(9 4 1 )3 7 8-4 2 2 6 www.acscontrol.com 22-Feb-08 ACS-LCD-128x64 LCD Graphic Display Terminal General Description
More informationEE 109 Unit 3. Analog vs. Digital. Analog vs. Digital. Binary Representation Systems ANALOG VS. DIGITAL
3. 3. EE 9 Unit 3 Binary Representation Systems ANALOG VS. DIGITAL 3.3 3. Analog vs. Digital The analog world is based on continuous events. Observations can take on any (real) value. The digital world
More informationRS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200
RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200 Biamp Systems, 14130 N.W. Science Park, Portland, Oregon 97229 U.S.A. (503) 641-7287 an affiliate of Rauland-Borg Corp. Introduction
More informationApplication Layer Introduction; HTTP; FTP
Application Layer Introduction; HTTP; FTP Tom Kelliher, CS 325 Feb. 4, 2011 1 Administrivia Announcements Assignment Read 2.4 2.6. From Last Time Packet-switched network characteristics; protocol layers
More informationCS6421: Distributed Systems
CS6421: Distributed Systems Networks and Sockets Prof. Tim Wood!1 Before we start Participation: 1 contributions every 3 weeks - Ask/answer a question in class - Post to Piazza forum - Come of my office
More information1.1. INTRODUCTION 1.2. NUMBER SYSTEMS
Chapter 1. 1.1. INTRODUCTION Digital computers have brought about the information age that we live in today. Computers are important tools because they can locate and process enormous amounts of information
More informationIntroduction. This section describes the cursor positioning commands.
6 Cursor Positioning Introduction This section describes the cursor positioning commands. Although the printer does not actually have a cursor, the PCL cursor position refers to the Current Active Position
More informationMemory, Data, & Addressing II CSE 351 Spring
Memory, Data, & Addressing II CSE 351 Spring 2018 http://xkcd.com/138/ Review Questions 1) If the word size of a machine is 64-bits, which of the following is usually true? (pick all that apply) a) 64
More informationApplication Protocols and HTTP
Application Protocols and HTTP 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia Lab #0 due
More informationChapter 2 Number System
Chapter 2 Number System Embedded Systems with ARM Cortext-M Updated: Tuesday, January 16, 2018 What you should know.. Before coming to this class Decimal Binary Octal Hex 0 0000 00 0x0 1 0001 01 0x1 2
More informationCS321: Computer Networks FTP, TELNET, SSH
CS321: Computer Networks FTP, TELNET, SSH Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in FTP File Transfer Protocol (FTP) is the standard protocol provided
More informationLab5 2-Nov-18, due 16-Nov-18 (2 weeks duration) Lab6 16-Nov-19, due 30-Nov-18 (2 weeks duration)
CS1021 AFTER READING WEEK Mid-Semester Test NOW Thurs 8th Nov @ 9am in Goldsmith Hall (ALL students to attend at 9am) Final 2 Labs Lab5 2-Nov-18, due 16-Nov-18 (2 weeks duration) Lab6 16-Nov-19, due 30-Nov-18
More informationmelabs Serial LCD Firmware Version 1.1 3/5/07
melabs Serial LCD Firmware Version 1.1 3/5/07 The melabs Serial LCD (SLCD) can display serial data from either asynchronous RS232-style or synchronous I 2 C input. A range of baud rates from 2400 to 57,600
More informationCommand Manual SRP-350 Thermal Printer Rev. 1.01
Command Manual SRP-350 Thermal Printer Rev. 1.01 http://www.samsungminiprinters.com 1. Control Commands List Control codes Hexadecimal codes Function 09 Horizontal tab 0A Print and line feed
More informationReview of Previous Lecture
Review of Previous Lecture Network access and physical media Internet structure and ISPs Delay & loss in packet-switched networks Protocol layers, service models Some slides are in courtesy of J. Kurose
More informationFics-RT1. User s Manual
Fics-RT1 User s Manual Contents 1: Overview... 1 2: Terminal Specifications... 1 2-1: Standard Specifications... 1 2-2: Customer Defined Features:... 1 3: Terminal RS232C Communication Link Details...
More informationblu2i Obex Push Client Host - Module Protocol Specification
blu2i ObexPush Client - Doc No: SDS_BT003_1v0 Issue No : 1.0 Date : 13 Nov 2006 Page 1 of 16 blu2i Obex Push Client Host - Module Protocol 2006 COPYRIGHT Ezurio Ltd This document is issued by Ezurio Limited
More informationOverview. - General Data Types - Categories of Words. - Define Before Use. - The Three S s. - End of Statement - My First Program
Overview - General Data Types - Categories of Words - The Three S s - Define Before Use - End of Statement - My First Program a description of data, defining a set of valid values and operations List of
More informationQTERM-J10/N15 USER'S MANUAL REVISION 13
QTERM-J0/N5 USER'S MANUAL REVISION 3 M0-009-00 Rev 3 QSI CORPORATION 222 South West Temple #50 Salt Lake City, UTAH 845-2648 USA Phone 80-466-8770 Fax 80-466-8792 Email info@qsicorp.com Web www.qsicorp.com
More informationFEC-240G. Rev. Date
Model User s Manual Contents Contents. 1 Features... 2 Type Model and Serial Number... 2 Specifications... 3 Interface Connections...... 4 DIP Switch Setting... 6 Dimension... 7 Command Set Table... 8
More informationUsing the Command-Line Interface
Information About, page 1 How to Use the CLI to Configure Features, page 5 Information About Command Modes The Cisco IOS user interface is divided into many different modes. The commands available to you
More informationENCM 339 Fall 2017 Lecture Section 01 Lab 3 for the Week of October 2
page 1 of 11 ENCM 339 Fall 2017 Lecture Section 01 Lab 3 for the Week of October 2 Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Lab instructions and
More informationLESSON 4. The DATA TYPE char
LESSON 4 This lesson introduces some of the basic ideas involved in character processing. The lesson discusses how characters are stored and manipulated by the C language, how characters can be treated
More informationExperiment 3. TITLE Optional: Write here the Title of your program.model SMALL This directive defines the memory model used in the program.
Experiment 3 Introduction: In this experiment the students are exposed to the structure of an assembly language program and the definition of data variables and constants. Objectives: Assembly language
More informationChapter 8. Characters and Strings
Chapter 8 Characters and s OJECTIVES After you have read and studied this chapter, you should be able to Declare and manipulate data of the char data type. Write string processing programs using and uffer
More informationCipherLab Terminal Emulation. Supporting team Syntech Information Co., Ltd.
CipherLab Terminal Emulation Supporting team Syntech Information Co., Ltd. Table of Contents 1. What is Terminal Emulation? 2. How does Terminal Emulation work? 3. Configuration Menu in CipherNet 4. Practice
More informationCMSC 313 Lecture 03 Multiple-byte data big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes
Multiple-byte data CMSC 313 Lecture 03 big-endian vs little-endian sign extension Multiplication and division Floating point formats Character Codes UMBC, CMSC313, Richard Chang 4-5 Chapter
More informationNetwork Reference Models
Network Reference Models LECTURE (2) Network Reference Models A framework (guideline) for network implementation and troubleshooting. Divides complex functions into simpler components. Importance of reference
More information8-bit Microcontroller Application Note AVR244: AVR UART as ANSI Terminal Interface
BDTIC www.bdtic.com/semiconductor AVR244: AVR UART as ANSI Terminal Interface Features Make use of standard terminal software as user interface to your application. Enables use of a PC keyboard as input
More informationNext Generation Intelligent LCDs
Next Generation Intelligent LCDs 2D Run-Length Encoding Application Note Version 1.0 Document Date: April 30, 2013 Copyright by demmel products gmbh 2004-2013 Unless otherwise noted, all materials contained
More informationCOMP 2718: The OS, Shell, Terminal, and Text
COMP 2718: The OS, Shell, Terminal, and Text By: Dr. Andrew Vardy Adapted from the notes of Dr. Rod Byrne Outline What is an Operating System? The Shell and Terminal How are Characters Encoded? Standard
More informationMK D Imager Barcode Scanner Configuration Guide
MK-5500 2D Imager Barcode Scanner Configuration Guide V1.4 Table of Contents 1 Getting Started... 3 1.1 About This Guide... 3 1.2 Barcode Scanning... 3 1.3 Factory Defaults... 3 2 Communication Interfaces...
More informationJava Basic Datatypees
Basic Datatypees Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in the memory. Based on the data type of a variable,
More informationDatapanel. VT100 Terminal Emulator for Datapanels. Operator Interface Products. User's Manual
Datapanel Operator Interface Products VT100 Terminal Emulator for Datapanels User's Manual GFK-1698 July 1999 Warnings, Cautions, and Notes as Used in this Publication GFL-002 Warning Warning notices are
More informationCompiler Construction Assignment 2 Fall 2009
Compiler Construction Assignment 2 Fall 2009 Robert van Engelen Pretty Pretty is a simple pretty printer for C code. The implementation is based on a lexical analyzer for C programs. Pretty formats your
More informationSPP-R210 Command Manual Rev. 1.00
Rev. 1.00 http://www.bixolon.com Contents SPP-R210 Command Manual 1. Notice... 3 2. SPP-R210 Supported Commands... 4 2-1 Command Description Items... 5 2-2 Details of Control Commands... 6 Rev. 1.00 BIXOLON
More informationDo not start the test until instructed to do so!
Instructions: Print your name in the space provided below. This examination is closed book and closed notes, aside from the permitted one-page formula sheet. No calculators or other electronic devices
More informationUltimate-II MPS Printer Emulation
Ultimate-II MPS Printer Emulation René Garcia All rights reserved. Version 1.0, May 27 th 2016 Table of Contents 1. Introduction... 5 1.1. Context... 5 1.2. Purpose of this document... 5 2. Configuration...
More informationA programmer can create Internet application software without understanding the underlying network technology or communication protocols.
CS442 Comer Networking API Chapter 3 Chapter three of the textbook presents an API to perform network programming in the C language. While this chapter does not cover everything about network programming,
More information[MS-VUVP]: Intellectual Property Rights Notice for Open Specifications Documentation
[MS-VUVP]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationINT 21H and INT 10H Programming and Macros
Dec Hex Bin 4 4 00000100 ORG ; FOUR INT 21H and INT 10H Programming and Macros OBJECTIVES this chapter enables the student to: Use INT 10H function calls to: Clear the screen. Set the cursor position.
More informationASSIGNMENT 5 TIPS AND TRICKS
ASSIGNMENT 5 TIPS AND TRICKS linear-feedback shift registers Java implementation a simple encryption scheme http://princeton.edu/~cos26 Last updated on /26/7 : PM Goals OOP: implement a data type; write
More informationSC1602LC 16x2 Large Characters RS232 LCD Module. User s Manual. Large Viewing Area 99mm x 24mm. Large Character Size. 4.84mm x 9.66mm.
Large Viewing Area 99mm x 24mm Large Character Size 4.84mm x 9.66mm Features 16x2 Large Characters LCD RS232 Interface Simple Serial Command Wide Range Voltage Operation ( 9-15V ) 8 User s Defined Characters
More informationTrident Z Royal. Royal Lighting Control Software Guide
Trident Z Royal Royal Lighting Control Software Guide Introduction 1 2 3 About This Guide This guide will help you understand and navigate the Royal Lighting Control software, which is designed to control
More informationTORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:
Technical Documentation TORRIX RS485 with MODBUS Protocol Edition: 2017-03 Version: 3 Art. no.: 350187 FAFNIR GmbH Schnackenburgallee 149 c 22525 Hamburg Tel.: +49 / 40 / 39 82 07 0 Fax: +49 / 40 / 390
More informationData Representation COE 301. Computer Organization Prof. Muhamed Mudawar
Data Representation COE 30 Computer Organization Prof. Muhamed Mudawar College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals Presentation Outline Positional Number
More informationLRVC Protocols. L R V C P r o t o c o l s P a g e 1. Revision History: Date Version Author Changes. 1/28/2012 v0.1 Matthew Wickesberg Initial draft.
L R V C P r o t o c o l s P a g e 1 v0.2 Revision History: Date Version Author Changes 1/28/2012 v0.1 Matthew Wickesberg Initial draft. 2/9/2012 V0.2 Matthew Wickesberg Revised draft. L R V C P r o t o
More informationHome Page for the UPC-E
Home Page for the UPC-E Provides links to sub pages for setup. Displays UPC-E physical location- named by user. Indicates the operating full scale setting in Horsepower. Present output is shown for HP,
More informationIntel Architecture Segment:Offset Memory Addressing
Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly-language
More informationCOMPUTER NETWORK. Homework #1. Due Date: March 29, 2017 in class
Computer Network Homework#1 COMPUTER NETWORK Homework #1 Due Date: March 29, 2017 in class Question 1 What is the role of HTTP in a network application? What other components are needed to complete a Web
More informationCSE/EE 461 HTTP and the Web
CSE/EE 461 HTTP and the Web Last Time The Transport Layer Focus How does TCP share bandwidth? Topics AIMD Slow Start Application Presentation Session Transport Network Data Link Fast Retransmit / Fast
More informationModels: TD3000 Series. Table Displays. 2 by 20 character display USER MANUAL
Models: TD3000 Series Table Displays 2 by 20 character display USER MANUAL i NOTICE The manufacturer of the POS table display makes no representations or warranties, either expressed or implied, by or
More informationCS132/EECS148 - Instructor: Karim El Defrawy Midterm Spring 2013 Time: 1hour May 2nd, 2013
CS132/EECS148 - Instructor: Karim El Defrawy Midterm Spring 2013 : 1hour May 2nd, 2013 Total Points: 25 Attempt all problems. Problem #1: (5 points, ½ point each) Choose only one answer. You will not receive
More informationMidterm Exam, Fall 2015 Date: October 29th, 2015
Full Name: Midterm Exam, Fall 2015 Date: October 29th, 2015 Instructions: This midterm exam takes 70 minutes. Read through all the problems and complete the easy ones first. This exam is OPEN BOOK. You
More informationAN5179. RS232 communications with a terminal using the STM8 Nucleo-64 boards. Application note. Introduction
Application note RS232 communications with a terminal using the STM8 Nucleo-64 boards Introduction This application note describes how to control the STM8 Nucleo-64 boards from a terminal window running
More informationRevision 1.0.0, 5/30/14
6465 South 3000 East Suite 104 Holladay, Utah 84121 801-268-3088 phone 801-268-2772 fax www.centurysoftware.com Sales@centurysoftware.com Revision 1.0.0, 5/30/14 Table of Contents User s Guide... 1 Gestures...
More informationProgramming in C++ 4. The lexical basis of C++
Programming in C++ 4. The lexical basis of C++! Characters and tokens! Permissible characters! Comments & white spaces! Identifiers! Keywords! Constants! Operators! Summary 1 Characters and tokens A C++
More informationELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition
ELEC / COMP 177 Fall 2012 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Homework #1 Assigned today Due in one week Application layer: DNS, HTTP, protocols Recommend you start early
More informationBlack Box DCX3000 / DCX1000 Using the API
Black Box DCX3000 / DCX1000 Using the API updated 2/22/2017 This document will give you a brief overview of how to access the DCX3000 / DCX1000 API and how you can interact with it using an online tool.
More information