Nabto Serial Link Protocol
|
|
- Sara Strickland
- 5 years ago
- Views:
Transcription
1 Nabto Serial Link Protocol Nabto TM Nabto Serial Link Protocol Page 1 of 22
2 Contents Vocabulary... 4 Introduction... 5 Access Control... 5 Connection type... 5 Access Control List... 5 Protocol details... 6 Binary protocol... 6 Layers... 6 Commands... 8 Status codes... 9 NSLP version request... 9 NSLP version report... 9 Notification Query request Query response Event data push Event data acknowledge Queries Interrogate gateway Get access control list entry Add user to access control list Remove user from access control list Remove all users from access control list Nabto TM Nabto Serial Link Protocol Page 2 of 22
3 Get access control list size Get serial port bitrate Set serial port bitrate Configure network Streams Non-multiplexed stream Gateway settings Maximum packet length Show client id Parallel requests Device id Alternative HTML device driver Unrestricted local connections NSLP IO pins userver IO pins Device implementation check list Maximum packet length Full duplex communication Nabto TM Nabto Serial Link Protocol Page 3 of 22
4 Vocabulary ACL Client Command Device Device Command Device query Gateway Gateway Command Gateway query Local connection NSLP Query Remote connection Access Control List. The method used for permitting and denying specific user actions. A Nabto client. Either a Nabto enabled browser or an application using the client API. Used for communication between Gateway and Device. A unit using the Gateway to communicate with Nabto clients. A command sent from the Gateway to the Device. A query forwarded by the Gateway and handled by the Device. Device queries have a query identifier in the range [0x x7FFFFFFF]. A unit implementing the NSLP protocol to function as a gateway between Nabto clients and a Device. A command sent from the Device to the Gateway. A query handled by the Gateway. Gateway queries has a value query identifier in the range [0x xFFFFFFFF]. A connection to the Gateway from a client located on the same physical network as the Gateway. Nabto Serial Line Protocol. Used for communication between Gateway and Client. A connection to the Gateway from a client not located on the same physical network as the Gateway. Nabto TM Nabto Serial Link Protocol Page 4 of 22
5 Introduction This document is the specification of the Nabto Serial Link Protocol (NSLP). Previous knowledge of Nabto is required to read this specification. Please refer to Nabto s starter kit documentation on for a detailed description of Nabto. The NSLP protocol is designed to make it possible to expose a device as a Nabto enabled device using a gateway device like the Nabto userver. This setup is illustrated below. Client Device Hostprocessor NSLIP Gateway (Module) Internet Client Device Client Figure 1 A setup using an NSLP gateway. Access Control The NSLP gateway provides two methods of access control namely connection type check and access control list (ACL) check. Furthermore, as the client s id is (optionally) sent to the Device along with Device Requests custom access control can be implemented on the Device. Connection type The Gateway distinguishes between clients connected to the same physical network as the Gateway and those that are not. When a client is located on the same physical network the connection type is local. In all other cases, the connection type is remote. Local connections automatically pass access control while remote connections must also pass the ACL check described below. Access Control List For a client to pass the ACL check two criteria must be fulfilled: Nabto TM Nabto Serial Link Protocol Page 5 of 22
6 1. The client s id must be present in the ACL. 2. The access rights associated with client s ACL entry must permit the requested action. a. If a client is in the ACL but have no rights the client is considered black listed. The table below lists the rights a user can be assigned including the bit index to use when accessing the actual ACL. Index Name Description 0 Gateway Request Allow the client to send requests to the Gateway. 1 Device Request Allow the client to send requests to the Device. 2 Multiplexed Stream Allow the client to open multiplexed streams. 3 Non- multiplexed Stream Allow the client to open non-multiplexed streams. 4 ACL Allow the client to read and write the ACL. 5 IO Allow control of the IO pins. 6 Configuration Allow changes to be made to the configuration store. Protocol details The Device communicates with the Gateway using commands. A command consists of a command identifier and, if appropriate, one or more parameters. This information is sent to the Gateway either as a compact binary representation or in human readable format. These representations are referred to as the binary protocol and the textual protocol respectively and are described in detail in the following. Binary protocol The following describes the binary protocol using a layered architecture. Layers NSLP applications NSLP Server NSLP Client Application layer NSA NCA Transport layer Link layer NBT NBT NBL (SLIP) NBL (SLIP) Physical layer UART UART Nabto TM Nabto Serial Link Protocol Page 6 of 22
7 NSLP applications NSLP Server Implemented by Nabto. NSLP Client Implemented by the customer to interface with a NSLP gateway. Builds on top of the NSLP client API. A demonstration implementation is provided by Nabto. Application layer Exposes the NSLP command API to applications. Responsibilities Construction of outgoing packets and decoding of incoming packets. Converts from NSLP endianness to host endianness (where necessary). NSLP Server API Exposes the commands relevant for a server application. NSLP Client API Exposes the commands relevant for a client application. Transport layer (NSLP Binary Transport - NBT) Provides reliable transfer of packets between two NSLP nodes. Responsibilities Transmission and reception of packets. Checksum generation and check to detect damaged packets. Sequence number generation and check to avoid duplicated packets. Interface Send Receive The checksum is the ones -complement sum of all header and payload bytes. During checksum calculation, the checksum field in the header must be zero. Link layer (NSLP Binary Link - NBL) Responsibilities Transmission and reception of frames. Framing. Nabto TM Nabto Serial Link Protocol Page 7 of 22
8 Byte stuffing. Interface void Send(uint8* frame, uint16 framelength) uint16 Receive(uint8* frame) The standard link layer protocol for NSLP is SLIP. Please refer to RFC1055 for details on SLIP. Physical layer The actual physical layer depends on the physical platform used. The general term communication port is used which will in most applications be a UART. Interface void Write(uint8) uint8 Read() uint16 CanWrite() uint16 CanRead() Commands This section describes the commands provided by the NSLP protocol for communication with the Device. Commands can originate from either the Gateway or the Device. Both the Gateway and the Device send commands in a stop-and-wait manner in which the other end must acknowledge a packet (if appropriate) before the next packet can be sent. As a result, both ends must be able to accept a command while waiting for an acknowledge packet. The table below lists the data types used in commands. NSLP operates in big endian mode. Name C equivalent Description uint8 uint8_t A single byte interpreted as an unsigned number in the range 0 through 255. int8 int8_t A single byte interpreted as a signed number in the range -128 through 127. uint16 uint16_t Two bytes interpreted as an unsigned number in the range 0 through int16 int16_t Two bytes interpreted as a signed number in the range through Nabto TM Nabto Serial Link Protocol Page 8 of 22
9 uint32 uint32_t Four bytes interpreted as an unsigned number in the range 0 through int32 int32_t Four bytes interpreted as a signed number in the range through uint8[] uint8_t[] A sequence of bytes preceded by a uint16 indicating the number of bytes. string char[] A zero-terminated array of bytes interpreted as an UTF8 string. Status codes Commands and queries share a common set of status values. These are detailed in the table below. Value Name Description 0 Success The requested operation completed successfully. 1 Unable to perform action An error occurred that prevented the requested operation to be completed. 2 Missing rights The user does not have the required access rights to perform the requested operation NSLP version request Requests the version of the NSLP protocol in use on the other NSLP node. Source: Gateway, Device Command identifier: Parameters: None NSLP version report Informs the receiving node of the version of the NSLP in use on the transmitting node. Nabto TM Nabto Serial Link Protocol Page 9 of 22
10 Source: Gateway, Device Command identifier: Parameters: Major version uint32 The major part of the NSLP version number. Minor version uint32 The minor part of the NSLP version number. Notification A notification informs the Device that an event has occurred on the Gateway. Source: Gateway Command identifier: Parameters: The list below enumerates the possible events. Event uint32 The event identifier. See the list below. Identifier Event 1 Ethernet link state changed from down to up. 2 Ethernet link state changed from up to down. 3 DHCP assignment succeeded. 4 Connection to GSP established. 5 Connection to GSP lost. 6 Event data queue is now empty. 7 Non-multiplexed stream opened. 8 Non-multiplexed stream forced open. Query request Nabto TM Nabto Serial Link Protocol Page 10 of 22
11 The Query Request command is sent to the Device when the Gateway receives a Device Query i.e. a query not intended for the Gateway itself. A device may also use this command to execute queries on the Gateway. Source: Gateway, Device Command identifier: Parameters: Flags uint32 Bit 0: fromlocalnetwork. This bit is set if the request originated from the LAN. Bit 1: fromserialport: This bit is set if the request originated from the serial port. All other bits are reserved for future use and should be ignored. [Sequence Number] uint32 A unique sequence number identifying this specific query. This must be used when acknowledging or responding to the query. This field is only included if the configuration flag Parallel Requests is true. [Client id] string The id of the client sending the request. This field is only included if configuration flag Show client id is true. Identifier uint32 The query identifier as specified in the unabto_queries.xml file. Parameters uint8[] The query request parameters as specified in the unabto_queries.xml file. Query response The packet sent out by a Gateway or a Device as a response to a Query Request command. Source: Gateway, Device Command identifier: Parameters: [Sequence Number] uint32 The sequence number of the query being responded to. This field is only included if Parallel Requests is true. Nabto TM Nabto Serial Link Protocol Page 11 of 22
12 Status uint Unable to perform action 1 - Missing rights to perform action 2 - Parameters uint8[] The query response parameters as specified in the unabto_queries.xml file. Event data push Push data into the Gateways event data queue. For more information about the Event Data channel, please refer to document <TEN004 Nabto Piggyback Message system.docx> Hint: To determine the size of the event data queue on the Gateway send an Event Data Push command with no data. Source: Device Command identifier: Parameters: Data uint8[] The data to push into the event data queue. Event data acknowledge Acknowledge a previous push command informing the Device of the amount of data that was successfully pushed and the amount of free space in the data queue. Source: Gateway Command identifier: Parameters: Pushed uint16 The number of bytes successfully pushed into the event data queue on the Gateway. Free uint16 The number of bytes currently free in the event data queue on the Gateway. Size uint16 The total size of the event data queue on the Gateway. Nabto TM Nabto Serial Link Protocol Page 12 of 22
13 Queries This section describes the Nabto queries accepted by the Gateway. These queries are termed Gateway Queries, as they are targeting the gateway itself. Each query is described along with its input and output parameters, its query id and the access rights required to execute it. Interrogate gateway Get a list of information objects from the gateway. The HTML device driver may use these objects to adapt to different gateway configurations or revisions. An information object is a key-value pair of the form shown in the table below. Key uint16 The information object identifier Value * The value of the particular information object. The key is a uint32 value from the list below. The value has the data type specified in the list next to identifier. Identifier Value data type Description 0 uint32[] Bootloader version. Index 0 in the array is major version number and index 1 is minor. 1 uint32[] Application version. Index 0 in the array is major version number and index 1 is minor. 2 uint8 ACL enabled. If this key is defined, the gateway uses ACL. The value specifies the number of entries in the ACL. Query identifier: interrogate (0x ) Access rights required: Gateway Request Request format: Response format: LowestIdentifier uint16 The lowest information object identifier to report. Set this field to 0 to include all objects. HighestIdentifier uint16 The highest information object identifier to report. Set this field to to include all objects. Nabto TM Nabto Serial Link Protocol Page 13 of 22
14 Status uint8 See Status Codes above. Data raw The information object array encoded as a byte array. Get access control list entry Get user at the specified entry in the ACL. If an entry outside the range [0..ACL size - 1] is specified an empty entry (name =, rights = 0) will be returned. Query identifier: acl_get_user (0x ) Access rights required: Gateway Request, ACL Request format: Response format: Index uint16 Index in the ACL. Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - Invalid entry specified 3 - Unused entry 4 - Entry in use Name raw The name of the user. Rights uint16 The users access rights. Add user to access control list Add the specified user to the gateway s ACL. If the user is already in the ACL, the user s access rights will be updated. Query identifier: acl_add_user (0x ) Access rights required: Gateway Request, ACL Request format: Nabto TM Nabto Serial Link Protocol Page 14 of 22
15 Name raw The client id. Rights uint16 The access rights to assign to the user. Response format: Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - ACL is full 3 - Nothing changed 4 - User added 5 - Rights updated Remove user from access control list Remove the specified user from the gateway s ACL. Query identifier: acl_remove_user (0x ) Access rights required: Gateway Request, ACL Request format: Response format: Name raw The id of the client to remove. Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - User not found 3 - Success Remove all users from access control list Remove all users from the ACL. This action is irreversible. Query identifier: acl_remove_all (0x ) Access rights required: Gateway Request, ACL Request format: Takes no parameters. Nabto TM Nabto Serial Link Protocol Page 15 of 22
16 Response format: Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - ACL was already cleared 3 - Success Get access control list size Get the size of the ACL. Query identifier: acl_get_size (0x ) Access rights required: Gateway Request, ACL Request format: Takes no parameters. Response format: Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - Success Size uint16 The number of entries the ACL can hold. Get serial port bitrate Returns the serial ports current bitrate. Query identifier: 0x Access rights required: Gateway Request Request format: Store bool If false the value currently in use is returned otherwise the value from the configuration store is returned. Response format: Nabto TM Nabto Serial Link Protocol Page 16 of 22
17 Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - Success Bitrate uint32 The serial ports bitrate. Set serial port bitrate Changes the bitrate of the serial port. Query identifier: 0x Access rights required: Gateway Request Request format: Bitrate uint32 The new bitrate. Store bool If true the new value is persisted and will be reused at reset. Response format: Status uint8 0 - Unable to perform action 1 - Missing rights to perform action 2 - Success Configure network Configures the network interface of the gateway. Query identifier: 0x800000xx Access rights required: Gateway Request, Configuration Request format: IP uint32 IP address of the gateway. Set to 0 to enable DHCP (default). Nabto TM Nabto Serial Link Protocol Page 17 of 22
18 Netmask uint32 Netmask of the gateway. Gateway uint32 The default gateway on the network. DNS uint32 Address of DNS server. Response format: Status uint8 See Status Codes above. Streams A client can open streams to the Device through the Gateway. A stream provides a bidirectional channel between a client and a server appropriate for sending data that is naturally stream oriented (as opposed to the requestresponse based Device queries). Once a stream has been opened to the gateway, a Service Configuration String (SCS) must be sent. A SCS has the following format: <service identifier> [<arguments>]\n The service responds with a Service Response String (SRS). The format of an SRS depends on the service in question but will always be a new-line terminated string. The NSLP server supports the services described below. Non-multiplexed stream A non-multiplexed stream provides a direct client connection to the Gateway s serial port. Every byte written to the stream will appear unaltered at the other end. No encoding or interpretation is performed on this data by the Gateway. The service identifier for non-multiplexed streams is nm nmsp fnmsp msp Once a non-multiplexed stream has been opened, no other streams may be opened. The Gateway also rejects Device Requests. This will continue until the client closes the stream. A non-multiplexed stream cannot be opened when either One or more requests are being executed, or Nabto TM Nabto Serial Link Protocol Page 18 of 22
19 One or more streams are opened When a non-multiplexed stream is requested in one of these circumstances, the stream is closed by the Gateway. Sending a N (upper case N ) instead of a n will force the non-multiplexed stream open and abort all other actions. When a non-multiplexed stream is opened, a notification is sent to the device as the last command before switching to non-multiplexed stream mode on the serial port. A client must have assigned non-multiplexed stream access right to open a non-multiplexed stream. Gateway settings This section details the settings that can be configured on the Gateway. Each parameter is identified by a uint32. The type of the value depends on the parameter. Maximum packet length Identifier: 2 Type: uint16 Value: Default: 100 Show client id Identifier: 4 Type: bool Value: false true Default: false Parallel requests Identifier: 5 Type: bool Value: false true Default: false Device id Identifier: 6 Nabto TM Nabto Serial Link Protocol Page 19 of 22
20 Type: string Value: Default: Note: Changing the gateway s id triggers a reattach of the gateway. Alternative HTML device driver Identifier: 7 Type: string Value: Default: Note: Changing the HTML device driver triggers a reattach of the gateway. Unrestricted local connections If Unrestricted local connections configuration is true local connections bypass the ACL. Identifier: 8 Type: bool Value: Default: true NSLP IO pins The NSLP protocol allows for read and write operations on both digital and analog IO pins. In the NSLP domain, these IO pins are referenced using a zero-based integer identifier. The capabilities of these pins depend on the physical platform. The following table lists the possible capabilities. Capability DO DI AI PWM CNT Description Digital output. Digital input. Analog input. Pulse width modulation output. Counter input. Nabto TM Nabto Serial Link Protocol Page 20 of 22
21 SPI IIC UART SPI serial port. A pin is either SCK, SDI or SDO. IIC serial port. A pin is either SDA or SCL. UART serial port. A pin is either RX or TX. userver IO pins This section describes the capabilities of the IO pins of the userver platform. Identifier Capabilities 0 DI, DO, SPI (SCK), IIC (SCL) 1 DI, DO, SPI (SDI), IIC (SDA) 2 DI, DO, SPI (SDO) 3 DI, DO 4 DI, DO 5 DI, DO, UART (RX) 6 DI, DO, UART (TX) 7 DI, DO, CNT 8 DI, DO, PWM 9 DI, DO, AI 10 DI, DO, AI Device implementation check list The intention of the section is to give the designer of NSLP protocol clients (devices) a list of things to keep in mind when integrating an NSLP server in a design. Maximum packet length The receiving state machine must be able to handle the specified packet length (not including framing and byte stuffing). Full duplex communication Nabto TM Nabto Serial Link Protocol Page 21 of 22
22 The NSLP protocol handler on the Device must be able to handle an incoming packet while it itself is sending a packet or waiting for a packet acknowledgement. Nabto TM Nabto Serial Link Protocol Page 22 of 22
Nabto SDK Nabto Serial Link Protocol
Nabto SDK Nabto Serial Link Protocol Nabto/001/TEN/011 Nabto Nabto/001/TEN/011 Nabto Serial Link Protocol Page 1 of 23 Vocabulary Contents 1 Vocabulary... 4 2 Introduction... 5 3 Access control... 5 3.1
More informationInspirel. YAMI4 Requirements. For YAMI4Industry, v page 1
YAMI4 Requirements For YAMI4Industry, v.1.3.1 www.inspirel.com info@inspirel.com page 1 Table of Contents Document scope...3 Architectural elements...3 Serializer...3 Socket...3 Input buffer...4 Output
More information2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING
UNIT-2 2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS 2.2.1 Pure ALOHA 2.2.2 Slotted ALOHA 2.2.3 Carrier Sense Multiple Access 2.2.4 CSMA with Collision Detection 2.2.5 Collision Free Protocols 2.2.5.1
More informationµtasker Document µtasker Multicasting and Internet Group Management Protocol (IGMP)
Embedding it better... µtasker Document µtasker Multicasting and Internet Group Management Protocol (IGMP) utasker_igmp.doc/0.01 Copyright 2014 M.J.Butcher Consulting Table of Contents 1. Introduction...3
More informationHomework 4 assignment for ECE374 Posted: 04/06/15 Due: 04/13/15
ECE374: Homework 4 1 Homework 4 assignment for ECE374 Posted: 04/06/15 Due: 04/13/15 Note: In all written assignments, please show as much of your work as you can. Even if you get a wrong answer, you can
More informationRM0327 Reference manual
Reference manual Multi-Target Trace API version 1.0 Overview Multi-Target Trace (MTT) is an application instrumentation library that provides a consistent way to embed instrumentation into a software application,
More informationOmni Flow Computer Master Driver v1.x Omni Flow Computer Master Modicon Compatible Driver 1.x
Omni Flow Computer Master Driver v1.x Omni Flow Computer Master Modicon Compatible Driver 1.x Information Sheet for Crimson v3.0+ Compatible Devices Omni Flow Computer devices equipped with Ethernet or
More informationTransport Protocols. Raj Jain. Washington University in St. Louis
Transport Protocols Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse473-05/ 16-1 Overview q TCP q Key features
More informationNetwork Processor Interface User s Guide
Network Processor Interface User s Guide Texas Instruments, Inc. San Diego, California USA Copyright 2015-2016 Texas Instruments, Inc. All rights reserved. TABLE OF CONTENTS 1 OVERVIEW... 3 1.1 INTRODUCTION...
More informationUDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data
ELEX 4550 : Wide Area Networks 2015 Winter Session UDP and TCP is lecture describes the two most common transport-layer protocols used by IP networks: the User Datagram Protocol (UDP) and the Transmission
More informationWinford Engineering ETH32 Protocol Reference
Winford Engineering ETH32 Protocol Reference Table of Contents 1 1 Overview 1 Connection 1 General Structure 2 Communications Summary 2 Port Numbers 4 No-reply Commands 4 Set Port Value 4 Set Port Direction
More informationMultimedia in the Internet
Protocols for multimedia in the Internet Andrea Bianco Telecommunication Network Group firstname.lastname@polito.it http://www.telematica.polito.it/ > 4 4 3 < 2 Applications and protocol stack DNS Telnet
More informationIP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia
IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist
More informationRequest for Comments: 938 February 1985
Network Working Group Request for Comments: 938 Trudy Miller ACC February 1985 Functional and Interface Specification STATUS OF THIS MEMO This RFC is being distributed to members of the DARPA research
More informationa. (4pts) What general information is contained in a LSR-PDU update that A might send?
B1: Networks (25 points) Link State Routing (LSR). (Hint: flooding and Dijkstra s Algorithm). Assume Router A has physical links to Routers W, X, Y, Z. a. (4pts) What general information is contained in
More informationAn SCTP-Protocol Data Unit with several chunks
SCTP for Beginners Section 2 SCTP Packets he protocol data units (PDU) of SCTP are called SCTP packets. If SCTP runs over IP (as described in RFC2960 ), an SCTP packet forms the payload of an IP packet.
More information6 Controlling the Technomad Encoder
T 6 Controlling the Technomad Encoder 6.1 User control interface The Techomad Encoder has a local web server built in. You can control the Technomad Encdoder from anywhere on your network using a standard
More informationSequence Number. Acknowledgment Number. Data
CS 455 TCP, Page 1 Transport Layer, Part II Transmission Control Protocol These slides are created by Dr. Yih Huang of George Mason University. Students registered in Dr. Huang's courses at GMU can make
More informationCAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features
CAN / Interface Adapter For SHP Series Total Power: < 1 Watts Input Voltage: 5V Internal Outputs: CAN,, USB, I 2 C Special Features Input Protocols: 1) using Modbus 2) CAN using modified Modbus Output
More informationThrift specification - Remote Procedure Call
Erik van Oosten Revision History Revision 1.0 2016-09-27 EVO Initial version v1.1, 2016-10-05: Corrected integer type names. Small changes to section headers. Table of Contents 1.
More information2G Actuator Communications Protocol Document Rotary & Linear Actuators
2752 Capitol Drive Suite #103 Sun Prairie, WI 53590 2150080 2G Actuator Packets - Rotary & Linear Revision AI Date 4/25/2018 2G Actuator Communications Protocol Document Rotary & Linear Actuators DOCUMENT
More informationSoftware Design Specification
Software Design Specification Z-Wave Management Command Class Specification Document No.: SDS13782 Version: Description: The document describes the Z-Wave Command Classes and associated Commands used by
More informationIP71X Ethernet Interface Communication Protocol V1.6
IP71X Ethernet Interface Communication Protocol V1.6 IP71X series Ethernet singlechip interface module connects with computer terminal; the computer initiates communication, and computer terminal is communication
More informationOEM API Specification
OEM API Specification For Wasatch Photonics OEM Spectrometers WasatchDevices.com Revised 2016-08-26 Page 1 Revision Log Revision Date By Reason 1.0 2016-08-29 J. Traud Initial Release Contents General
More informationEGW1-IA3-MB User s Manual
www.exemys.com Rev. 0 1 Products are in constant evolution to satisfy our customer needs. For that reason, the specifications and capabilities are subject to change without prior notice. Updated information
More informationor between microcontrollers)
: Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016
More informationCS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP
CS 5520/ECE 5590NA: Network Architecture I Spring 2008 Lecture 13: UDP and TCP Most recent lectures discussed mechanisms to make better use of the IP address space, Internet control messages, and layering
More informationSB72EX User's Manual
etburner SB72EX User's Manual Revision: 1.8 October 8, 2009 SB72EX User's Manual, 350030-001 Table of Contents Table of Contents...2 Overview of the SB72EX Dual-port Serial to Ethernet Device... 3 Overview
More informationCS 43: Computer Networks. 15: Transport Layer & UDP October 5, 2018
CS 43: Computer Networks 15: Layer & UDP October 5, 2018 Reading Quiz Lecture 15 - Slide 2 Layer Moving down a layer. Current perspective: lication is the boss Usually executing within the OS kernel. The
More informationPreliminary File System User Manual
GHI Electronics, LLC 501 E. Whitcomb Ave. Madison Heights, Michigan 48071 Phone: (248) 397-8856 Fax: (248) 397-8890 www.ghielectronics.com Preliminary File System User Manual Where Hardware Meets Software
More informationBLUEGIGA WI-FI SOFTWARE
BLUEGIGA WI-FI SOFTWARE API DOCUMENTATION Thursday, 24 November 2016 Version 3.0 Table of Contents 1 Version History - WF121 SW API 5 2 Introduction to Bluegiga Wi-Fi software 7 2.1 Bluegiga Wi-Fi Stack
More informationdysect DICOM Conformance Statement dysect DICOM Conformance Statement
dysect DICOM Conformance Statement 1 dysect DICOM Conformance Statement (041-00-0007 H) dysect Conformance Statement.doc DeJarnette Research Systems, Inc. 401 Washington Avenue, Suite 1010 Towson, Maryland
More informationInternet of Things: Using MRAA to Abstract Platform I/O Capabilities
Internet of Things: Using MRAA to Abstract Platform I/O Capabilities Integrated Computer Solutions, Inc. Contents 1. Abstract... 3 2. MRAA Overview... 3 2.1. Obtaining MRAA APIs and API Documentation...
More informationRead section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX
CP2130 INTERFACE SPECIFICATION 1. Introduction The Silicon Labs CP2130 USB-to-SPI bridge is a device that communicates over the Universal Serial Bus (USB) using vendor-specific control and bulk transfers
More informationTHE JOINT ARCHITECTURE FOR UNMANNED SYSTEMS
THE JOINT ARCHITECTURE FOR UNMANNED SYSTEMS Reference Architecture Specification Volume II, Part 2 Message Definition Version 3.2 August 13, 2004 TABLE OF CONTENTS Title Page 1 INTRODUCTION 1 2 JAUS STANDARDS
More informationEE 610 Part 2: Encapsulation and network utilities
EE 610 Part 2: Encapsulation and network utilities Objective: After this experiment, the students should be able to: i. Understand the format of standard frames and packet headers. Overview: The Open Systems
More informationNetwork Model. Why a Layered Model? All People Seem To Need Data Processing
Network Model Why a Layered Model? All People Seem To Need Data Processing Layers with Functions Packet Propagation Each router provides its services to support upper-layer functions. Headers (Encapsulation
More informationPowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map
70022-05-XX PROTOCOL DOCUMENT 04/2007 PowerLogic ION6200 Serial Communications Protocol and ION / Modbus Register Map This document explains the Modbus protocol on the ION6200 meter. The ION6200 meter
More informationTransport Protocol (IEX-TP)
Transport Protocol (IEX-TP) Please contact IEX Market Operations at 646.568.2330 or marketops@iextrading.com, or your IEX onboarding contact with any questions. Version: 1.1 Updated: December 22, 2014
More informationCSCI-1680 Link Layer I Rodrigo Fonseca
CSCI-1680 Link Layer I Rodrigo Fonseca Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Last time Physical layer: encoding, modulation Today Link layer framing Getting frames
More informationCS 4390 Computer Networks. Transport Services and Protocols
CS 4390 Computer Networks UT D data Session 07 Transport Layer Overview and UDP Adapted from Computer Networking a Top-Down Approach 1996-2012 by J.F Kurose and K.W. Ross, All Rights Reserved Transport
More information[MS-RDPEMC]: Remote Desktop Protocol: Multiparty Virtual Channel Extension
[MS-RDPEMC]: Remote Desktop Protocol: Multiparty Virtual Channel Extension Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications
More informationBLUETOOTH MOVEMENT AND SHOCK LOGGER API DOCUMENTATION. Version 2.0.1
BLUETOOTH MOVEMENT AND SHOCK LOGGER API DOCUMENTATION Version 2.0.1 BLUE MAESTRO S STANDARD LICENSE AND DISCLAIMER Copyright 2016 Blue Maestro Limited. All Rights Reserved. The copyright in the software
More informationConfiguring Virtual Servers
3 CHAPTER This section provides an overview of server load balancing and procedures for configuring virtual servers for load balancing on an ACE appliance. Note When you use the ACE CLI to configure named
More informationDCB1M - Transceiver for Powerline Communication
Preliminary Description DCB1M - Transceiver for Powerline Communication The information in this data sheet is preliminary and may be changed without notice. 1. General The DCB1M is an innovative technology
More informationCS 261 Fall Mike Lam, Professor Integer Encodings
CS 261 Fall 2018 Mike Lam, Professor https://xkcd.com/571/ Integer Encodings Integers Topics C integer data types Unsigned encoding Signed encodings Conversions Integer data types in C99 1 byte 2 bytes
More informationSSE232-LE Serial Server- User s Manual
www.exemys.com Rev.6 1 Products are in constant evolution to satisfy our customer needs. For that reason, the specifications and capabilities are subject to change without prior notice. Updated information
More informationInternet Engineering Task Force (IETF) Request for Comments: 8038 Category: Standards Track. S. B S Mojo Networks, Inc. C. McDowall.
Internet Engineering Task Force (IETF) Request for Comments: 8038 Category: Standards Track ISSN: 2070-1721 P. Aitken, Ed. Brocade B. Claise Cisco Systems, Inc. S. B S Mojo Networks, Inc. C. McDowall Brocade
More informationBLUEGIGA WI-FI SOFTWARE
BLUEGIGA WI-FI SOFTWARE API DOCUMENTATION Tuesday, 2 June 2015 Version 2.2 Table of Contents 1 Version History - WF121 SW API 5 2 Introduction to Bluegiga Wi-Fi software 7 2.1 Bluegiga Wi-Fi Stack 7 2.2
More informationMarten van Dijk, Syed Kamran Haider
ECE3411 Fall 2015 Wrap Up Review Session Marten van Dijk, Syed Kamran Haider Department of Electrical & Computer Engineering University of Connecticut Email: vandijk, syed.haider@engr.uconn.edu Pulse Width
More informationComputer Science 461 Midterm Exam March 14, :00-10:50am
NAME: Login name: Computer Science 461 Midterm Exam March 14, 2012 10:00-10:50am This test has seven (7) questions, each worth ten points. Put your name on every page, and write out and sign the Honor
More informationWiMOD LR Base Plus Host Controller Interface
WiMOD LR Base Plus Host Controller Interface Specification Version 1.2 Document ID: 4000/40140/0125 IMST GmbH Carl-Friedrich-Gauß-Str. 2-4 47475 KAMP-LINTFORT GERMANY Introduction Document Information
More informationWiMOD LoRaWAN EndNode Modem HCI Specification
WiMOD LoRaWAN EndNode Modem HCI Specification Specification Version 1.13 Document ID: 4100/40140/0073 IMST GmbH Carl-Friedrich-Gauß-Str. 2-4 47475 KAMP-LINTFORT GERMANY Introduction Document Information
More information[MS-SQOS]: Storage Quality of Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MS-SQOS]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationAn 8051 Based Web Server
An 8051 Based Web Server Project by Mason Kidd Submitted to Dr. Donald Schertz EE 452 Senior Laboratory II May 14 th, 2002 Table of Contents Page 1. Abstract 1 2. Functional Description 2 3. Block Diagram
More informationECE4110 Internetwork Programming. Introduction and Overview
ECE4110 Internetwork Programming Introduction and Overview 1 EXAMPLE GENERAL NETWORK ALGORITHM Listen to wire Are signals detected Detect a preamble Yes Read Destination Address No data carrying or noise?
More informationip dhcp-client network-discovery through ip nat sip-sbc
ip dhcp-client network-discovery through ip nat sip-sbc ip dhcp-client network-discovery, page 3 ip dhcp-client update dns, page 5 ip dhcp drop-inform, page 8 ip dhcp-relay information option server-override,
More informationHardware interface and protocol of data exchange with mobile beacon via USB, UART and SPI interfaces.
Hardware interface and protocol of data exchange with mobile beacon via USB, UART and SPI interfaces. Version 2016.03.07 Valid for firmware v4.07 and newer To get location data from mobile beacon (hedgehog),
More informationLecture 3: The Transport Layer: UDP and TCP
Lecture 3: The Transport Layer: UDP and TCP Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4395 3-1 The Transport Layer Provides efficient and robust end-to-end
More information... Application Note AN-531. PCI Express System Interconnect Software Architecture. Notes Introduction. System Architecture.
PCI Express System Interconnect Software Architecture Application Note AN-531 Introduction By Kwok Kong A multi-peer system using a standard-based PCI Express (PCIe ) multi-port switch as the system interconnect
More informationTCP /IP Fundamentals Mr. Cantu
TCP /IP Fundamentals Mr. Cantu OSI Model and TCP/IP Model Comparison TCP / IP Protocols (Application Layer) The TCP/IP subprotocols listed in this layer are services that support a number of network functions:
More informationData Link Layer (1) Networked Systems 3 Lecture 6
Data Link Layer (1) Networked Systems 3 Lecture 6 Purpose of Data Link Layer Arbitrate access to the physical layer Structure and frame the raw bits Provide flow control Detect and correct bit errors Perform
More informationRPLIDAR. Interface Protocol and Application Notes. Low Cost 360 Degree Laser Range Scanner. Applied to RPLIDAR A1 & A rev.1.
RPLIDAR 2017-05-15 rev.1.0 Low Cost 360 Degree Laser Range Scanner Interface Protocol and Application Notes Applied to RPLIDAR A1 & A2 ww w.slam tec.com Shanghai Slam tec.c o.,ltd Contents CONTENTS...
More informationCCNA 1 Chapter 7 v5.0 Exam Answers 2013
CCNA 1 Chapter 7 v5.0 Exam Answers 2013 1 A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the
More informationTransport Layer. Gursharan Singh Tatla. Upendra Sharma. 1
Transport Layer Gursharan Singh Tatla mailme@gursharansingh.in Upendra Sharma 1 Introduction The transport layer is the fourth layer from the bottom in the OSI reference model. It is responsible for message
More informationMarten van Dijk Department of Electrical & Computer Engineering University of Connecticut
ECE3411 Fall 2016 Wrap Up Review Session Marten van Dijk Department of Electrical & Computer Engineering University of Connecticut Email: marten.van_dijk@uconn.edu Slides are copied from Lecture 7b, ECE3411
More informationECE 435 Network Engineering Lecture 15
ECE 435 Network Engineering Lecture 15 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 26 October 2016 Announcements HW#5 due HW#6 posted Broadcasts on the MBONE 1 The Transport
More informationTransport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections
Application / Transport Interface Application requests service from transport layer Transport Layer Application Layer Prepare Transport service requirements Data for transport Local endpoint node address
More informationExamination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk SOLUTIONS
Examination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk Date: January 17 th 2006 at 14:00 18:00 SOLUTIONS 1. General (5p) a) Draw the layered
More informationIntroduction to Networks and the Internet
Introduction to Networks and the Internet CMPE 80N Announcements Project 2. Reference page. Library presentation. Internet History video. Spring 2003 Week 7 1 2 Today Internetworking (cont d). Fragmentation.
More informationTechnical Notes. QoS Features on the Business Ethernet Switch 50 (BES50)
Technical Notes QoS Features on the Business Ethernet Switch 50 (BES50) Version: NN70000-004 issue 1.00 Date: February 3 rd, 2009 Status: Released Copyright 2009 Nortel Networks. All rights reserved. The
More informationEmbedded Systems - FS 2018
Institut für Technische Informatik und Kommunikationsnetze Prof. L. Thiele Embedded Systems - FS 2018 Lab 0 Date : 28.2.2018 Prelab Filling the gaps Goals of this Lab You are expected to be already familiar
More informationAnybus CompactCom. Host Application Implementation Guide. Doc.Id. HMSI Doc. Rev Connecting DevicesTM
Anybus CompactCom Doc. Rev. 1.10 Connecting DevicesTM +$/067$' &+,&$*2.$5/658+( 72.
More information[MS-WINSRA]: Windows Internet Naming Service (WINS) Replication and Autodiscovery Protocol
[MS-WINSRA]: Windows Internet Naming Service (WINS) Replication and Autodiscovery Protocol Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes
More informationSpiNNaker Application Programming Interface (API)
SpiNNaker Application Programming Interface (API) Version 2.0.0 10 March 2016 Application programming interface (API) Event-driven programming model The SpiNNaker API programming model is a simple, event-driven
More informationUniversity of New Hampshire InterOperability Laboratory Ethernet in the First Mile Consortium
University of New Hampshire InterOperability Laboratory As of July 26, 2004 the Ethernet in the First Mile Clause 57 OAM Conformance Test Suite version 0.4 has been superseded by the release of the Clause
More informationPedometer 3 Click. PID: MIKROE 3259 Weight: 24 g
Pedometer 3 Click PID: MIKROE 3259 Weight: 24 g The Pedometer 3 click is a tri-axis acceleration sensing Click board utilizing the KX126-1063. An advanced three-axis acceleration sensor, the KX126-1063
More informationAvro Specification
Table of contents 1 Introduction...2 2 Schema Declaration... 2 2.1 Primitive Types... 2 2.2 Complex Types...2 2.3 Names... 5 3 Data Serialization...6 3.1 Encodings... 6 3.2 Binary Encoding...6 3.3 JSON
More informationNetworking Technologies and Applications
Networking Technologies and Applications Rolland Vida BME TMIT Transport Protocols UDP User Datagram Protocol TCP Transport Control Protocol and many others UDP One of the core transport protocols Used
More informationVersion 3.1 Format Specification MDF Format 1. Format Specification MDF Format Version 3.1
Version 3.1 Format Specification MDF Format 1 Format Specification MDF Format Version 3.1 Version 3.1 Format Specification MDF Format 2 Document Management of Specification Revision History Document Version
More informationWireless Sensor Networks. Introduction to the Laboratory
Wireless Sensor Networks Introduction to the Laboratory c.buratti@unibo.it +39 051 20 93147 Office Hours: Tuesday 3 5 pm @ Main Building, third floor Credits: 6 Outline MC1322x Devices IAR Embedded workbench
More informationPreface, Table of Contents
Preface, Table of Contents SICAM RTUs MODBUS TCP/IP Interoperability Introduction 1 Interoperability of SICAM RTUs using MODBUS TCP/IP Master "Client" (MBCiA0) 2 Interoperability of SICAM RTUs using MODBUS/TCP
More informationUsing FlexIO to emulate communications and timing peripherals
NXP Semiconductors Document Number: AN12174 Application Note Rev. 0, 06/2018 Using FlexIO to emulate communications and timing peripherals 1. Introduction The FlexIO is a new on-chip peripheral available
More informationRFC: connectionless Data Link Metalanguage Burkhard Daniel
RFC: connectionless Data Link Metalanguage Burkhard Daniel (burk@stg.com) This RFC details a specification draft for a UDI metalanguage interfacing UDI Network Protocol drivers to UDI Data Link drivers.
More information[MS-RDPECLIP]: Remote Desktop Protocol: Clipboard Virtual Channel Extension
[MS-RDPECLIP]: Remote Desktop Protocol: Clipboard Virtual Channel Extension Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications
More informationFlash 4 click. PID: MIKROE 3191 Weight: 24 g
Flash 4 click PID: MIKROE 3191 Weight: 24 g Flash 4 click is a perfect solution for the mass storage option in various embedded applications. With fast performance being one of its key features, Flash
More informationCHAPTER 5 REGISTER DESCRIPTIONS
USER S MANUAL 5 CHAPTER 5 REGISTER DESCRIPTIONS 5. INTRODUCTION This section describes the functions of the various bits in the registers of the SCC (Tables 5- and 5-2). Reserved bits are not used in this
More information1. Overview Ethernet FIT Module Outline of the API API Information... 5
Introduction APPLICATION NOTE R01AN2009EJ0115 Rev.1.15 This application note describes an Ethernet module that uses Firmware Integration Technology (FIT). This module performs Ethernet frame transmission
More informationCODA Online Data Formats
CODA Online Data Formats Evio Header Formats Bank : 32 bits MSB (31) LSB (0) Length (32 bit words, exclusive) Tag (16 bits) (2) Type (6) Num (8) Segment : Padding Tag (8 bits) (2) Type (6) Length (16)
More informationPolitecnico di Milano Scuola di Ingegneria Industriale e dell Informazione. Link Layer. Fundamentals of Communication Networks
Politecnico di Milano Scuola di Ingegneria Industriale e dell Informazione Link Layer Fundamentals of Communication Networks Data Link layer o It is the first logical layer in the protocol stack o Functions
More information[MC-SMP]: Session Multiplex Protocol. Intellectual Property Rights Notice for Open Specifications Documentation
[MC-SMP]: Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes Open Specifications documentation ( this documentation ) for protocols,
More informationMW100 Setting for Data Communications via Modbus Protocol. Connect to Ethernet. Enter Ethernet settings. Enter Server Settings
User s Manual Setting for Data Communications via Modbus Protocol Overview This is an explanation of the procedure for entering settings for Modbus communications with the DAQMASTER. This manual descries
More informationdotstack integration with STM32F4 & FreeRTOS.
dotstack TM dotstack integration with STM32F4 & FreeRTOS. Contents 1. Bluetooth Task... 3 2. Bluetooth controller UART driver... 4 3. Audio playback and recording... 6 3.1. Audio playback... 7 3.2. Audio
More informationCSMC 412. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 2. September 15 CMSC417 Set 2 1
CSMC 412 Computer Networks Prof. Ashok K Agrawala 2015 Ashok Agrawala Set 2 September 15 CMSC417 Set 2 1 Contents Client-server paradigm End systems Clients and servers Sockets Socket abstraction Socket
More informationApplication Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification
Application Note 3/2003 PC Master Software Communication Protocol Specification By Pavel Kania and Michal Hanak S 3 L Applications Engineerings MCSL Roznov pod Radhostem Introduction The purpose of this
More informationESP8266 Application Note Firmware Download Protocol
ESP8266 Application Note Firmware Download Protocol Version 1.0 Copyright 2016 About This Guide This document introduces ESP8266 firmware download protocol with a structure as follows. Chapter Title Subject
More informationLumio Release Note Lumio Multi-Touch Communication Protocol
Lumio Release Note Lumio Multi-Touch Communication Protocol Note Number RN00009 - Revision A0 Release Date Product Lumio Crystal Touch PCB Controller Abstract This note describes the Lumio Multi Touch
More informationAnnouncements Computer Networking. Outline. Transport Protocols. Transport introduction. Error recovery & flow control. Mid-semester grades
Announcements 15-441 Computer Networking Lecture 16 Transport Protocols Mid-semester grades Based on project1 + midterm + HW1 + HW2 42.5% of class If you got a D+,D, D- or F! must meet with Dave or me
More informationTSIN02 - Internetworking
Lecture 4: Transport Layer Literature: Forouzan: ch 11-12 2004 Image Coding Group, Linköpings Universitet Lecture 4: Outline Transport layer responsibilities UDP TCP 2 Transport layer in OSI model Figure
More informationConfiguring attack detection and prevention 1
Contents Configuring attack detection and prevention 1 Overview 1 Attacks that the device can prevent 1 Single-packet attacks 1 Scanning attacks 2 Flood attacks 3 TCP fragment attack 4 Login DoS attack
More information