EasyManuals Logo
Home>Ublox>Control Unit>ODIN-W2 Series

Ublox ODIN-W2 Series Getting Started

Ublox ODIN-W2 Series
27 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #8 background imageLoading...
Page #8 background image
ODIN-W2 series - Getting Started
UBX-15017452 - R02 Advance Information Peers
Page 8 of 27
2 Peers
A connection consists of a sender and a receiver of data. It can also consist of a sender and several receivers in
the case of a wireless multidrop/broadcast data. In both cases, every sender and receiver in a setup is referred to
as a peer. Thus, a peer is capable of either receiving and/or sending data.
There are two kinds of peer classes in the serial port adapter:
Local peer
Remote peer
The local peer is (currently) synonymous with the UART. In contrast to the local peer, the remote peer is another
device or broadcast range on the network. Several remote peers can be defined if a multi-drop scenario is
needed.
A remote peer is addressed using a Uniform Resource Locator, URL. These locators are strings representing
nodes on internet or on a local net. This is the same addressing technology used in for example a web browser.
For more information about URLs, read RFC 1738
.
In general, URLs are written as follows:
<scheme>:<scheme-specific-part>
Where <scheme> is the scheme or protocol used when communicating and <scheme-specific-part> is normally
the address and port number of the remote node.
For example, a web server on the internet can have the following address:
http://www.u-blox.com/
This tells the browser to use the HTTP protocol and connect to the node at address www.u-blox.com
. Similar
addressing scheme is used by ODIN-W2 to pinpoint the remote peer. The scheme is not "http", but the node
addressing is identical.
Available schemes:
tcp: TCP connection
udp: UDP connection, broadcast capabilities
spp: Bluetooth Serial Port Profile
dun: Bluetooth Dial Up Networking
sps: Bluetooth Low Energy u-blox Serial Port Service
Syntax:
tcp/udp
<scheme>://ipaddress<:portnumber>
spp/dun/sps
<scheme>://bluetooth_address/
Remarks:
IP address can be either a numeric IP address or a host and domain name that can be resolved using the
configured DNS servers.
Examples
tcp://10.0.0.9:5003
tcp://echo.u-blox.com:7
udp://192.168.0.42:6809
spp://0012f3000001
A peer can be setup using either the default remote peer command (AT+UDDRP) or dynamically created using
the connect peer command (AT+UDCP). A connection is closed using AT+UDCC.
To enable incoming connections, servers must be enabled using the command AT+UDSC. One server of each
type can be created, but it can allow for multiple incoming connections. By default, the SPP server is enabled on
Server id 0, and in Bluetooth Low Energy, enable the SPS service using the AT+UDSC command.

Other manuals for Ublox ODIN-W2 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox ODIN-W2 Series and is the answer not in the manual?

Ublox ODIN-W2 Series Specifications

General IconGeneral
BrandUblox
ModelODIN-W2 Series
CategoryControl Unit
LanguageEnglish

Related product manuals