<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.nemeus.fr/index.php?action=history&amp;feed=atom&amp;title=NIS_Generic_Application_Protocol</id>
		<title>NIS Generic Application Protocol - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nemeus.fr/index.php?action=history&amp;feed=atom&amp;title=NIS_Generic_Application_Protocol"/>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS_Generic_Application_Protocol&amp;action=history"/>
		<updated>2026-05-05T07:34:44Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS_Generic_Application_Protocol&amp;diff=139&amp;oldid=prev</id>
		<title>Lcs: Lcs moved page MSxxx Generic Application Protocol to NIS Generic Application Protocol without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS_Generic_Application_Protocol&amp;diff=139&amp;oldid=prev"/>
				<updated>2017-09-08T08:34:21Z</updated>
		
		<summary type="html">&lt;p&gt;Lcs moved page &lt;a href=&quot;/index.php?title=MSxxx_Generic_Application_Protocol&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;MSxxx Generic Application Protocol (page does not exist)&quot;&gt;MSxxx Generic Application Protocol&lt;/a&gt; to &lt;a href=&quot;/index.php/NIS_Generic_Application_Protocol&quot; title=&quot;NIS Generic Application Protocol&quot;&gt;NIS Generic Application Protocol&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:34, 8 September 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lcs</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS_Generic_Application_Protocol&amp;diff=63&amp;oldid=prev</id>
		<title>Lcs: Created page with &quot;== Generic Application Protocol description ==  === Nemeus uplink protocol ===  Nemeus uplink protocol is used to send sensor data to application server. The payload contains...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS_Generic_Application_Protocol&amp;diff=63&amp;oldid=prev"/>
				<updated>2017-05-30T09:46:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Generic Application Protocol description ==  === Nemeus uplink protocol ===  Nemeus uplink protocol is used to send sensor data to application server. The payload contains...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Generic Application Protocol description ==&lt;br /&gt;
&lt;br /&gt;
=== Nemeus uplink protocol ===&lt;br /&gt;
&lt;br /&gt;
Nemeus uplink protocol is used to send sensor data to application server.&lt;br /&gt;
The payload contains the following fields:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;mask&amp;gt;: At least 1 byte containing a bit field identifying the fields included in the frame. The meaning of the mask is specific to the couple device/port. Thus, the application server knows the mask meaning according to the data profile linked to the couple device/port. The most significant bit of the &amp;lt;mask&amp;gt; is used to extend the mask on the next byte: 1 means not extended (mask is on 7 bits) and 0 means extended (mask is on 14 bits). When extended, the following byte can also be extended according to its most significant bit. When the &amp;lt;mask&amp;gt; field is on several bytes, it is encoded in little endian (LSB first). For example, a &amp;lt;mask&amp;gt; coded on 2 bytes like “00100001 11001100” will be on 14 bits: “10011000100001”. Each bit indicates the presence/absence of a field. When a field is present, it appears in the frame according to the bit position (beginning with the least significant bit).&lt;br /&gt;
* &amp;lt;field1&amp;gt;: first data field identified by the data profile linked to the couple device/port.&lt;br /&gt;
* …&lt;br /&gt;
* &amp;lt;fieldN&amp;gt;: last data field identified by the data profile linked to the couple device/port.&lt;br /&gt;
&lt;br /&gt;
=== Nemeus downlink protocol ===&lt;br /&gt;
Nemeus downlink protocol is used to exchange commands between application servers (located in network infra or in configuration PC) and sensor embedded applications.&lt;br /&gt;
&lt;br /&gt;
Application port is used to address an application (application ports are bound with LoRaWAN ports).&lt;br /&gt;
Thus, the protocol consists in a binary payload exchanged on a port.&lt;br /&gt;
The payload contains the following fields:&lt;br /&gt;
* &amp;lt;cmd&amp;gt;: 1 byte identifying an applicative command/response.&lt;br /&gt;
* &amp;lt;mask&amp;gt;: At least 1 byte containing a bit field identifying the fields included in the frame. See uplink protocol above for description.&lt;br /&gt;
* &amp;lt;field1&amp;gt;: first data field identified by the data profile linked to the couple device/port.&lt;br /&gt;
* …&lt;br /&gt;
* &amp;lt;fieldN&amp;gt;: last data field identified by the data profile linked to the couple device/port.&lt;br /&gt;
&lt;br /&gt;
Most significant bit of &amp;lt;cmd&amp;gt; field specifies if response is expected by the server or not (commands of type “set” doesn’t require any answer, especially when radio interface is used).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt; values are defined for each application port (e.g. &amp;lt;cmd&amp;gt; value 0x01 has a different meaning on port 1 than on port 2).&lt;br /&gt;
&lt;br /&gt;
A response reuse the same &amp;lt;cmd&amp;gt; as the received command, except the most significant bit which is forced to 0 (because a response doesn’t expect any response).&lt;br /&gt;
The response &amp;lt;mask&amp;gt; indicates which fields of the command have been actually processed.&lt;br /&gt;
&lt;br /&gt;
When a parameter type size is more than one byte, it is encoded in little endian (LSB first).&lt;br /&gt;
&lt;br /&gt;
Downlink command may be received either from network application server or from PC configuration tool through AT command. &lt;br /&gt;
&lt;br /&gt;
The generic application AT command is used:&lt;br /&gt;
&lt;br /&gt;
AT+GA=DIND,&amp;lt;port&amp;gt;,&amp;lt;hexpayload&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Lcs</name></author>	</entry>

	</feed>