<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.nemeus.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Arl</id>
		<title>nemeuswiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nemeus.fr/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Arl"/>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php/Special:Contributions/Arl"/>
		<updated>2026-04-29T15:49:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=733</id>
		<title>NIS-TH Temperature Hygrometry Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=733"/>
				<updated>2021-10-11T15:01:40Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Uplink data Frame format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Sensors]]&lt;br /&gt;
[[File:2 Exp Humidity and Temperature sensor.png|thumb|400px|RTD Temperature Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= TH Temperature Hygrometry sensor properties =&lt;br /&gt;
&lt;br /&gt;
== Humidity Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [0RH - 90RH]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : Typ +-2% RH&lt;br /&gt;
&lt;br /&gt;
Long-term drift : Typ &amp;lt;0.25% RH/year&lt;br /&gt;
&lt;br /&gt;
== Temperature Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [-40°C to 90°C]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : typ +-0.3°C&lt;br /&gt;
&lt;br /&gt;
Long Term Drift : max &amp;lt;0.03°C/year&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;th_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Only available for versions before 19W03&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Only available for versions before 19W03&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;th_hygro&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;th_temp&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the temperature values in 0.1 °C. Each temperature value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1) :&lt;br /&gt;
    &amp;lt;th_hygro&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the hygrometry values in 0.01 %. Each hygrometry value is an unsigned integer on 16 bits in big endian [0..9999].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (temperature &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (temperature &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (temperature &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (temperature &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates one temperature measurement of +28.1 °C.&lt;br /&gt;
    “8302FFCB000C”: the frame indicates two temperature measurements of -5.3 °c and +1.2 °C.&lt;br /&gt;
    “9201190B40”: the frame indicates one measurements of temperature +28.1 °C followed by one measurement of hygrometry  of 28.8%.&lt;br /&gt;
    “930201190120140014A0”: the frame indicates two measurements of temperature +28.1 °C.and +28.8 °C followed by two measurements of hygrometry of 51.2% and 52.8%.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: identifies the type of sensor&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (10).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;sensor_type&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5 to bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: unsigned integer on 1 byte containing the sensor type [11..16]&lt;br /&gt;
        11(0x0B): N/A&lt;br /&gt;
        12(0x0C): N/A&lt;br /&gt;
        13(0x0D): ...&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;sensor_type&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;th_temp&amp;gt; field only&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-NH3_Gas_Sensor&amp;diff=732</id>
		<title>NIS-NH3 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-NH3_Gas_Sensor&amp;diff=732"/>
				<updated>2021-10-11T09:34:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Created page with &amp;quot;&amp;lt;!-- Category:Sensors --&amp;gt;  NH3 Gas Sensor  = General information = {{:NIS Overview}}  = Mechanics = * Dimensions 60 x 95 x 85mm (109mm including...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|NH3 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= NH3 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 100ppm ± 8ppm ± 3% (Conditions : 25°C / Hygrometry : 50% / Pression 1013 mbar)&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;analog_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : is reserved.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;analog_meas&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the analog measure values in ppm. Each measure value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (analog_meas &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (analog_meas &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (analog_meas &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (analog_meas &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;analog_meas1&amp;gt;...&amp;lt;analog_measN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x8A which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;analog_meas&amp;gt;&amp;lt;internal_temp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8A000113”: the frame indicates one analog measurement of 1ppm, with an internal temperature of 19°C.&lt;br /&gt;
    “8A000E14”: the frame indicates one analog measurement of 14ppm, with an internal temperature of 20°C.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;analog_meas&amp;gt; field only&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;028604605401&amp;quot; set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=731</id>
		<title>NIS-TH Temperature Hygrometry Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=731"/>
				<updated>2021-10-07T17:56:28Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Uplink data Frame format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Sensors]]&lt;br /&gt;
[[File:2 Exp Humidity and Temperature sensor.png|thumb|400px|RTD Temperature Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= TH Temperature Hygrometry sensor properties =&lt;br /&gt;
&lt;br /&gt;
== Humidity Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [0RH - 90RH]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : Typ +-2% RH&lt;br /&gt;
&lt;br /&gt;
Long-term drift : Typ &amp;lt;0.25% RH/year&lt;br /&gt;
&lt;br /&gt;
== Temperature Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [-40°C to 90°C]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : typ +-0.3°C&lt;br /&gt;
&lt;br /&gt;
Long Term Drift : max &amp;lt;0.03°C/year&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;th_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Only available for versions before 19W03&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field. &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Only available for versions before 19W03&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;th_hygro&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;th_temp&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the temperature values in 0.1 °C. Each temperature value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1) :&lt;br /&gt;
    &amp;lt;th_hygro&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the hygrometry values in 0.1 %. Each hygrometry value is an unsigned integer on 16 bits in big endian [0..9999].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (temperature &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (temperature &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (temperature &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (temperature &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates one temperature measurement of +28.1 °C.&lt;br /&gt;
    “8302FFCB000C”: the frame indicates two temperature measurements of -5.3 °c and +1.2 °C.&lt;br /&gt;
    “9201190120”: the frame indicates one measurements of temperature +28.1 °C followed by one measurement of hygrometry  of 28.8%.&lt;br /&gt;
    “93020119012002000210”: the frame indicates two measurements of temperature +28.1 °C.and +28.8 °C followed by two measurements of hygrometry of 51.2% and 52.8%.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: identifies the type of sensor&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (10).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;sensor_type&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5 to bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: unsigned integer on 1 byte containing the sensor type [11..16]&lt;br /&gt;
        11(0x0B): N/A&lt;br /&gt;
        12(0x0C): N/A&lt;br /&gt;
        13(0x0D): ...&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;sensor_type&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;th_temp&amp;gt; field only&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=405</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=405"/>
				<updated>2021-02-10T17:06:37Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Downlink Frame format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[[File:CO2 temp compensation.png|400px|CO2 linearization]]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;analog_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : is reserved.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;analog_meas&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the analog measure values in ppm. Each measure value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (analog_meas &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (analog_meas &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (analog_meas &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (analog_meas &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;analog_meas1&amp;gt;...&amp;lt;analog_measN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x8A which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;analog_meas&amp;gt;&amp;lt;internal_temp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8A013A0A”: the frame indicates one analog measurement of 314ppm, with an internal temperature of 10°C.&lt;br /&gt;
    “8A01E014”: the frame indicates one analog measurement of 480ppm, with an internal temperature of 20°C.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
    RESERVED&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;analog_meas&amp;gt; field only&lt;br /&gt;
&lt;br /&gt;
    &amp;quot;028604605401&amp;quot; set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=404</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=404"/>
				<updated>2021-02-10T16:53:09Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Uplink data Frame format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[[File:CO2 temp compensation.png|400px|CO2 linearization]]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;analog_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : is reserved.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;analog_meas&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the analog measure values in ppm. Each measure value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (analog_meas &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (analog_meas &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (analog_meas &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (analog_meas &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;analog_meas1&amp;gt;...&amp;lt;analog_measN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x8A which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;analog_meas&amp;gt;&amp;lt;internal_temp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8A013A0A”: the frame indicates one analog measurement of 314ppm, with an internal temperature of 10°C.&lt;br /&gt;
    “8A01E014”: the frame indicates one analog measurement of 480ppm, with an internal temperature of 20°C.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=403</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=403"/>
				<updated>2021-02-10T16:50:38Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Uplink data Frame format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[[File:CO2 temp compensation.png|400px|CO2 linearization]]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;analog_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : is reserved.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;analog_meas&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the analog measure values in mV or µA. Each measure value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (analog_meas &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (analog_meas &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (analog_meas &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (analog_meas &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;analog_meas1&amp;gt;...&amp;lt;analog_measN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x8A which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;analog_meas&amp;gt;&amp;lt;internal_temp&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8A013A0A”: the frame indicates one analog measurement of 314ppm, with an internal temperature of 10°C.&lt;br /&gt;
    “8A01E014”: the frame indicates one analog measurement of 480ppm, with an internal temperature of 20°C.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=365</id>
		<title>NIS-PC Pulse Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=365"/>
				<updated>2019-11-22T11:05:56Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE pulse sensor.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Pulse sensor properties =&lt;br /&gt;
&lt;br /&gt;
* Handles open collector and dry contact inputs&lt;br /&gt;
&lt;br /&gt;
* Max 50k pulses per second&lt;br /&gt;
&lt;br /&gt;
* broken cable detection&lt;br /&gt;
&lt;br /&gt;
The pullup resistor (1Mohm / 3.3V) is integrated.&lt;br /&gt;
Perfect for use with reed switches.&lt;br /&gt;
The current flowing through the dry contact is 3.3uA.&lt;br /&gt;
&lt;br /&gt;
Absolute Maximum voltage injection : 6V.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full_config_ids_3I_O.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Probe settings&lt;br /&gt;
|-&lt;br /&gt;
|Input mode&lt;br /&gt;
|jumpers configuration&lt;br /&gt;
|Probe connection&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|dry contact&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|None&lt;br /&gt;
|3 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|1 : Pulse&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to use the Alert signal, connect it to GND on the sensor side. If the cable breaks, the device detects it.&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;pc_pulse&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;fraud_counter&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;pc_pulse&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the Pulse counter values measure in 1 pulse. Each counter value is an unsigned integer on 32 bits in big endian [0..+4294967295].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1)&lt;br /&gt;
   &amp;lt;fraud_counter&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the fraud counter values (using MCU internal sensor). Each fraud_counter value is an unsigned integer on 8 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (value &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (value &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (value &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (value &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8200009C40”: the frame indicates one Pulse measurement of 40 000 pulses.&lt;br /&gt;
    “8302001e8480002dc6c0”: the frame indicates two pulse measurements of 2.10^6 pulses and 3.10^6 pulses.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5: reserved&lt;br /&gt;
        bit6: 0-10V(1)/4-20mA(0)&lt;br /&gt;
        bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in mV [0..+9999] or µA [+4000..+19999]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in mV [+1..+10000] or µA [+4001..+20000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: unsigned integer on 2 bytes containing the delay in ms [0..65535]&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;pwr_on_duration&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; field only&lt;br /&gt;
    “028192”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; and &amp;lt;fraud_counter&amp;gt; fields&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''Note :''' Alarm on Pulse counter should be managed carefully as the counter only goes up. So an high_threshold should be updated when alarm is reached, in order to allow another alarm. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/FD74VIAwIY209Ubm|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Full_config_ids_3I_O.png&amp;diff=364</id>
		<title>File:Full config ids 3I O.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Full_config_ids_3I_O.png&amp;diff=364"/>
				<updated>2019-11-22T11:03:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Arl uploaded a new version of File:Full config ids 3I O.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=363</id>
		<title>NIS-PC Pulse Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=363"/>
				<updated>2019-11-22T10:49:18Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE pulse sensor.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Pulse sensor properties =&lt;br /&gt;
&lt;br /&gt;
* Handles open collector and dry contact inputs&lt;br /&gt;
&lt;br /&gt;
* Max 50k pulses per second&lt;br /&gt;
&lt;br /&gt;
* broken cable detection&lt;br /&gt;
&lt;br /&gt;
The pullup resistor (1Mohm / 3.3V) is integrated.&lt;br /&gt;
Perfect for use with reed switches.&lt;br /&gt;
The current flowing through the dry contact is 3.3uA.&lt;br /&gt;
&lt;br /&gt;
Absolute Maximum voltage injection : 6V.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full_config_ids_3I_O.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Probe settings&lt;br /&gt;
|-&lt;br /&gt;
|Input mode&lt;br /&gt;
|jumpers configuration&lt;br /&gt;
|Probe connection&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|open collector&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|JP1 on 1-2 and JP2 : NC&lt;br /&gt;
|3 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|1 : Pulse&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|dry contact&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|JP1 on 2-3 and JP2 : NC&lt;br /&gt;
|3 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|1 : Pulse&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to use the Alert signal, connect it to GND on the sensor side. If the cable breaks, the device detects it.&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;pc_pulse&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;fraud_counter&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;pc_pulse&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the Pulse counter values measure in 1 pulse. Each counter value is an unsigned integer on 32 bits in big endian [0..+4294967295].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1)&lt;br /&gt;
   &amp;lt;fraud_counter&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the fraud counter values (using MCU internal sensor). Each fraud_counter value is an unsigned integer on 8 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (value &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (value &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (value &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (value &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8200009C40”: the frame indicates one Pulse measurement of 40 000 pulses.&lt;br /&gt;
    “8302001e8480002dc6c0”: the frame indicates two pulse measurements of 2.10^6 pulses and 3.10^6 pulses.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5: reserved&lt;br /&gt;
        bit6: 0-10V(1)/4-20mA(0)&lt;br /&gt;
        bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in mV [0..+9999] or µA [+4000..+19999]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in mV [+1..+10000] or µA [+4001..+20000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: unsigned integer on 2 bytes containing the delay in ms [0..65535]&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;pwr_on_duration&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; field only&lt;br /&gt;
    “028192”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; and &amp;lt;fraud_counter&amp;gt; fields&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''Note :''' Alarm on Pulse counter should be managed carefully as the counter only goes up. So an high_threshold should be updated when alarm is reached, in order to allow another alarm. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/FD74VIAwIY209Ubm|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=362</id>
		<title>NIS-PC Pulse Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=362"/>
				<updated>2019-11-22T10:47:02Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE pulse sensor.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Pulse sensor properties =&lt;br /&gt;
&lt;br /&gt;
* Handles open collector and dry contact inputs&lt;br /&gt;
&lt;br /&gt;
* Max 50k pulses per second&lt;br /&gt;
&lt;br /&gt;
* broken cable detection&lt;br /&gt;
&lt;br /&gt;
The pullup resistor (1Mohm / 3.3V) is integrated.&lt;br /&gt;
Perfect for use with reed switches.&lt;br /&gt;
The current flowing through the dry contact is 3.3uA.&lt;br /&gt;
&lt;br /&gt;
Absolute Maximum voltage injection : 6V.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full_config_ids_3I_O.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Probe settings&lt;br /&gt;
|-&lt;br /&gt;
|Input mode&lt;br /&gt;
|jumpers configuration&lt;br /&gt;
|Probe connection&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|open collector&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 1-2 and JP2 : NC&lt;br /&gt;
|3 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|1 : Pulse&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|dry contact&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 2-3 and JP2 : NC&lt;br /&gt;
|3 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|1 : Pulse&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to use the Alert signal, connect it to GND on the sensor side. If the cable breaks, the device detects it.&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;pc_pulse&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;fraud_counter&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;pc_pulse&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the Pulse counter values measure in 1 pulse. Each counter value is an unsigned integer on 32 bits in big endian [0..+4294967295].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1)&lt;br /&gt;
   &amp;lt;fraud_counter&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the fraud counter values (using MCU internal sensor). Each fraud_counter value is an unsigned integer on 8 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (value &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (value &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (value &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (value &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8200009C40”: the frame indicates one Pulse measurement of 40 000 pulses.&lt;br /&gt;
    “8302001e8480002dc6c0”: the frame indicates two pulse measurements of 2.10^6 pulses and 3.10^6 pulses.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5: reserved&lt;br /&gt;
        bit6: 0-10V(1)/4-20mA(0)&lt;br /&gt;
        bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in mV [0..+9999] or µA [+4000..+19999]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in mV [+1..+10000] or µA [+4001..+20000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: unsigned integer on 2 bytes containing the delay in ms [0..65535]&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;pwr_on_duration&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; field only&lt;br /&gt;
    “028192”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; and &amp;lt;fraud_counter&amp;gt; fields&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''Note :''' Alarm on Pulse counter should be managed carefully as the counter only goes up. So an high_threshold should be updated when alarm is reached, in order to allow another alarm. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/FD74VIAwIY209Ubm|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=361</id>
		<title>NIS-PC Pulse Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=361"/>
				<updated>2019-11-22T10:46:10Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE pulse sensor.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Pulse sensor properties =&lt;br /&gt;
&lt;br /&gt;
* Handles open collector and dry contact inputs&lt;br /&gt;
&lt;br /&gt;
* Max 50k pulses per second&lt;br /&gt;
&lt;br /&gt;
* broken cable detection&lt;br /&gt;
&lt;br /&gt;
The pullup resistor (1Mohm / 3.3V) is integrated.&lt;br /&gt;
Perfect for use with reed switches.&lt;br /&gt;
The current flowing through the dry contact is 3.3uA.&lt;br /&gt;
&lt;br /&gt;
Absolute Maximum voltage injection : 6V.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full_config_ids_3I_O.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Probe settings&lt;br /&gt;
|-&lt;br /&gt;
|Input mode&lt;br /&gt;
|jumpers configuration&lt;br /&gt;
|Probe connection&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|open collector&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 1-2 and JP2 : NC&lt;br /&gt;
|1 : NC&lt;br /&gt;
|-&lt;br /&gt;
|2 : NC&lt;br /&gt;
|-&lt;br /&gt;
|3 : NC&lt;br /&gt;
|-&lt;br /&gt;
|4 : NC&lt;br /&gt;
|-&lt;br /&gt;
|5 : NC&lt;br /&gt;
|-&lt;br /&gt;
|6 : GND&lt;br /&gt;
|-&lt;br /&gt;
|7 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|8 : Pulse&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|dry contact&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 2-3 and JP2 : NC&lt;br /&gt;
|1 : NC&lt;br /&gt;
|-&lt;br /&gt;
|2 : NC&lt;br /&gt;
|-&lt;br /&gt;
|3 : NC&lt;br /&gt;
|-&lt;br /&gt;
|4 : NC&lt;br /&gt;
|-&lt;br /&gt;
|5 : NC&lt;br /&gt;
|-&lt;br /&gt;
|6 : GND&lt;br /&gt;
|-&lt;br /&gt;
|7 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|8 : Pulse&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to use the Alert signal, connect it to GND on the sensor side. If the cable breaks, the device detects it.&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;pc_pulse&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;fraud_counter&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;pc_pulse&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the Pulse counter values measure in 1 pulse. Each counter value is an unsigned integer on 32 bits in big endian [0..+4294967295].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1)&lt;br /&gt;
   &amp;lt;fraud_counter&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the fraud counter values (using MCU internal sensor). Each fraud_counter value is an unsigned integer on 8 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (value &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (value &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (value &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (value &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8200009C40”: the frame indicates one Pulse measurement of 40 000 pulses.&lt;br /&gt;
    “8302001e8480002dc6c0”: the frame indicates two pulse measurements of 2.10^6 pulses and 3.10^6 pulses.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: value in ms to wait between sensor power-on and measure reading&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (11).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;pwr_on_duration&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5: reserved&lt;br /&gt;
        bit6: 0-10V(1)/4-20mA(0)&lt;br /&gt;
        bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in mV [0..+9999] or µA [+4000..+19999]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in mV [+1..+10000] or µA [+4001..+20000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 100 mV or 100 µA [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;pwr_on_duration&amp;gt;: unsigned integer on 2 bytes containing the delay in ms [0..65535]&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;pwr_on_duration&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; field only&lt;br /&gt;
    “028192”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;pc_pulse&amp;gt; and &amp;lt;fraud_counter&amp;gt; fields&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;'''Note :''' Alarm on Pulse counter should be managed carefully as the counter only goes up. So an high_threshold should be updated when alarm is reached, in order to allow another alarm. &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/FD74VIAwIY209Ubm|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Full_config_ids_3I_O.png&amp;diff=360</id>
		<title>File:Full config ids 3I O.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Full_config_ids_3I_O.png&amp;diff=360"/>
				<updated>2019-11-22T10:45:49Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=MG003-L-EU_Firmware_Update_Procedure&amp;diff=359</id>
		<title>MG003-L-EU Firmware Update Procedure</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=MG003-L-EU_Firmware_Update_Procedure&amp;diff=359"/>
				<updated>2019-11-20T11:11:39Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Gateways]]&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
* You must use the last version of the Java gateway tool available here: http://store.nemeus.fr/apps/gatewayTool/v1.54/&lt;br /&gt;
* Your gateway must have an access to the Internet. Ensure that your router allows UDP flows on port 2225 (both senses)&lt;br /&gt;
* You must send an email to support@nemeus.fr containing the following information:&lt;br /&gt;
** Your identification (company, name, address, phone number)&lt;br /&gt;
** The Ethernet MAC address of your gateway, you can read it on the sticker or with the Java gateway tool in DHCP tab (it is the field &amp;quot;Source MAC @&amp;quot;). This information is required to allow our gateways supervision server to update your gateway&lt;br /&gt;
&lt;br /&gt;
[[File:Mg003 firmware update 1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Procedure ===&lt;br /&gt;
&lt;br /&gt;
Connect Java gateway tool to your gateway&lt;br /&gt;
In SNET tab in &amp;quot;Security Server information&amp;quot; part, set tools.nemeus.fr in &amp;quot;Server name&amp;quot; field and 2225 in &amp;quot;Port&amp;quot; field&lt;br /&gt;
&lt;br /&gt;
Then click on &amp;quot;Write&amp;quot; button and wait several seconds until the configuration is written in the gateway&lt;br /&gt;
Finally click on &amp;quot;Reset Gateway&amp;quot; button to restart the gateway with its new configuration&lt;br /&gt;
&lt;br /&gt;
This configuration allows the gateway to communicate with our gateways supervision server.&lt;br /&gt;
&lt;br /&gt;
[[File:Mg003 firmware update 2.png]]&lt;br /&gt;
&lt;br /&gt;
The server will update automatically your gateway if it has been beforehand allowed.&lt;br /&gt;
The firmware update procedure lasts several minutes, thus do not cut neither the power-supply nor the Ethernet connection.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=311</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=311"/>
				<updated>2018-06-21T10:14:46Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[[File:CO2 temp compensation.png|400px|CO2 linearization]]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=310</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=310"/>
				<updated>2018-06-21T10:09:35Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[File:CO2 temp compensation.png|thumb|400px|CO2 linearization]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:CO2_temp_compensation.png&amp;diff=309</id>
		<title>File:CO2 temp compensation.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:CO2_temp_compensation.png&amp;diff=309"/>
				<updated>2018-06-21T10:09:19Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=308</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=308"/>
				<updated>2018-06-21T10:08:57Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|CO2 Gas Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
[File:.png|thumb|400px|CO2 linearization]&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=307</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=307"/>
				<updated>2018-06-21T10:07:34Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* CO2 Gas sensor properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
* Temperature compensation&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=306</id>
		<title>NIS-CO2 Gas Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-CO2_Gas_Sensor&amp;diff=306"/>
				<updated>2018-06-21T10:06:50Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Created page with &amp;quot;&amp;lt;!-- Category:Sensors --&amp;gt;  Load Cell Sensor  = General information = {{:NIS Overview}}  = Mechanics = * Dimensions 60 x 95 x 85mm (109mm includin...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= CO2 Gas sensor properties =&lt;br /&gt;
&lt;br /&gt;
* 0 to 5000ppm ± 50ppm&lt;br /&gt;
* Humidity Range 0 to 95% rh non-condensing&lt;br /&gt;
* Sensor Temperature Range -20°C to +50°C&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
TBD&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS_Overview&amp;diff=300</id>
		<title>NIS Overview</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS_Overview&amp;diff=300"/>
				<updated>2018-06-06T09:43:56Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
;LoRa™ WAN 1.0.2 EU Class A &amp;amp; C&lt;br /&gt;
: Activation by Personalization (ABP)&lt;br /&gt;
: Over-The-Air Activation (OTAA)&lt;br /&gt;
;SIGFOX™ ready&lt;br /&gt;
;Fully certified on major LoraWan &amp;amp; Sigfox networks&lt;br /&gt;
;Easy to use and deploy&lt;br /&gt;
;3.6V / 2200mAh Primary battery Li-SOCl2 embedded&lt;br /&gt;
;Magnetic switch and LED to ease the installation &lt;br /&gt;
;RoHS conform / Pre-Certified ETSI EN 300-220 / RED compliance under certification&lt;br /&gt;
&lt;br /&gt;
=== RF Performance ===&lt;br /&gt;
* TX Power 14 dBm (25 mW)&lt;br /&gt;
* RX Sensitivity -137 dBm&lt;br /&gt;
* Approx. 10 km range&lt;br /&gt;
* Integrated PCB antenna &lt;br /&gt;
&lt;br /&gt;
=== Environment ===&lt;br /&gt;
* Operating temperature -40°C to +85°C&lt;br /&gt;
* Storage temperature 30°C recommended (to limit battery self-discharge)&lt;br /&gt;
* Rel. humidity 0% to 95% (not condensing)&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
* External antenna&lt;br /&gt;
* SDK for your SW development purposes&lt;br /&gt;
* 10-30V external power supply&lt;br /&gt;
* Compatible with the NEMEUS PicoGateway for private networks&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
By using the internal antenna, the position of the sensor is critical.&lt;br /&gt;
&lt;br /&gt;
Install your product as high as possible, and prefer unobstructed area (concrete and metal are the worst materials).&lt;br /&gt;
&lt;br /&gt;
If you cannot fulfill these conditions, it is still possible to use an optional external antenna.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=298</id>
		<title>NIS-PC Pulse Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-PC_Pulse_Sensor&amp;diff=298"/>
				<updated>2018-05-17T09:32:09Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Pulse sensor properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE pulse sensor.png|thumb|400px|Load Cell Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Pulse sensor properties =&lt;br /&gt;
&lt;br /&gt;
* Handles open collector and dry contact inputs&lt;br /&gt;
&lt;br /&gt;
* Max 50k pulses per second&lt;br /&gt;
&lt;br /&gt;
* broken cable detection&lt;br /&gt;
&lt;br /&gt;
The pullup resistor (1Mohm / 3.3V) is integrated.&lt;br /&gt;
Perfect for use with reed switches.&lt;br /&gt;
The current flowing through the dry contact is 3.3uA.&lt;br /&gt;
&lt;br /&gt;
Absolute Maximum voltage injection : 6V.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full config ids.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Probe settings&lt;br /&gt;
|-&lt;br /&gt;
|Input mode&lt;br /&gt;
|jumpers configuration&lt;br /&gt;
|Probe connection&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|open collector&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 1-2 and JP2 : NC&lt;br /&gt;
|1 : NC&lt;br /&gt;
|-&lt;br /&gt;
|2 : NC&lt;br /&gt;
|-&lt;br /&gt;
|3 : NC&lt;br /&gt;
|-&lt;br /&gt;
|4 : NC&lt;br /&gt;
|-&lt;br /&gt;
|5 : NC&lt;br /&gt;
|-&lt;br /&gt;
|6 : GND&lt;br /&gt;
|-&lt;br /&gt;
|7 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|8 : Pulse&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|dry contact&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 on 2-3 and JP2 : NC&lt;br /&gt;
|1 : NC&lt;br /&gt;
|-&lt;br /&gt;
|2 : NC&lt;br /&gt;
|-&lt;br /&gt;
|3 : NC&lt;br /&gt;
|-&lt;br /&gt;
|4 : NC&lt;br /&gt;
|-&lt;br /&gt;
|5 : NC&lt;br /&gt;
|-&lt;br /&gt;
|6 : GND&lt;br /&gt;
|-&lt;br /&gt;
|7 : Alert&lt;br /&gt;
|-&lt;br /&gt;
|8 : Pulse&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If you want to use the Alert signal, connect it to GND on the sensor side. If the cable breaks, the device detects it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;pc_pulse&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : is reserved.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;pc_pulse&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the Pulse counter values measure in 1 pulse. Each counter value is an unsigned integer on 32 bits in big endian [0..+4294967295].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (value &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (value &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (value &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (value &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;pc_pulse1&amp;gt;...&amp;lt;pc_pulseN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “8200009C40”: the frame indicates one Pulse measurement of 40 000 pulses.&lt;br /&gt;
    “8302001e8480002dc6c0”: the frame indicates two pulse measurements of 2.10^6 pulses and 3.10^6 pulses.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/FD74VIAwIY209Ubm|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=297</id>
		<title>NIS-RP Repeater</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=297"/>
				<updated>2018-05-16T15:56:24Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Power consumption */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:|thumb|400px|Repeater]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
*Compatible with Nemeus NIS series of sensors.&lt;br /&gt;
&lt;br /&gt;
*Low requirements on sensors of other brands to make them repeatable. Contact us for a complete list of requirements.&lt;br /&gt;
&lt;br /&gt;
*Allows to increase the network coverage, and to reach uncovered areas.&lt;br /&gt;
&lt;br /&gt;
*by software configuration, two possible modes: &lt;br /&gt;
** LoRawan sensor repeater to Lorawan network.&lt;br /&gt;
** LoRawan sensor repeater to Sigfox network. &lt;br /&gt;
&lt;br /&gt;
*Very high autonomy thanks to a fine management of the sensor listening windows.&lt;br /&gt;
&lt;br /&gt;
*Dual battery to reach the same autonomy as the sensors.&lt;br /&gt;
&lt;br /&gt;
*possibility to repeat several sensors with the same repeater.&lt;br /&gt;
&lt;br /&gt;
*Configuration in ABP or OTAA protocol.&lt;br /&gt;
&lt;br /&gt;
*The repeater can use the sensor identifiers (transparent mode), or use its own identifiers (encapsulated mode).&lt;br /&gt;
&lt;br /&gt;
*Fully bidirectional, it can also repeat the downlink channel, with delay.&lt;br /&gt;
&lt;br /&gt;
= Power consumption =&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of sensors to repeat and output network.&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/S5vv9mr2V8e5tZq1|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=296</id>
		<title>NIS-RP Repeater</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=296"/>
				<updated>2018-05-16T15:55:54Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:|thumb|400px|Repeater]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
*Compatible with Nemeus NIS series of sensors.&lt;br /&gt;
&lt;br /&gt;
*Low requirements on sensors of other brands to make them repeatable. Contact us for a complete list of requirements.&lt;br /&gt;
&lt;br /&gt;
*Allows to increase the network coverage, and to reach uncovered areas.&lt;br /&gt;
&lt;br /&gt;
*by software configuration, two possible modes: &lt;br /&gt;
** LoRawan sensor repeater to Lorawan network.&lt;br /&gt;
** LoRawan sensor repeater to Sigfox network. &lt;br /&gt;
&lt;br /&gt;
*Very high autonomy thanks to a fine management of the sensor listening windows.&lt;br /&gt;
&lt;br /&gt;
*Dual battery to reach the same autonomy as the sensors.&lt;br /&gt;
&lt;br /&gt;
*possibility to repeat several sensors with the same repeater.&lt;br /&gt;
&lt;br /&gt;
*Configuration in ABP or OTAA protocol.&lt;br /&gt;
&lt;br /&gt;
*The repeater can use the sensor identifiers (transparent mode), or use its own identifiers (encapsulated mode).&lt;br /&gt;
&lt;br /&gt;
*Fully bidirectional, it can also repeat the downlink channel, with delay.&lt;br /&gt;
&lt;br /&gt;
= Power consumption =&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of sensors to repeat and output network.&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/D3upefvYafJ0EQ7i|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=289</id>
		<title>NIS-TH Temperature Hygrometry Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-TH_Temperature_Hygrometry_Sensor&amp;diff=289"/>
				<updated>2018-05-07T07:03:55Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* TH Temperature Hygrometry sensor properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Sensors]]&lt;br /&gt;
[[File:2 Exp Humidity and Temperature sensor.png|thumb|400px|RTD Temperature Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= TH Temperature Hygrometry sensor properties =&lt;br /&gt;
&lt;br /&gt;
== Humidity Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [0RH - 90RH]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : Typ +-2% RH&lt;br /&gt;
&lt;br /&gt;
Long-term drift : Typ &amp;lt;0.25% RH/year&lt;br /&gt;
&lt;br /&gt;
== Temperature Sensor Specification ==&lt;br /&gt;
&lt;br /&gt;
Specified range : [-40°C to 90°C]&lt;br /&gt;
&lt;br /&gt;
Accuracy tolerance : typ +-0.3°C&lt;br /&gt;
&lt;br /&gt;
Long Term Drift : max &amp;lt;0.03°C/year&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;th_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;th_hygro&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : indicates the presence of &amp;lt;cause&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;th_temp&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the temperature values in 0.1 °C. Each temperature value is a signed integer on 16 bits in big endian [-32768..+32767].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1) :&lt;br /&gt;
    &amp;lt;th_hygro&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the hygrometry values in 0.01 %. Each hygrometry value is an unsigned integer on 16 bits in big endian [0..9999].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit5 == 1) :&lt;br /&gt;
    &amp;lt;cause&amp;gt;: 1 byte containing the cause of the uplink frame. It is a bit field:&lt;br /&gt;
        Bit 0 indicates a periodic measure&lt;br /&gt;
        Bit 1 indicates the high threshold exceeding (temperature &amp;gt; high threshold)&lt;br /&gt;
        Bit 2 indicates the high hysteresis exceeding (temperature &amp;lt; high threshold - high hysteresis)&lt;br /&gt;
        Bit 3 indicates the low threshold exceeding (temperature &amp;lt; low threshold)&lt;br /&gt;
        Bit 4 indicates the low hysteresis exceeding (temperature &amp;gt; low threshold + low hysteresis)&lt;br /&gt;
        Bit 5 indicates the measure has been forced manually (with magnetic switch)&lt;br /&gt;
    Usually &amp;lt;cause&amp;gt; field is absent when threshold detections are disabled (periodic measures only)&lt;br /&gt;
&lt;br /&gt;
Thus the uplink frame format is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&amp;lt;voltage1&amp;gt;...&amp;lt;voltageN&amp;gt;&amp;lt;internal_temp1&amp;gt;...&amp;lt;internal_tempN&amp;gt;&amp;lt;cause&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default &amp;lt;mask&amp;gt; value is 0x83 which means that the default frame is &amp;lt;mask&amp;gt;&amp;lt;nb_meas&amp;gt;&amp;lt;rtd_temp1&amp;gt;...&amp;lt;rtd_tempN&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates one temperature measurement of +28.1 °C.&lt;br /&gt;
    “8302FFCB000C”: the frame indicates two temperature measurements of -5.3 °c and +1.2 °C.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: the number of measures required to trigger a transmission (possible values are [1..8]&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: the period of the measures in &amp;lt;perdiod_unit&amp;gt; seconds(possible values are [600..65535]&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: the unit of &amp;lt;meas_period&amp;gt; in seconds, the resulting period is &amp;lt;meas_perios&amp;gt;*&amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;mode&amp;gt;: bit field enabling/disabling the measures (threshold detections and periodic measures)&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: subdivision of period for threshold detection, actual measurement period is (&amp;lt;meas_period&amp;gt;*&amp;lt;period_unit&amp;gt;)/&amp;lt;subperiod&amp;gt; seconds&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: value of high threshold&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: value of high hysteresis&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: value of low threshold&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: value of low hysteresis&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: identifies the type of sensor&lt;br /&gt;
&lt;br /&gt;
It is possible to change the sensor configuration using the Nemeus downlink protocol. The downlink frame must be sent on the MS008 LoRaWAN port (10).&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Most significant bit (bit7) is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Bit0 indicates the presence of &amp;lt;up_frame_mask&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit1 indicates the presence of &amp;lt;nb_meas_for_tx&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
Bit2 indicates the presence of &amp;lt;meas_period&amp;gt; and &amp;lt;period_unit&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit3 indicates the presence of &amp;lt;mode&amp;gt; and &amp;lt;subperiod&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit4 indicates the presence of &amp;lt;high_threshold&amp;gt; and &amp;lt;high_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit5 indicates the presence of &amp;lt;low_threshold&amp;gt; and &amp;lt;low_hysteresis&amp;gt; fields&lt;br /&gt;
&lt;br /&gt;
Bit6 indicates the presence of &amp;lt;sensor_type&amp;gt; field&lt;br /&gt;
&lt;br /&gt;
If (mask.bit0 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: 1 byte containing the uplink frame mask&lt;br /&gt;
&lt;br /&gt;
If (mask.bit1 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;nb_meas_for_tx&amp;gt;: 1 byte containing the number of measurements required to trigger a transmission&lt;br /&gt;
&lt;br /&gt;
If (mask.bit2 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;meas_period&amp;gt;: 2 bytes in little endian (LSB first) containing the period of measurements in &amp;lt;period_unit&amp;gt; seconds&lt;br /&gt;
    &amp;lt;period_unit&amp;gt;: 1 byte containing the unit of &amp;lt;meas_period&amp;gt; in seconds (default value is 1 second)&lt;br /&gt;
&lt;br /&gt;
If (mask.bit3 == 1):&lt;br /&gt;
    &amp;lt;mode&amp;gt;: 1 byte encoded as follows:&lt;br /&gt;
        bit0: enable(1)/disable(0) high threshold detection&lt;br /&gt;
        bit1: enable(1)/disable(0) high hysteresis detection (when leaving high threshold state)&lt;br /&gt;
        bit2: enable(1)/disable(0) low threshold detection&lt;br /&gt;
        bit3: enable(1)/disable(0) low hysteresis detection (when leaving low threshold state)&lt;br /&gt;
        bit4: enable(1)/disable(0) periodic measurements&lt;br /&gt;
        bit5 to bit7: reserved&lt;br /&gt;
    &amp;lt;subperiod&amp;gt;: 2 bytes in little endian containing the period subdivision&lt;br /&gt;
&lt;br /&gt;
If (mask.bit4 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;high_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the high threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;high_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving high threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit5 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;low_threshold&amp;gt;: signed integer on 2 bytes in little endian containing the low threshold in 0.1 °C [-2000..+8000]&lt;br /&gt;
    &amp;lt;low_hysteresis&amp;gt;: unsigned integer on 1 byte containing the hysteresis when leaving low threshold state in 0.1 °C [0..255]&lt;br /&gt;
&lt;br /&gt;
If (mask.bit6 == 1):&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;sensor_type&amp;gt;: unsigned integer on 1 byte containing the sensor type [11..16]&lt;br /&gt;
        11(0x0B): N/A&lt;br /&gt;
        12(0x0C): N/A&lt;br /&gt;
        13(0x0D): ...&lt;br /&gt;
&lt;br /&gt;
Thus the downlink frame format is &amp;lt;cmd&amp;gt;&amp;lt;mask&amp;gt;&amp;lt;up_frame_mask&amp;gt;&amp;lt;nb_meas_for_tx&amp;gt;&amp;lt;meas_period&amp;gt;&amp;lt;period_unit&amp;gt;&amp;lt;mode&amp;gt;&amp;lt;subperiod&amp;gt;&amp;lt;high_threshold&amp;gt;&amp;lt;high_hysteresis&amp;gt;&amp;lt;low_threshold&amp;gt; &amp;lt;low_hysteresis&amp;gt;&amp;lt;sensor_type&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some examples in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
    “028182”: set the &amp;lt;up_frame_mask&amp;gt; to 0x82 =&amp;gt; the next uplink frames will include the &amp;lt;th_temp&amp;gt; field only&lt;br /&gt;
    “028E04605401100100”: set &amp;lt;nb_meas_for_tx&amp;gt; to 4, &amp;lt;meas_period&amp;gt; to 21600*&amp;lt;period_unit&amp;gt; seconds, &amp;lt;period_unit&amp;gt; to 1 second and enable periodic measurements only with subperiod to 1 =&amp;gt; one measurement every 6 hours and one transmission every 4 measures (every day). Each uplink frame will include 4 measurements&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=MG003-L-EU_Configuration_Tool_Java&amp;diff=288</id>
		<title>MG003-L-EU Configuration Tool Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=MG003-L-EU_Configuration_Tool_Java&amp;diff=288"/>
				<updated>2018-05-03T10:07:26Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Installation / Execution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Gateways]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Prerequisite ===&lt;br /&gt;
&lt;br /&gt;
Nemeus Java application to control the gateway requests that the JAVA Runtime Evaluation 8 kit is installed onto the computer. This one can be found on [http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html ])&lt;br /&gt;
&lt;br /&gt;
=== Installation / Execution ===&lt;br /&gt;
&lt;br /&gt;
Nemeus JAVA Application is made of only one file : o_NemeusCustomerGateway.jar. This one can be put in any folder.To execute the JAVA application, the following command must be executed in a Command DOS windows in the folder in which the file is available.&lt;br /&gt;
&lt;br /&gt;
[http://store.nemeus.fr/apps/gatewayTool/ Nemeus Java Gateway Application] Used to manage the gateway via Network interface&lt;br /&gt;
&lt;br /&gt;
 java -jar o_NemeusCustomerGateway.jar&lt;br /&gt;
&lt;br /&gt;
=== Logs ===&lt;br /&gt;
&lt;br /&gt;
During execution, the JAVA application records information in a log file which is created in same folder of the .jar file at the time this one is started. The generated log file stays the same during all the JAVa application execution. The file format is log-mgw-&amp;lt;xxxxx&amp;gt; where xxxx corresponds to the date and time of the JAVA application start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== master window ===&lt;br /&gt;
The following figure gives an overview of the JAVA application.&lt;br /&gt;
&lt;br /&gt;
[[File:Mg003-screenshot-start.png|thumb|mg003 Java screenshoot start]]&lt;br /&gt;
&lt;br /&gt;
This one is based on followings&lt;br /&gt;
# The application title and the version of application on top&lt;br /&gt;
# The Action window on the left side&lt;br /&gt;
# The configuration folder on the right side&lt;br /&gt;
# The configuration parameters in the center windows&lt;br /&gt;
# The devices configuration (LoRa WAN server configuration) at the bottom left&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-IO_Digital_Sensor&amp;diff=285</id>
		<title>NIS-IO Digital Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-IO_Digital_Sensor&amp;diff=285"/>
				<updated>2018-04-17T12:06:14Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:1 Exp PE Digital Sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= IO Digital sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor can monitor up to 4 digital inputs and control 4 digital outputs.&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full config ids.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4 Inputs Device wiring &lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|IN0&lt;br /&gt;
|1 : IN0+&lt;br /&gt;
|rowspan=&amp;quot;8&amp;quot;|JP1 1-2 : No pull for voltage input &amp;lt;br&amp;gt; JP1 2-3 : Pull-up for dry contact&lt;br /&gt;
|-&lt;br /&gt;
|2 : GND&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|IN1&lt;br /&gt;
|3 : IN1+&lt;br /&gt;
|-&lt;br /&gt;
|4 : GND&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|IN2&lt;br /&gt;
|5 : IN2+&lt;br /&gt;
|-&lt;br /&gt;
|6 : GND&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|IN3&lt;br /&gt;
|7 : GND&lt;br /&gt;
|-&lt;br /&gt;
|8 : IN3+&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hardware description ==&lt;br /&gt;
&amp;lt;section begin=Input Electrical Characteristics /&amp;gt;&lt;br /&gt;
=== Input Electrical Characteristics ===&lt;br /&gt;
&lt;br /&gt;
Two modes selectable with jumper: &lt;br /&gt;
* Voltage level detection, polarity agnostic&lt;br /&gt;
* Integrated pull-UP for dry contact input&lt;br /&gt;
&lt;br /&gt;
;Maximum Input Voltage +/-35V&lt;br /&gt;
;Detection level VIL 2.1V / VIH 2.3V&lt;br /&gt;
;Opto-isolated 3,750 Vrms&lt;br /&gt;
&amp;lt;section end=Input Electrical Characteristics /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=Output Electrical Characteristics /&amp;gt;&lt;br /&gt;
=== Output Electrical Characteristics ===&lt;br /&gt;
* ESD Protected&lt;br /&gt;
* Thermal shutdown with auto restart&lt;br /&gt;
* Short circuit and overload protection&lt;br /&gt;
* Overvoltage protection&lt;br /&gt;
* Current limitation&lt;br /&gt;
* Can drive resistive, inductive and capacitive loads&lt;br /&gt;
&lt;br /&gt;
;Maximum Voltage 42V&lt;br /&gt;
;ON resistance 50mΩ&lt;br /&gt;
;Nominal load current 3A&lt;br /&gt;
&amp;lt;section end=Output Electrical Characteristics /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
bit 0 : indicates the presence of &amp;lt;nb_meas&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 1 : indicates the presence of &amp;lt;io_state&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 2 : indicates the presence of &amp;lt;voltage&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 3 : indicates the presence of &amp;lt;internal_temp&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 4 : indicates the presence of &amp;lt;in_evt&amp;gt; field.&lt;br /&gt;
&lt;br /&gt;
bit 5 : is reserved&lt;br /&gt;
&lt;br /&gt;
bit 6 : is reserved&lt;br /&gt;
&lt;br /&gt;
When bit 0 is not set, it means that other fields are present only once (nb_meas = 1).&lt;br /&gt;
&lt;br /&gt;
if (mask.bit0 == 1) :&lt;br /&gt;
    &amp;lt;nb_meas&amp;gt;: 1 byte containing the number of measurements which follows.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit1 == 1) :&lt;br /&gt;
    &amp;lt;io_state&amp;gt;: 4*&amp;lt;nb_meas&amp;gt; bytes containing the input and output states. For each measure, first 16 bits contain the input states, last 16 bits contain the output states.&lt;br /&gt;
                Each 16 bits word is cut in 8 pairs of 2 bits assigned to each input or output.&lt;br /&gt;
                For each 2 bit pair, 00 means disabled, 10 means enabled level low, 11 means enabled level high&lt;br /&gt;
&lt;br /&gt;
if (mask.bit2 == 1) :&lt;br /&gt;
    &amp;lt;voltage&amp;gt;: 2*&amp;lt;nb_meas&amp;gt; bytes containing the voltage values measured by the sensor in millivolts. Each voltage value is an unsigned integer on 16 bits in big endian.&lt;br /&gt;
&lt;br /&gt;
if (mask.bit3 == 1)&lt;br /&gt;
   &amp;lt;internal_temp&amp;gt;: 1*&amp;lt;nb_meas&amp;gt; bytes containing the internal temperature values (using MCU internal sensor). Each temperature value is a signed integer on 8 bits in big endian in °C [-128..+127].&lt;br /&gt;
&lt;br /&gt;
if (mask.bit4 == 1) :&lt;br /&gt;
    &amp;lt;in_evt&amp;gt;: 2 bytes containing the input source and the edge. First byte is a bit field identifying the input source(s) (bit 0 is input 0 ...). Second byte is a bit field identifying the edge, 0 means falling edge and 1 means rising edge. Edge bit is significant only when source bit is set to 1.&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=280</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=280"/>
				<updated>2018-03-08T16:29:31Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* get the samples from the fifo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
From the measurement, we can see that a correct threshold would be 3000 raw. Which is 183mg. (3000/16384, because +-2g: 4g dynamic on 16bits: 16384 raw per 1g) &lt;br /&gt;
For the THS_REG: 1 LSb = 16 mg @ FS = ±2 g leads to 11 (183/16).&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;br /&gt;
&lt;br /&gt;
=== tests with different ODR values ===&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-states3.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== get the samples from the fifo ====&lt;br /&gt;
Following the interruption of freefall, the previous 32 samples are recovered, and we continue to retrieve the subsequent samples.&lt;br /&gt;
Thanks to this process, it is possible to analyze the buffer and condition the alert accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-interrupt-FF-reverse.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=279</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=279"/>
				<updated>2018-03-08T15:19:40Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* get the samples from the fifo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
From the measurement, we can see that a correct threshold would be 3000 raw. Which is 183mg. (3000/16384, because +-2g: 4g dynamic on 16bits: 16384 raw per 1g) &lt;br /&gt;
For the THS_REG: 1 LSb = 16 mg @ FS = ±2 g leads to 11 (183/16).&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;br /&gt;
&lt;br /&gt;
=== tests with different ODR values ===&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-states3.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== get the samples from the fifo ====&lt;br /&gt;
Following the interruption of freefall, the previous 32 samples are found again, and we continue to retrieve the following samples.&lt;br /&gt;
Thanks to this process, it is possible to analyze the buffer and condition the alert accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-interrupt-FF-reverse.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=278</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=278"/>
				<updated>2018-03-08T15:15:26Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Freefall tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
From the measurement, we can see that a correct threshold would be 3000 raw. Which is 183mg. (3000/16384, because +-2g: 4g dynamic on 16bits: 16384 raw per 1g) &lt;br /&gt;
For the THS_REG: 1 LSb = 16 mg @ FS = ±2 g leads to 11 (183/16).&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;br /&gt;
&lt;br /&gt;
=== tests with different ODR values ===&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-states3.png|400px]]&lt;br /&gt;
&lt;br /&gt;
==== get the samples from the fifo ====&lt;br /&gt;
Following the interruption of freefall, the previous 32 samples are found again, and we continue to retrieve the following samples.&lt;br /&gt;
Thanks to this process, it is possible to analyze the buffer and condition the alert accordingly.&lt;br /&gt;
[[File:Freefall-75cm-25Hz-interrupt-FF-reverse.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-25Hz-interrupt-FF-reverse.png&amp;diff=277</id>
		<title>File:Freefall-75cm-25Hz-interrupt-FF-reverse.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-25Hz-interrupt-FF-reverse.png&amp;diff=277"/>
				<updated>2018-03-08T15:12:17Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=276</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=276"/>
				<updated>2018-03-08T14:08:07Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* state 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
From the measurement, we can see that a correct threshold would be 3000 raw. Which is 183mg. (3000/16384, because +-2g: 4g dynamic on 16bits: 16384 raw per 1g) &lt;br /&gt;
For the THS_REG: 1 LSb = 16 mg @ FS = ±2 g leads to 11 (183/16).&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;br /&gt;
&lt;br /&gt;
=== tests with different ODR values ===&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-states3.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=275</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=275"/>
				<updated>2018-03-08T13:53:06Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Freefall tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;br /&gt;
&lt;br /&gt;
=== tests with different ODR values ===&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-25Hz-states3.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-25Hz-states3.png&amp;diff=274</id>
		<title>File:Freefall-75cm-25Hz-states3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-25Hz-states3.png&amp;diff=274"/>
				<updated>2018-03-08T13:52:02Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=273</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=273"/>
				<updated>2018-03-08T11:48:48Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* state 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
in our example, the stable part of the free fall lasts about 230ms for a height of 75cm.&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=272</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=272"/>
				<updated>2018-03-08T11:45:45Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Accelerometer sensor properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
== Freefall tests ==&lt;br /&gt;
To test human fall, we made tests at 1344Hz.&lt;br /&gt;
These tests were carried out from a height of 75 cm, representing a worse case, where the fall is from a very low height.&lt;br /&gt;
&lt;br /&gt;
[[File:Freefall-75cm-1344Hz-states.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== state 1 ===&lt;br /&gt;
Initial state, in the case shown, gravity appears on the Z axis, the sensor being positioned horizontally.&lt;br /&gt;
&lt;br /&gt;
=== state 2 ===&lt;br /&gt;
Free fall, we get an acceleration that decreases for a short moment. That's the condition we can detect. The vectorial sum of the 3 axes tends towards 0G.&lt;br /&gt;
&lt;br /&gt;
=== state 3 ===&lt;br /&gt;
Impact. For the test carried out, the impact took place on a flexible surface (foam). Nevertheless, we can measure a large shock. The idea is to detect this activity following the detection of free fall.&lt;br /&gt;
&lt;br /&gt;
=== state 4 ===&lt;br /&gt;
bouncing. Following the impact, a few jolts may appear, depending on the environment in which the fall occurs.&lt;br /&gt;
&lt;br /&gt;
=== state 5 ===&lt;br /&gt;
After a fall, the human body may not move for some time. The vector sum always corresponds to gravity, however the sensor may have changed its orientation.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-1344Hz-states.png&amp;diff=271</id>
		<title>File:Freefall-75cm-1344Hz-states.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Freefall-75cm-1344Hz-states.png&amp;diff=271"/>
				<updated>2018-03-08T10:22:28Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-MB_Modbus_Modem&amp;diff=270</id>
		<title>NIS-MB Modbus Modem</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-MB_Modbus_Modem&amp;diff=270"/>
				<updated>2018-03-06T17:36:25Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Sensors]]&lt;br /&gt;
[[File:|thumb|400px|Modbus Modem]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
* three modes: UART CMOS level, RS232 and RS485 bus. &lt;br /&gt;
* Modbus slave device.&lt;br /&gt;
* allows to connect a PLC to sigfox or LoRaWAN network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full config ids.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Target settings&lt;br /&gt;
|-&lt;br /&gt;
|Target connection&lt;br /&gt;
|-&lt;br /&gt;
|1 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : GND&lt;br /&gt;
|-&lt;br /&gt;
|3 : CMOS_UART_TX&lt;br /&gt;
|-&lt;br /&gt;
|4 : CMOS_UART_RX&lt;br /&gt;
|-&lt;br /&gt;
|5 : A_RS485&lt;br /&gt;
|-&lt;br /&gt;
|6 : B_RS485&lt;br /&gt;
|-&lt;br /&gt;
|7 : RX_RS232&lt;br /&gt;
|-&lt;br /&gt;
|8 : TX_RS232&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
JP1 and JP2 are NC.&lt;br /&gt;
&lt;br /&gt;
By software configuration, three possible modes are available: UART CMOS level, RS232 and RS485 bus. &lt;br /&gt;
&lt;br /&gt;
Connect your power supply to the terminal block as shown in the picture.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-MB_Modbus_Modem&amp;diff=269</id>
		<title>NIS-MB Modbus Modem</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-MB_Modbus_Modem&amp;diff=269"/>
				<updated>2018-03-06T17:35:52Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Created page with &amp;quot;Category:Sensors Modbus Modem  = General information = {{:NIS Overview}}  = Mechanics = * Dimensions 60 x 95 x 85mm (109mm including fixing brackets)...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Sensors]]&lt;br /&gt;
[[File:|thumb|400px|Modbus Modem]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
* three modes: UART CMOS level, RS232 and RS485 bus. &lt;br /&gt;
* Modbus slave device.&lt;br /&gt;
* allows to connect a PLC to sigfox or LoRaWAN network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
[[File:Full config ids.png|picture of sensor pcb and box]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Target settings&lt;br /&gt;
|-&lt;br /&gt;
|Target connection&lt;br /&gt;
|-&lt;br /&gt;
|1 : GND&lt;br /&gt;
|-&lt;br /&gt;
|2 : GND&lt;br /&gt;
|-&lt;br /&gt;
|3 : CMOS_UART_TX&lt;br /&gt;
|-&lt;br /&gt;
|4 : CMOS_UART_RX&lt;br /&gt;
|-&lt;br /&gt;
|5 : A_RS485&lt;br /&gt;
|-&lt;br /&gt;
|6 : B_RS485&lt;br /&gt;
|-&lt;br /&gt;
|7 : RX_RS232&lt;br /&gt;
|-&lt;br /&gt;
|8 : TX_RS232&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
By software configuration, three possible modes are available: UART CMOS level, RS232 and RS485 bus. &lt;br /&gt;
&lt;br /&gt;
Connect your power supply to the terminal block as shown in the picture.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=268</id>
		<title>NIS-RP Repeater</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-RP_Repeater&amp;diff=268"/>
				<updated>2018-03-06T15:50:22Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Created page with &amp;quot;Repeater  = General information = {{:NIS Overview}}  = Mechanics = * Dimensions 60 x 95 x 85mm (109mm including fixing brackets) * 96mm spacing between b...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:|thumb|400px|Repeater]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Features =&lt;br /&gt;
&lt;br /&gt;
*Compatible with Nemeus NIS series of sensors.&lt;br /&gt;
&lt;br /&gt;
*Low requirements on sensors of other brands to make them repeatable. Contact us for a complete list of requirements.&lt;br /&gt;
&lt;br /&gt;
*Allows to increase the network coverage, and to reach uncovered areas.&lt;br /&gt;
&lt;br /&gt;
*by software configuration, two possible modes: &lt;br /&gt;
** LoRawan sensor repeater to Lorawan network.&lt;br /&gt;
** LoRawan sensor repeater to Sigfox network. &lt;br /&gt;
&lt;br /&gt;
*Very high autonomy thanks to a fine management of the sensor listening windows.&lt;br /&gt;
&lt;br /&gt;
*Dual battery to reach the same autonomy as the sensors.&lt;br /&gt;
&lt;br /&gt;
*possibility to repeat several sensors with the same repeater.&lt;br /&gt;
&lt;br /&gt;
*Configuration in ABP or OTAA protocol.&lt;br /&gt;
&lt;br /&gt;
*The repeater can use the sensor identifiers (transparent mode), or use its own identifiers (encapsulated mode).&lt;br /&gt;
&lt;br /&gt;
*Fully bidirectional, it can also repeat the downlink channel, with delay.&lt;br /&gt;
&lt;br /&gt;
= Power consumption =&lt;br /&gt;
&lt;br /&gt;
Power consumption depends on the number of measurements and transmissions.&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-LX_Luminosity_Sensor&amp;diff=267</id>
		<title>NIS-LX Luminosity Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-LX_Luminosity_Sensor&amp;diff=267"/>
				<updated>2018-03-06T13:46:54Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE light sensor.png|thumb|400px|Luminosity Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Luminosity sensor properties =&lt;br /&gt;
* ADC resolution 16 bits&lt;br /&gt;
* From 5.7m lux to 10000 lux&lt;br /&gt;
* low power &lt;br /&gt;
* high sensitivity&lt;br /&gt;
* Optional RGB spectral response&lt;br /&gt;
* reject IR in light sources&lt;br /&gt;
* rejects 50Hz and 60Hz flicker caused by artificial light sources&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
There is nothing to be wired, because the sensor is integrated. It is mounted on the surface of the housing cover. &lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/TLibvECCZnrPduxT|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-LX_Luminosity_Sensor&amp;diff=266</id>
		<title>NIS-LX Luminosity Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-LX_Luminosity_Sensor&amp;diff=266"/>
				<updated>2018-03-06T13:42:42Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: Created page with &amp;quot;&amp;lt;!-- Category:Sensors --&amp;gt;  Luminosity Sensor  = General information = {{:NIS Overview}}  = Mechanics = * Dimensions 60 x 95 x...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- [[Category:Sensors]] --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Exp PE light sensor.png|thumb|400px|Luminosity Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Luminosity sensor properties =&lt;br /&gt;
&lt;br /&gt;
* low power &lt;br /&gt;
* high sensitivity&lt;br /&gt;
* Optional RGB spectral response&lt;br /&gt;
* reject IR in light sources&lt;br /&gt;
* rejects 50Hz and 60Hz flicker caused by artificial light sources&lt;br /&gt;
&lt;br /&gt;
= Wiring =&lt;br /&gt;
&lt;br /&gt;
There is nothing to be wired, because the sensor is integrated. It is mounted on the surface of the housing cover. &lt;br /&gt;
&lt;br /&gt;
= Magnetic Switch Protocol description =&lt;br /&gt;
{{:NIS Generic Magnetic Switch Protocol}}&lt;br /&gt;
&lt;br /&gt;
= Radio frames description =&lt;br /&gt;
{{:NIS Generic Application Protocol}}&lt;br /&gt;
&lt;br /&gt;
== Uplink data Frame format ==&lt;br /&gt;
&lt;br /&gt;
The uplink payload contains multiple fields: &amp;lt;mask&amp;gt;: bit field on 1 byte indicating the presence of other fields. Bit 7 is always to 1 because the mask is never extended on next byte.&lt;br /&gt;
&lt;br /&gt;
Some examples (in hexadecimal):&lt;br /&gt;
&lt;br /&gt;
    “820119”: the frame indicates&lt;br /&gt;
&lt;br /&gt;
== Downlink Frame format ==&lt;br /&gt;
&lt;br /&gt;
The sensor configuration contains the following fields:&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;up_frame_mask&amp;gt;: the mask identifying the different fields present in uplink frames (possible values are described in “Uplink data Frame format” section)&lt;br /&gt;
&lt;br /&gt;
The downlink frame has the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;cmd&amp;gt;: 1 byte containing WRITE_CFG_CMD=0x02&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Power consumption ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power consumption calculator based on the number of measurements and transmissions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{#widget:Iframe|param=https://jscalc.io/calc/TLibvECCZnrPduxT|width=100%|height=800}}&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=MM002-xx-EU_AT_Commands&amp;diff=263</id>
		<title>MM002-xx-EU AT Commands</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=MM002-xx-EU_AT_Commands&amp;diff=263"/>
				<updated>2018-02-26T09:32:28Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* AT+RF=SPER, */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:MM002]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
AT commands are used as an interface with Nemeus Communication modules. Modules can be driven at 3 different levels:&lt;br /&gt;
&lt;br /&gt;
* Radio level: embedded AT server uses RF SX127x driver API (LoRa™and FSK modulations can be used).&lt;br /&gt;
* LoRa™WAN level: embedded AT server uses LoRa™WAN library API(available only when the library is present in embedded software).&lt;br /&gt;
* SIGFOX™ level: embedded AT server uses SIGFOX™ library API(available only when the library is present in embedded software).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''When radio level is used'''&amp;lt;/u&amp;gt;, no device personalization is required, it is up to AT client application to implement network layer according to the network the device is attached (the module doesn’t know the network).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''When LoRa™WAN level is used'''&amp;lt;/u&amp;gt;, the device is personalized with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* Whatever the activation type, a 64 bits device unique identifier.&lt;br /&gt;
* When Activation By Personalization (ABP) is used:&lt;br /&gt;
** An AES128 network security key for MIC computation and encryptionof MAC control commands on port 0.&lt;br /&gt;
** An AES128 application security key for encryption of applicationpayloads (not required when data encryption is disabled on themodule).&lt;br /&gt;
* When Over The Air Activation (OTAA) is used:&lt;br /&gt;
** A 64 bits application unique identifier.&lt;br /&gt;
** An AES128 application Key used to derive the network andapplication security keys.&lt;br /&gt;
 &lt;br /&gt;
In first software versions (before 15W40) the module generates unique identifiers and keys, these default LoRa™WAN personalization parameters are modifiable by AT commands. It allows customers to personalize their devices according to the network operator rules.&lt;br /&gt;
&lt;br /&gt;
In further software versions, modules are personalized with Nemeus OUI during production phase and they can’t be modified. In this case the device unique identifier is read-only and the AES128 keys are hidden. The application unique identifier is still modifiable by AT command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''When SIGFOX™ level is used'''&amp;lt;/u&amp;gt;, the device is personalized with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* The read-only device unique identifier.&lt;br /&gt;
* The hidden AES128 security key.&lt;br /&gt;
* The initial read-only Portability Access Code (PAC).&lt;br /&gt;
 &lt;br /&gt;
Before driving the module, the AT client application must activate the level it wants to use.&lt;br /&gt;
&lt;br /&gt;
Only one level can be activated at a time.&lt;br /&gt;
&lt;br /&gt;
When activating a level, a previously activated level is automatically deactivated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Mm002_serial_diagram.png|center|500px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
For evaluation/test purpose, Nemeus recommends to use NemeusATK java application to drive the module.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{TOC limit|3}}&lt;br /&gt;
&lt;br /&gt;
== UART configuration ==&lt;br /&gt;
&lt;br /&gt;
The UART configuration for Modem connection is as follows:&lt;br /&gt;
&lt;br /&gt;
* Baud Rate : 38400&lt;br /&gt;
* Data : 8 bits&lt;br /&gt;
* Parity : None&lt;br /&gt;
* Stop : 1 bit&lt;br /&gt;
* Flow control : None&lt;br /&gt;
* End line character : &amp;amp;lt;LF&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. Typical configuration given by ‘stty’ command on linux:&lt;br /&gt;
&lt;br /&gt;
''speed 38400 baud; rows 0; columns 0; line = 0;''&lt;br /&gt;
&lt;br /&gt;
''intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = &amp;amp;lt;undef&amp;amp;gt;; eol2 = &amp;amp;lt;undef&amp;amp;gt;;swtch = &amp;amp;lt;undef&amp;amp;gt;; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;flush = ^O; min = 1; time = 0;''&lt;br /&gt;
&lt;br /&gt;
''-parenb -parodd cs8 hupcl -cstopb cread clocal –crtsct signbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff –iuclc -ixany -imaxbel -iutf8''&lt;br /&gt;
&lt;br /&gt;
''-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop –echoprt -echoctl -echoke''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT commands ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
At command are split according to communication layers. This is a list of main AT commands for SW given in ‘compatibility’ paragraph. The full list and limitation can be found in SW delivery note.&lt;br /&gt;
&lt;br /&gt;
Formalism is the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:AT-command-line.png|center]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For each group among RF, RFRX, RFTX, MAC and SFX, the command AT+&amp;amp;lt;group&amp;amp;gt;= HELP describes available sub-commands. Example:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC= HELP&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt; are ON,OFF,?,SET,SCH,RCH,STI,RTI,SRX,RRX,SNDTXT,SNDBIN,RCVTXT,RCVBIN,STOPRCV,SNDLCR,DEVUID,DEVADDR,APPUID,APPKEY,NSKEY,APPSKEY&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
When a sub-command has parameter, AT+&amp;amp;lt;group&amp;amp;gt;= &amp;amp;lt;cmd&amp;amp;gt;? Describes the parameter list. Example:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDTXT?&lt;br /&gt;
 +MAC: SNDTXT,&amp;amp;lt;textpayload&amp;amp;gt;,&amp;amp;lt;nbrepeat&amp;amp;gt;,&amp;amp;lt;port&amp;amp;gt;,&amp;amp;lt;mode&amp;amp;gt;&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
When command is unknown “command not found (‘try help’)” is returned.&lt;br /&gt;
&lt;br /&gt;
AT commands are not cancelable, thus AT client application must wait for AT response before sending a new command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Generic Parameter description ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
Following table describes mains parameters used with AT commands.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                                                                                                                                                                                                        &lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''Values'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
'''Description'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
'''Type'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;mod&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Modulation to be use&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
LORA/FSK&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;freq&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Carrier frequency&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Expressed in Hertz *&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;pwr&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Tx power (range depends on Module definition; e.g. MM001 -1dBm to 14dBm)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In dBm *&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;bw&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Bandwidth from 125kHz to 500 kHz&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In Hertz *&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;dr&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Spreading Factor in LoRa mode&lt;br /&gt;
&lt;br /&gt;
Data rate in FSK mode&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
6/7 to 12 *&lt;br /&gt;
&lt;br /&gt;
In kb/s&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;cr&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Coding Rate (LoRa mode only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
1 to 4&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;min/maxdr&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Data rate range&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
SF7BW125 to SF12BW125, SF7BW250 or FSK50KBPS&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;tx/rxcrcon&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Flag for CRC check activation in TX or RX&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
True or false&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;preamble&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Length of the preamble&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
6 to 65535&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;f_dev&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Frequency deviation (FSK mode only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;fixed_len&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
When true, PHY payload is constant (no header)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
True or false&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;tx/rxiqinv'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Flag for IQ inversion in TX or RX (LoRa mode only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
True or false&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;rxw1&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Delay before RX windows 1&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In ms&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;rxw2&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Delay before RX windows 2 ; NOTE: rx_w2 must be longer than rx_w1.&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In ms&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;tstamp&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Rx ot Tx timestamp&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In ticks&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;symbtimeout&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Number of symbols before RX timeout&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
5 to 1023&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;port&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
MAC port&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
0 to 10&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;textpayload&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Payload to send or received payload in ASCII&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ASCII string&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt; binarypayload&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Payload to send or received payload in hexadecimal coded in ASCII&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ASCII string containing 0 to F characters&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;chan&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Identifies one of the 8 MAC channels&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
0 to 7&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;enable&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Indicates the status of a channel&lt;br /&gt;
|&lt;br /&gt;
True or false&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;nbrepeat&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Number of repetitions when sending a payload.&lt;br /&gt;
&lt;br /&gt;
At MAC level this parameter indicates if data confirmed must be used or not (0 means unacked mode&amp;amp;gt;).&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
0 to N&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;interval&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Time interval between repetitions&lt;br /&gt;
| &lt;br /&gt;
In ms&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;hexaddress&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Address of a registry in hexadecimal&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;nbbytes&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
0 to 4&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;byteN&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Byte to write&lt;br /&gt;
| &lt;br /&gt;
0x00 to 0xFF&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;margin&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Link demodulation margin above the demodulation floor computed by the nearest gateway&lt;br /&gt;
| &lt;br /&gt;
0 to 254 in dB&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;gwcnt&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Number of gateways which received the MAC message&lt;br /&gt;
| &lt;br /&gt;
1 to N&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;devuid&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Device unique identifier&lt;br /&gt;
| &lt;br /&gt;
8 bytes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;devaddr&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Device address (4 LSB of &amp;amp;lt;devuid&amp;amp;gt;)&lt;br /&gt;
| &lt;br /&gt;
4 bytes&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;more&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Indicates if more downlink data is pending&lt;br /&gt;
| &lt;br /&gt;
true or false&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;mode&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
LoRa MAC transmission mode&lt;br /&gt;
| &lt;br /&gt;
0 for confirmed data&lt;br /&gt;
not 0 for unconfirmed data&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;rxw1freq&amp;amp;gt;'''&lt;br /&gt;
| &lt;br /&gt;
Channel frequency used for Rx window 1&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In Hz, 0 means same as Tx frequency&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;eirp&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Effective Isotropic Radiated Power received in TxParamSetupReq (Asian band only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
In dBm&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;updwell&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Uplink dwell time received in TxParamSetupReq (Asian band only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
0 means no limit&lt;br /&gt;
&lt;br /&gt;
1 means 400 ms&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;dwdwell&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Downlink dwell time received in TxParamSetupReq (Asian band only)&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
0 means no limit&lt;br /&gt;
&lt;br /&gt;
1 means 400 ms&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;backoff&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Ack mode retransmission back-off procedure&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
false means disabled&lt;br /&gt;
&lt;br /&gt;
true means enabled&lt;br /&gt;
&lt;br /&gt;
|}  &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Depends on Module in use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Generic Response description ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Every AT command send a response of one of the following types:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
                                                            &lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''Values'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
'''Description'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
'''Visible output'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
'''Generic'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;OK&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OK response&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;ERROR&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ERROR response&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ERROR&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;ERROR NOACK&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ERROR response due to a missing ACK&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
ERROR_NOACK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;+MAC: '''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Response from MAC layer&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
+MAC:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;+RFTX: '''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Response from RF layer (TX)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
+RFTX:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;+RFRX: '''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Response from RF layer (RX)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
+RFRX:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
'''&amp;amp;lt;CR&amp;amp;gt;&amp;amp;lt;LF&amp;amp;gt;+DEBUG: '''&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
Response from debug layer&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
+DEBUG:&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}  &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT Generic commands ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
Intentionally left blank&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT RF commands ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
RF commands are dealing with the RF Layer. This layer should be started before using most of RF commands listed in this section (unless stated otherwise).&lt;br /&gt;
&lt;br /&gt;
3 groups of commands exist:&lt;br /&gt;
&lt;br /&gt;
* +RF group: commands common to TX and RX functions.&lt;br /&gt;
* +RFTX group: commands dedicated to TX functions.&lt;br /&gt;
* +RFRX group: commands dedicated to RX functions.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=HELP ===&lt;br /&gt;
&lt;br /&gt;
This command is used to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=HELP&lt;br /&gt;
 +RF: &amp;amp;lt;cmd&amp;amp;gt;&lt;br /&gt;
 +RF: &amp;amp;lt;cmd&amp;amp;gt; are ON,OFF,?,RPER,SPER,RSW,SSW&lt;br /&gt;
 +RF: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=ON ===&lt;br /&gt;
&lt;br /&gt;
This command is used to start RF layer (Radio driver) and is mandatory in order to use most of RF commands listed in this section (unless otherwise stated).&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
ERROR is returned if either LoRa™WAN stack or SIGFOX™ stack is using the radio (Tx or Rx is ongoing).&lt;br /&gt;
&lt;br /&gt;
Else OK is returned.&lt;br /&gt;
&lt;br /&gt;
If LoRa™WAN stack was ON (but not using the radio), it is automatically set to OFF.&lt;br /&gt;
&lt;br /&gt;
If SIGFOX™ stack was ON (but not using the radio), it is automatically set to OFF.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=OFF ===&lt;br /&gt;
&lt;br /&gt;
This command is used to stop RF layer (Radio driver). After calling this command, most of RF commands listed in this section will return ERROR (unless stated otherwise).&lt;br /&gt;
&lt;br /&gt;
RF layer stop (Radio driver).&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=? ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the current RF layer state.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=?&lt;br /&gt;
 +RF: OFF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=RPER ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the Packet Error Rate state.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=RPER&lt;br /&gt;
 +RF: false&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=SPER, === &lt;br /&gt;
This command is used to set the Packet Error Rate state and the power offset&lt;br /&gt;
&lt;br /&gt;
The following formalism is used. It can be checked by the AT+RF=SPER?command:&lt;br /&gt;
&lt;br /&gt;
+RF=SPER,&amp;amp;lt;per_state&amp;amp;gt;,&amp;amp;lt;pwroffset&amp;amp;gt;,&amp;amp;lt;loracsoffset&amp;amp;gt;,&amp;amp;lt;fskcsoffset&amp;amp;gt;,&amp;amp;lt;freqcoffset&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;per_state&amp;amp;gt; PER state, unchanged when absent.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pwroffset&amp;amp;gt; is the Power offset&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;loracoffset&amp;amp;gt; is the RSSI Power offset in LoRa (dB)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;fskcoffset&amp;amp;gt; is the RSSI Power offset in Fsk and Sigfox (dB)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;freqcoffset&amp;amp;gt; is the frequency offset in Sigfox (Hz) (Available in 17w01 and newer versions)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When PER state is true, a counter is added at the beginning of Tx frames. This counter is used on Rx side to compute the Packet Error Rate.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;per_state&amp;amp;gt; is “true”, “false” or omitted.&lt;br /&gt;
&lt;br /&gt;
ERROR if &amp;amp;lt;per_state&amp;amp;gt; is syntactically incorrect.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=SPER,true&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== AT+RF=RSW ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the current LoRa and FSK synchro words. Synchro words are in hexadecimal format (see formalism on SSW command)&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=RSW&lt;br /&gt;
 +RF: 12,69817E96&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RF=SSW, === &lt;br /&gt;
This command is used to set the synchro words.&lt;br /&gt;
&lt;br /&gt;
AT+RF=SSW,&amp;amp;lt;LoRa_SyncWord&amp;amp;gt;,&amp;amp;lt;Fsk_SyncWord&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;LoRa_SyncWord&amp;amp;gt; LoRa Synchro Word (one byte)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;Fsk_SyncWord&amp;amp;gt; FSK Synchro Word (up to six bytes)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A synchro word is unchanged when related parameter is absent.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are correct or omitted.&lt;br /&gt;
&lt;br /&gt;
ERROR if FSK synchro word is too long (6 bytes/12 hexa digits max) or number of digits is not even.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RF=SSW, 12,69817E96&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=HELP ===&lt;br /&gt;
&lt;br /&gt;
This command is used to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=HELP&lt;br /&gt;
 +RFTX: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +RFTX: &amp;amp;lt;cmd&amp;amp;gt; are ?,SET,SEND,SNDTXT,SNDBIN,START,STOP&lt;br /&gt;
 +RFTX: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=? ===&lt;br /&gt;
&lt;br /&gt;
Read TX parameters. This command does not need the RF layer to be ON.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+RFTX: &amp;amp;lt;mod&amp;amp;gt;,&amp;amp;lt;freq&amp;amp;gt;,&amp;amp;lt;pwr&amp;amp;gt;,&amp;amp;lt;bw&amp;amp;gt;,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;cr&amp;amp;gt;,&amp;amp;lt;txcrcon&amp;amp;gt;,&amp;amp;lt;preamble&amp;amp;gt;,&amp;amp;lt;fdev&amp;amp;gt;,&amp;amp;lt;fixedlen&amp;amp;gt;,&amp;amp;lt;txiqinv&amp;amp;gt;,&amp;amp;lt;rxw1&amp;amp;gt;,&amp;amp;lt;rxw2&amp;amp;gt;,&amp;amp;lt;tstamp&amp;amp;gt;,&amp;amp;lt;symbtimeout&amp;amp;gt;,&amp;amp;lt;rxiqinv&amp;amp;gt;,&amp;amp;lt;rxcrcon&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=?&lt;br /&gt;
 +RFTX :  LORA,868100000,14,125000,7,1,true,8,0,false,false,0,0,0,5,false,true&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=SET, === &lt;br /&gt;
Write Tx parameters. This command does not need the RF layer to be ON. Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
The following formalism is used. It can be checked by the '''''AT+RFTX=SET?''''' command:&lt;br /&gt;
&lt;br /&gt;
+RFTX= SET,&amp;amp;lt;mod&amp;amp;gt;,&amp;amp;lt;freq&amp;amp;gt;,&amp;amp;lt;pwr&amp;amp;gt;,&amp;amp;lt;bw&amp;amp;gt;,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;cr&amp;amp;gt;,&amp;amp;lt;txcrcon&amp;amp;gt;,&amp;amp;lt;preamble&amp;amp;gt;,&amp;amp;lt;fdev&amp;amp;gt;,&amp;amp;lt;fixedlen&amp;amp;gt;,&amp;amp;lt;txiqinv&amp;amp;gt;,&amp;amp;lt;rxw1&amp;amp;gt;,&amp;amp;lt;rxw2&amp;amp;gt;,&amp;amp;lt;tstamp&amp;amp;gt;,&amp;amp;lt;symbtimeout&amp;amp;gt;,&amp;amp;lt;rxiqinv&amp;amp;gt;,&amp;amp;lt;rxcrcon&amp;amp;gt;,&amp;amp;lt;rxaftertx&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parameters &amp;amp;lt;symbtimeout&amp;amp;gt;, &amp;amp;lt;rxiqinv&amp;amp;gt; and &amp;amp;lt;rxcrcon&amp;amp;gt; are used only when an Rx window is specified.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;tstamp&amp;amp;gt; is the absolute clock time of the module. If the time is over, the frame is immediately transmitted. Usually this timestamp is a delay added to an Rx timestamp (feature not fully implemented)&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To set the &amp;amp;lt;pwr&amp;amp;gt; to 12 and the &amp;amp;lt;txcrcon&amp;amp;gt; to false:&lt;br /&gt;
&lt;br /&gt;
 AT+RFTX=SET,,,12,,,,false&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== AT+RFTX=SEND, (for test purpose) === &lt;br /&gt;
Transmit &amp;amp;lt;nb_frames&amp;amp;gt; numbered frames every &amp;amp;lt;interval&amp;amp;gt; ms.&lt;br /&gt;
&lt;br /&gt;
AT+RFTX= SEND,&amp;amp;lt;nb_frames&amp;amp;gt;,&amp;amp;lt;interval&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default values : &amp;amp;lt;nb_frames&amp;amp;gt; = 1, &amp;amp;lt;interval&amp;amp;gt; = 500 (ms).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;per_state&amp;amp;gt; is true (see AT+RF=SPER command), transmitted frames contain a counter on 4 bytes followed by a 32 bytes fixed pattern.&lt;br /&gt;
&lt;br /&gt;
This command is used as a generator for Packet Error Rate (PER) computing.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;nb_frames&amp;amp;gt; have been successfully sent.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF or if one frame has not been successfully sent.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=SEND,3,500&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=START (for test purpose) ===&lt;br /&gt;
&lt;br /&gt;
FSK continuous transmission.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=START&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=STOP (for test purpose) ===&lt;br /&gt;
&lt;br /&gt;
Stop FSK continuous transmission.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=STOP&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=SNDTXT, === &lt;br /&gt;
Repeat &amp;amp;lt;nbrepeat&amp;amp;gt; text frames every 500 ms.&lt;br /&gt;
&lt;br /&gt;
AT+RFTX= SNDTXT,&amp;amp;lt;txt&amp;amp;gt;,&amp;amp;lt;nbrepeat&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default values : &amp;amp;lt;nbrepeat&amp;amp;gt; = 1.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;txt&amp;amp;gt; parameter is transmitted as received on serial link, the module doesn’t manage any character set.&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;per_state&amp;amp;gt; is true (see AT+RF=SPER command), a 4 bytes counter is added at the beginning of the frame.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;nbrepeat&amp;amp;gt; have been successfully sent.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF or if one frame has not been successfully sent.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFTX=SNDTXT,HELLO WORLD,3&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFTX=SNDBIN, === &lt;br /&gt;
Repeat &amp;amp;lt;nbrepeat&amp;amp;gt; binary frames every 500 ms.&lt;br /&gt;
&lt;br /&gt;
AT+RFTX= SNDBIN,&amp;amp;lt;bin&amp;amp;gt;,&amp;amp;lt;nbrepeat&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Default values : &amp;amp;lt;nbrepeat &amp;amp;gt; = 1&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;bin&amp;amp;gt; parameter is hexadecimal coded in ASCII (2 ASCII characters for 1 binary byte).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;per_state&amp;amp;gt; is true (see AT+RF=SPER command), a 4 bytes counter is added at the beginning of the frame.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;nbrepeat&amp;amp;gt; have been successfully sent.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF or if one frame has not been successfully sent.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To send 2 times the 3 bytes 1A 2B 3C:&lt;br /&gt;
&lt;br /&gt;
 AT+RFTX=SNDBIN,1A2B3C,2&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=HELP ===&lt;br /&gt;
&lt;br /&gt;
This commandis used to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=HELP&lt;br /&gt;
 +RFRX: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +RFRX: &amp;amp;lt;cmd&amp;amp;gt; are ?,SET,RECV,START,STOP,CONTRX,LVL&lt;br /&gt;
 +RFRX: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=? ===&lt;br /&gt;
&lt;br /&gt;
Read RX parameters.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+RFRX: &amp;amp;lt;mod&amp;amp;gt;,&amp;amp;lt;freq&amp;amp;gt;,&amp;amp;lt;bw&amp;amp;gt;,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;cr&amp;amp;gt;,&amp;amp;lt;rxcrcon&amp;amp;gt;,&amp;amp;lt;fixedlen&amp;amp;gt;,&amp;amp;lt;rxiqinv&amp;amp;gt;,&amp;amp;lt;''timeout''&amp;amp;gt;,&amp;amp;lt;''symbtimeout''&amp;amp;gt;,&amp;amp;lt;lnaboost&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;''timeout''&amp;amp;gt; and &amp;amp;lt;''symbtimeout''&amp;amp;gt; parameters are no more used by radio stack (they are still present for compatibility with previous module versions).&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=?&lt;br /&gt;
 ,true&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=SET, === &lt;br /&gt;
Set Rx parameters. Only modified parameter can be specified.&lt;br /&gt;
&lt;br /&gt;
The following formalism is used. It can be check by the '''''AT+RFRX=SET?'''''command:&amp;amp;lt;mod&amp;amp;gt;,&amp;amp;lt;freq&amp;amp;gt;,&amp;amp;lt;bw&amp;amp;gt;,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;cr&amp;amp;gt;,&amp;amp;lt;rxcrcon&amp;amp;gt;,&amp;amp;lt;fixedlen&amp;amp;gt;,&amp;amp;lt;rxiqinv&amp;amp;gt;,&amp;amp;lt;''timeout''&amp;amp;gt;,&amp;amp;lt;''symbtimeout''&amp;amp;gt;,&amp;amp;lt;lnaboost&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;''timeout''&amp;amp;gt; and &amp;amp;lt;''symbtimeout''&amp;amp;gt; parameters are no more used by radio stack (they are still present for compatibility with previous module versions).&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To set &amp;amp;lt;dr&amp;amp;gt; parameter to 7:&lt;br /&gt;
&lt;br /&gt;
 AT+RFRX=SET,,,,7&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=RECV (for test purpose) ===&lt;br /&gt;
&lt;br /&gt;
Single frame reception with PER computation if &amp;amp;lt;per_state&amp;amp;gt; is true (see +RF=SPER command).&lt;br /&gt;
&lt;br /&gt;
RF layer comes back to IDLE state after reception or after AT+RFRX=STOP command.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON and not already receiving.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF or is already receiving.&lt;br /&gt;
&lt;br /&gt;
+RFRX: &amp;amp;lt;per&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;,&amp;amp;lt;crcerr&amp;amp;gt;,&amp;amp;lt;tstamp&amp;amp;gt;,&amp;amp;lt;binary payload&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, when a frame is received the unsolicited response below is sent:&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;per_state&amp;amp;gt; is true (see +RF=SPER command):&lt;br /&gt;
&lt;br /&gt;
+RFRX: 100%,-35.00,7.00,0,1521551302,12000000CAFEDECA…&lt;br /&gt;
&lt;br /&gt;
Where 100% is the PER, -35.00 is the RSSI level, 7.00 is the SNR, 0 is “no CRC error”, 1521551302 is the Rx clock time in ms and 12000000CAFEDECA is the received payload, starting with the 4 bytes counter.&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;per_state&amp;amp;gt; is false:&lt;br /&gt;
&lt;br /&gt;
+RFRX: ,-35.00,7.00,0,1521551302,CAFEDECA…&lt;br /&gt;
&lt;br /&gt;
PER is not displayed and the 4 bytes counter is not present in the payload (it means that Tx device also has &amp;amp;lt;per_state&amp;amp;gt; set to false.&lt;br /&gt;
&lt;br /&gt;
After frame reception the Rx is automatically stopped.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=RECV&lt;br /&gt;
 OK&lt;br /&gt;
 +RFRX: 100%,-35.00,7.00,0,1521551302,12000000CAFEDECA&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=START (for test purpose) ===&lt;br /&gt;
&lt;br /&gt;
Continuous reception with PER computation if &amp;amp;lt;per_state&amp;amp;gt; is true (see +RF=SPER command).&lt;br /&gt;
&lt;br /&gt;
RF layer stays in RX until Rx stop command is sent (see AT+RFRX=STOP)&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON and not already receiving.&lt;br /&gt;
ERROR if RF layer is OFF or is already receiving.&lt;br /&gt;
&lt;br /&gt;
When a TX has been performed during Reception, An AT+RFRX=STOP command may be needed to avoid ERROR from this command&lt;br /&gt;
&lt;br /&gt;
After frame reception RF layer stays in RX (RX stop command must be used to leave RX mode).&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=START&lt;br /&gt;
 OK&lt;br /&gt;
 +RFRX: 100%,-35.00,7.00,0,1521551302,12000000CAFEDECA&lt;br /&gt;
 +RFRX: 100%,-32.00,7.00,0,1521554506,13000000CAFEDECA&lt;br /&gt;
 …&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=STOP ===&lt;br /&gt;
&lt;br /&gt;
Stop single or continuous reception.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is in RX.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is not in RX.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=STOP&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=CONTRX ===&lt;br /&gt;
&lt;br /&gt;
Continuous reception without PER computation.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON and not already receiving.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF or is already receiving.&lt;br /&gt;
&lt;br /&gt;
Then, for each received frame, the unsolicited response below is sent:&lt;br /&gt;
&lt;br /&gt;
+RFRX: &amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;,&amp;amp;lt;crcerr&amp;amp;gt;,&amp;amp;lt;tstamp&amp;amp;gt;,&amp;amp;lt;binary payload&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+RFRX=LVL (for test purpose) ===&lt;br /&gt;
&lt;br /&gt;
Last reception parameters read (RSSI, SNR)&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if RF layer is ON.&lt;br /&gt;
&lt;br /&gt;
ERROR if RF layer is OFF.&lt;br /&gt;
&lt;br /&gt;
Response information is as below:&lt;br /&gt;
&lt;br /&gt;
+RFRX: LVL,&amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+RFRX=LVL&lt;br /&gt;
 +RFRX: LVL,-77.00,8.00&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== Informative examples ===&lt;br /&gt;
&lt;br /&gt;
==== LoRa Communication ====&lt;br /&gt;
&lt;br /&gt;
Below is an example where two Modules are configured to communicate on a specific frequency.&lt;br /&gt;
&lt;br /&gt;
First we setup the Module A and start a continuous RX, then we can setup the Module B.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Module A'''&lt;br /&gt;
 &lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RF=ON&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set the RF ON&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=SET,LORA,,125000,7  &lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set some RX parameters. Let the channel to default frequency&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=CONTRX&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Start a Continuous RX&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 …..&lt;br /&gt;
| &lt;br /&gt;
:Wait RX (set module B)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 +RFRX: -78.00,3.00,0,152987007,CAFE   &lt;br /&gt;
| &lt;br /&gt;
:receive 0xCAFE hexa frame, rssi -78, snr 3, at timestamp 152987007 ms&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=STOP&lt;br /&gt;
| &lt;br /&gt;
:Stop continuous Rx&lt;br /&gt;
|} &lt;br /&gt;
'''Module B'''&lt;br /&gt;
 &lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RF=ON&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set the RF ON&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFTX=SET,LORA,868100000,14,125000,7&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:set Tx modulation LoRa, freq 868100000, Tx power 14dbm, bandwidth 125KHz, SF7&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFTX=SNDBIN,CAFE,1&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:send 0xCAFE hexa frame 1 time&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 …..&lt;br /&gt;
| &lt;br /&gt;
:&lt;br /&gt;
|} &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== FSK Communication ====&lt;br /&gt;
&lt;br /&gt;
Below is an example where two Modules are configured to communicate on a specific frequency. For FSK some rules apply on selected &amp;quot;bandwith/datarate&amp;quot; in RX and &amp;quot;frequency deviation/datarate&amp;quot; in TX. This is described in ([[MM002-xx-EU datasheet#Reference|sx1272 datasheet]])&lt;br /&gt;
&lt;br /&gt;
First we setup the Module A and start a continuous RX, then we can setup the Module B.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Module A'''&lt;br /&gt;
 &lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RF=ON&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set the RF ON&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=SET,FSK,868100000,125000,1200 &lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set some RX parameters.freq 868100000,Bandwith 125 000, Datarate 1200&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=CONTRX&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Start a Continuous RX&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 …..&lt;br /&gt;
| &lt;br /&gt;
:Wait RX (set module B)&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 +RFRX: -78.00,3.00,0,152987007,CAFE   &lt;br /&gt;
| &lt;br /&gt;
:receive 0xCAFE hexa frame, rssi -78, snr 3, at timestamp 152987007 ms&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFRX=STOP&lt;br /&gt;
| &lt;br /&gt;
:Stop continuous Rx&lt;br /&gt;
|} &lt;br /&gt;
'''Module B'''&lt;br /&gt;
 &lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RF=ON&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:Set the RF ON&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFTX=SET,FSK,868100000,14,,1200,,,,50000&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:set Tx modulation FSK, freq 868100000, Tx power 14dbm, Datarate 1200, Deviation Frequency 50 000&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 AT+RFTX=SNDBIN,CAFE,1&lt;br /&gt;
 OK&lt;br /&gt;
| &lt;br /&gt;
:send 0xCAFE hexa frame 1 time&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
 …..&lt;br /&gt;
| &lt;br /&gt;
:&lt;br /&gt;
|} &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT LoRa™WAN (MAC) commands ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
3 types of AT strings are specified:&lt;br /&gt;
&lt;br /&gt;
* MAC commands: AT+MAC=&amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;.&lt;br /&gt;
* MAC solicited responses: +MAC: &amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;. These responses are sent in response to MAC commands, just before the OK response, that’s the reason why the &amp;amp;lt;cmd&amp;amp;gt; is not present in the solicited responses. Several solicited responses may be sent between the MAC command and the OK response.&lt;br /&gt;
* MAC unsolicited responses: +MAC: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;. These responses are not necessarily sent between the MAC command and the OK response, that’s the reason why the &amp;amp;lt;cmd&amp;amp;gt; is present in the unsolicited responses.&lt;br /&gt;
 &lt;br /&gt;
When an AT client application just need to send and receive frames, the following commands are used:&lt;br /&gt;
&lt;br /&gt;
* AT+MAC=? to know the current MAC mode (ABP or OTAA, Class A or C).&lt;br /&gt;
* AT+MAC=OFF and AT+MAC=ON,… to change the MAC mode.&lt;br /&gt;
* AT+MAC=DEVADRR and unsolicited +MAC: DEVADDR,… to know the current state of an OTAA device.&lt;br /&gt;
* AT+MAC=SNDBIN,… to send uplink frame.&lt;br /&gt;
* +MAC: RCVBIN,… when receiving downlink frames and to know Rx windows termination.&lt;br /&gt;
 &lt;br /&gt;
All other commands are not really required, they are mainly used by NemeusATK Java application to manage the LoRa™WAN layer (for IOT purpose, device provisioning …).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=HELP ===&lt;br /&gt;
&lt;br /&gt;
This commandis used to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC= HELP&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt; are ON,OFF,?,SCH,RCH,SDR,RDR,STI,RTI,SRX2,RRX2,SNDTXT,SNDBIN,RCVTXT,RCVBIN,STOPRCV,SNDLCR,DEVUID,DEVADDR,APPUID,APPKEY,NSKEY,APPSKEY&lt;br /&gt;
 +MAC: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=ON, === &lt;br /&gt;
This command is used to start LoRa™WAN layer and is mandatory in order to use most of MAC commands listed in this section (unless otherwise stated).&lt;br /&gt;
&lt;br /&gt;
If Radio stack was ON, it is automatically set to OFF.&lt;br /&gt;
&lt;br /&gt;
 ''AT+MAC=ON,&amp;amp;lt;minor_ver&amp;amp;gt;,&amp;amp;lt;class&amp;amp;gt;,&amp;amp;lt;otaa&amp;amp;gt;''&lt;br /&gt;
&lt;br /&gt;
*&amp;amp;lt;minor_ver&amp;amp;gt; can be 1 or 3 (default is 3 for LoRa™WAN V1.0). V1 is no more maintained.&lt;br /&gt;
*&amp;amp;lt;class&amp;amp;gt; is A or C.&lt;br /&gt;
*&amp;amp;lt;otaa&amp;amp;gt; is 0 for ABP and 1 for OTAA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
If SIGFOX™ stack is using the radio ERROR is returned.&lt;br /&gt;
&lt;br /&gt;
Else OK is returned.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
Start LoRa™WAN layer in class A with OTAA:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=ON,3,A,1&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== AT+MAC=OFF ===&lt;br /&gt;
&lt;br /&gt;
Stop LoRa™WAN layer.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=? ===&lt;br /&gt;
&lt;br /&gt;
Read current LoRa™WAN layer status.&lt;br /&gt;
&lt;br /&gt;
To change LoRa™WAN layer status, AT+MAC=OFF and AT+MAC=ON,… must be performed.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;state&amp;amp;gt;,&amp;amp;lt;minor_ver&amp;amp;gt;,&amp;amp;lt;class&amp;amp;gt;,&amp;amp;lt;ch_pages&amp;amp;gt;,&amp;amp;lt;ism_band&amp;amp;gt;,&amp;amp;lt;otaa&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;state&amp;amp;gt; is ON, OFF or DUAL. DUAL means that LoRa™WAN and SIGFOX™ stacks are both ON.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;minor_ver&amp;amp;gt; can be '''V'''1 or '''V'''3 (default is 3 for LoRa™WAN V1.0).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;class&amp;amp;gt; is A or C.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;page&amp;amp;gt; is the number of pages of 16 channels available at LoRa™WAN layer (in terms of memory space).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;ism_band&amp;amp;gt; is 4 for EU433MHz, 7 for China779-787MHz, 8 is EU863-870MHz and 9 for US902-928MHz. ISM band can’t be modified dynamically, it is set at compilation time.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;otaa&amp;amp;gt; is 0 or 2 for ABP and 1 for OTAA (2 means ABP, and OTAA is not supported by the module).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
A class A US902-928MHz device with 80 channels (5*16) which doesn’t support OTAA:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=?&lt;br /&gt;
 +MAC: ON,V3,A,5,9,2&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SNDBIN, === &lt;br /&gt;
Binary frame transmission.&lt;br /&gt;
&lt;br /&gt;
AT+MAC= SNDBIN,&amp;amp;lt;binpyload&amp;amp;gt;,&amp;amp;lt;nbrepeat&amp;amp;gt;,&amp;amp;lt;port&amp;amp;gt;,&amp;amp;lt;mode&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;mode&amp;amp;gt; value is 0 then the frame is sent in unacknowledged mode (default value when mode is omitted).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;mode&amp;amp;gt; value is &amp;amp;gt; 0, then the frame is sent in acknowledged mode.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;nbrepeat&amp;amp;gt; specifies the number of repetitions in acknowledged mode (0 when omitted). In unacknowledged mode nbrep is used instead (see AT+MAC=RDR command).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;port&amp;amp;gt; is omitted then port 2 is used by default (port 1 is reserved to embedded generic application).&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and frame has been successfully sent (and acked if acked mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or frame has not been successfully sent (or not acked after repetitions if acked mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR also if SIGFOX™ stack is using the radio.&lt;br /&gt;
&lt;br /&gt;
ERROR also when port is reserved regarding LoRa™WAN standard.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited responses ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited responses below are sent when AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: SND,&amp;amp;lt;busytime&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
This unsolicited response can be sent 2 times:&lt;br /&gt;
&lt;br /&gt;
* One time with busytime &amp;amp;gt; 0 if no channel was free due to duty cycle restriction&lt;br /&gt;
* One time with busytime = 0 at Tx time.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
+MAC: RCH,&amp;amp;lt;chan&amp;amp;gt;,,,,,&amp;amp;lt;busytime&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
Sent for each enabled channel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SNDBIN,1A2B3C,3,1,0&lt;br /&gt;
 +MAC: SND,4355&lt;br /&gt;
 +MAC: SND,0&lt;br /&gt;
 +MAC: RCH,0,,,,,4480,0&lt;br /&gt;
 +MAC: RCH,1,,,,,4480,0&lt;br /&gt;
 +MAC: RCH,2,,,,,4480,0&lt;br /&gt;
 OK&lt;br /&gt;
 On duty cycle expiry (4480 ms after the Tx), channels become available:&lt;br /&gt;
 +MAC: RCH,0,,,,,0,0&lt;br /&gt;
 +MAC: RCH,1,,,,,0,0&lt;br /&gt;
 +MAC: RCH,2,,,,,0,0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RCVBIN, === &lt;br /&gt;
Register for receiving downlink frames on specified port, payload is output as binary hexa string.&lt;br /&gt;
&lt;br /&gt;
AT+MAC= RCVBIN,&amp;amp;lt;port&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This command is no more required because all downlink frames are routed on serial link except when the port is used by an embedded application.'''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and port is valid and free.&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or port is invalid or port is already used by an embedded application.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited Response ====&lt;br /&gt;
&lt;br /&gt;
+MAC: RCVBIN,&amp;amp;lt;port&amp;amp;gt;,&amp;amp;lt;more&amp;amp;gt;,&amp;amp;lt;binarypayload&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
When &amp;amp;lt;more&amp;amp;gt; is true, it means that more downlink frames are pending in MAC server. If piggyback setting is disabled and device class is A, LoRa™WAN layer will automatically poll the server to receive more downlink frames.&lt;br /&gt;
&lt;br /&gt;
The RCVBIN unsolicited response is always sent after a Tx, even if no frame has been received. It indicates the end of Rx windows.&lt;br /&gt;
&lt;br /&gt;
For a class A device, it is sent when a downlink frame has been received or at the end of the Rx window 2 (if no downlink frame has been received).&lt;br /&gt;
&lt;br /&gt;
For a class C device, it is sent when a downlink frame has been received or at the end of the Rx window 1 (if no downlink frame has been received).&lt;br /&gt;
&lt;br /&gt;
If the Tx was in ack mode, the RCVBIN is sent before the OK (or ERROR NOACK) response of the Tx (SNDBIN or SNDTXT command).&lt;br /&gt;
&lt;br /&gt;
If the Tx was in unack mode, the RCVBIN is sent after the OK response of the Tx (SNDBIN or SNDTXT command).&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC= RCVBIN,2&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Then when a frame is received on port 2 and more downlink frames are pending:&lt;br /&gt;
&lt;br /&gt;
 +MAC: RCVBIN,2,true,1A2B3C4D,-43.00,7.00&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SNDTXT, === &lt;br /&gt;
It is the same command as AT+MAC=SNDBIN except that the payload is interpreted as text and is transmitted as received on serial link (no translation from hexa ASCII to hexa binary is performed).&lt;br /&gt;
&lt;br /&gt;
AT+MAC= SNDTXT,&amp;amp;lt;textpayload&amp;amp;gt;,&amp;amp;lt;nbrepeat&amp;amp;gt;,&amp;amp;lt;port&amp;amp;gt;,&amp;amp;lt;mode&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Text frame transmission.&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;mode&amp;amp;gt; value is 0 then the frame is sent in unacknowledged mode (default value when mode is omitted).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;mode&amp;amp;gt; value is &amp;amp;gt; 0, then the frame is sent in acknowledged mode.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;nbrepeat&amp;amp;gt; specifies the number of repetitions in acknowledged mode (0 when omitted). In unacknowledged mode nbrep is used instead (see AT+MAC=RDR command).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;port&amp;amp;gt; is omitted then port 2 is used by default (port 1 is reserved to embedded generic application)&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and frame has been successfully sent (and acked if acked mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or frame has not been successfully sent (or not acked after repetitions if acked mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR also if SIGFOX™ stack is using the radio.&lt;br /&gt;
&lt;br /&gt;
ERROR also when port is reserved regarding LoRa™WAN standard.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited responses ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited responses below are sent when AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: SND,&amp;amp;lt;busytime&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
This unsolicited response can be sent 2 times:&lt;br /&gt;
&lt;br /&gt;
* One time with busytime &amp;amp;gt; 0 if no channel was free due to duty cycle restriction&lt;br /&gt;
* One time with busytime = 0 at Tx time.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
+MAC: RCH,&amp;amp;lt;chan&amp;amp;gt;,,,,,&amp;amp;lt;busytime&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
Sent for each enabled channel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC= SNDTXT,HELLO WORLD,3,1,0&lt;br /&gt;
 +MAC: SND,4355&lt;br /&gt;
 +MAC: SND,0&lt;br /&gt;
 +MAC: RCH,0,,,,,4480,0&lt;br /&gt;
 +MAC: RCH,1,,,,,4480,0&lt;br /&gt;
 +MAC: RCH,2,,,,,4480,0&lt;br /&gt;
 OK&lt;br /&gt;
 On duty cycle expiry (4480 ms after the Tx), channels become available:&lt;br /&gt;
 +MAC: RCH,0,,,,,0,0&lt;br /&gt;
 +MAC: RCH,1,,,,,0,0&lt;br /&gt;
 +MAC: RCH,2,,,,,0,0&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RCVTXT, === &lt;br /&gt;
Register for receiving downlink frames on specified port, payload is output as text string (translation to binary hexa string is not performed).&lt;br /&gt;
&lt;br /&gt;
AT+MAC=RCVTXT,&amp;amp;lt;port&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This command is no more required because all downlink frames are routed on serial link except when the port is used by an embedded application.'''&lt;br /&gt;
&lt;br /&gt;
'''By default, downlink payload are processed as binary payload, thus if the AT client application needs to receive the payload as text (without any binary hexa string translation), it must uses this command.'''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and port is valid and free.&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or port is invalid or port is already used by an embedded application.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited Response ====&lt;br /&gt;
&lt;br /&gt;
+MAC: RCVTXT,&amp;amp;lt;port&amp;amp;gt;,&amp;amp;lt;more&amp;amp;gt;,&amp;amp;lt;textpayload&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
When &amp;amp;lt;more&amp;amp;gt; is true, it means that more downlink frames are pending in MAC server. If piggyback setting is disabled and device class is A, LoRa™WAN layer will automatically poll the server to receive more downlink frames.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RCVTXT,2&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Then when a frame is received on port 2 and more downlink frames are pending:&lt;br /&gt;
&lt;br /&gt;
 +MAC: RCVTXT,2,true,HELLO WORLD,-43.00,7.00&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC= STOPRCV, === &lt;br /&gt;
Unregister for receiving downlink frames on specified port.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=STOPRCV,&amp;amp;lt;port&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and port is valid.&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or port is invalid.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SNDLCR, === &lt;br /&gt;
Send a Link Check Request.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SNDLCR,&amp;amp;lt;nbrepeat&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;nbrepeat&amp;amp;gt; = 0 means the LCR message is sent in unack mode on port 0.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;nbrepeat&amp;amp;gt; != 0 means the LCR message is sent in ack mode on port 0 with &amp;amp;lt;nbrepeat&amp;amp;gt; transmissions.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if MAC is ON and Link Check Answer has been received.&lt;br /&gt;
&lt;br /&gt;
ERROR if MAC is OFF or Link Check Answer has not been received and Tx was in unack mode.&lt;br /&gt;
&lt;br /&gt;
ERROR NOACK if Link Check Answer has not been received and Tx was in ack mode.&lt;br /&gt;
&lt;br /&gt;
ERROR also if SIGFOX™ stack is using the radio.&lt;br /&gt;
&lt;br /&gt;
Received data is sent back as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;margin&amp;amp;gt;,&amp;amp;lt;gwcnt&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;,&amp;amp;lt;snr&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SNDLCR&lt;br /&gt;
 +MAC: 20,3,-45.00,8.00&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RCH, === &lt;br /&gt;
Read MAC channels command.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=RCH,&amp;amp;lt;chan&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;,&amp;amp;lt;unsol_evt&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;chan&amp;amp;gt; specifies the channel to read (all channels of the page if omitted or if 16)&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;page&amp;amp;gt; specifies the channel page (all pages if omitted or if number of available pages returned by AT+MAC=? response).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;unsol_evt&amp;amp;gt; specifies if unsolicited events are required (0 when not required). The unsolicited events inform the AT client application when a MAC parameter has been changed by the LoRa™WAN layer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are syntactically correct.&lt;br /&gt;
&lt;br /&gt;
For each channel, the following information is output:&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;chan&amp;amp;gt;,&amp;amp;lt;frequency&amp;amp;gt;,&amp;amp;lt;mindr&amp;amp;gt;,&amp;amp;lt;maxdr&amp;amp;gt;,&amp;amp;lt;dutycycle&amp;amp;gt;,&amp;amp;lt;busytime&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;,&amp;amp;lt;rxw1freq&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;chan&amp;amp;gt;: the channel index in the page (0 to 15).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;frequency&amp;amp;gt;: the frequency in Hz (0 means channel is disabled).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;mindr&amp;amp;gt;: minimum datarate allowed on the channel.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;maxdr&amp;amp;gt;: maximum datarate allowed on the channel.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;dutycycle&amp;amp;gt;: restricted duty cycle assigned to the channel (applies only when more restricted than ISM regulation specification).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt;: time in ms before the channel can be used again for Tx (due to duty cycle restrictions).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;page&amp;amp;gt;: channel page (0 to number of available pages returned by AT+MAC=? response).&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;rxw1freq&amp;amp;gt;: frequency used to open Rx window 1. 0 means same frequency as &amp;amp;lt;frequency&amp;amp;gt; parameter (available only from LoRaWAN V1.0.2, if the parameter is absent in the response, it means the firmware version is older).&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when &amp;amp;lt;busytime&amp;amp;gt; changes and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: RCH,&amp;amp;lt;chan&amp;amp;gt;,,,,,&amp;amp;lt;busytime&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RCH&lt;br /&gt;
 +MAC: 0,868100000,SF12BW125,SF7BW125,100,0,0,0&lt;br /&gt;
 +MAC: 1,868300000,SF12BW125,SF7BW125,100,0,0,869525000&lt;br /&gt;
 +MAC: 2,868500000,SF12BW125,SF7BW125,100,0,0,0&lt;br /&gt;
 +MAC: 3,868850000,SF12BW125,SF7BW125,1000,0,0,0&lt;br /&gt;
 …&lt;br /&gt;
 +MAC: 15,000000000,SF12BW125,FSK50KBPS,1,0,0,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SCH, === &lt;br /&gt;
Set MAC channel command.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SCH,&amp;amp;lt;chan&amp;amp;gt;,&amp;amp;lt;frequency&amp;amp;gt;,&amp;amp;lt;min_dr&amp;amp;gt;,&amp;amp;lt;max_dr&amp;amp;gt;,&amp;amp;lt;dutycycle&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
Written parameters are not saved in file system, thus they are lost after a new MAC OFF/ON or a device reset.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SCH?'''''Command.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;dutycycle&amp;amp;gt; is applied only if it is more restricted than the ISM regulation specification. 1 means 100%, 10 means 10%, 100 means 1%, ...&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;rxw1freq&amp;amp;gt; is available only from LoRaWAN V1.0.2&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are syntactically correct.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when LoRa™WAN layer modifies a channel and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: SCH,&amp;amp;lt;chan&amp;amp;gt;,&amp;amp;lt;frequency&amp;amp;gt;,&amp;amp;lt;mindr&amp;amp;gt;,&amp;amp;lt;maxdr&amp;amp;gt;,&amp;amp;lt;dutycycle&amp;amp;gt;,&amp;amp;lt;page&amp;amp;gt;,&amp;amp;lt;rxw1freq&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To modify channel 0:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SCH,0,868100000,SF12BW125,SF7BW125,100,0,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== AT+MAC= RDR ===&lt;br /&gt;
&lt;br /&gt;
Read current MAC datarate command.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;txpwr&amp;amp;gt;,&amp;amp;lt;chanmask&amp;amp;gt;,&amp;amp;lt;chanmaskctrl&amp;amp;gt;,&amp;amp;lt;nbrep&amp;amp;gt;,&amp;amp;lt;eirp&amp;amp;gt;,&amp;amp;lt;updwell&amp;amp;gt;,&amp;amp;lt;dwdwell&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;eirp&amp;amp;gt;, &amp;amp;lt;updwell&amp;amp;gt; and &amp;amp;lt;dwdwell&amp;amp;gt; parameters are present only in case of Asian band firmware&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when current datarate changes and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: RDR,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;txpwr&amp;amp;gt;,&amp;amp;lt;chanmask&amp;amp;gt;,&amp;amp;lt;chanmaskctrl&amp;amp;gt;,&amp;amp;lt;nbrep&amp;amp;gt;,&amp;amp;lt;eirp&amp;amp;gt;,&amp;amp;lt;updwell&amp;amp;gt;,&amp;amp;lt;dwdwell&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RDR&lt;br /&gt;
 +MAC: SF12BW125,11,001F,0,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SDR, === &lt;br /&gt;
Set MAC data rate command.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SDR,&amp;amp;lt;dr&amp;amp;gt;,&amp;amp;lt;txpwr&amp;amp;gt;,&amp;amp;lt;chanmask&amp;amp;gt;,&amp;amp;lt;chanmaskctrl&amp;amp;gt;,&amp;amp;lt;nbrep&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
Written parameters are not saved in file system, thus they are lost after a new MAC OFF/ON or a device reset.&lt;br /&gt;
&lt;br /&gt;
Set the data rate, Tx power and number of repetitions for uplink transmission (applied to all channels compatible with the datarate). &amp;amp;lt;nbrep&amp;amp;gt; applies only to unconfirmed transmissions.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;chanmask&amp;amp;gt; and &amp;amp;lt;chanmaskctrl&amp;amp;gt; specify the channels usable for uplink access.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SDR?'''''Command.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;eirp&amp;amp;gt;, &amp;amp;lt;updwell&amp;amp;gt; and &amp;amp;lt;dwdwell&amp;amp;gt; parameters are present only in case of Asian band.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are syntactically correct.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To modify current datarate:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SDR,SF12BW125,10,001F,0,0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RTI ===&lt;br /&gt;
&lt;br /&gt;
Read MAC Time Information command.&lt;br /&gt;
&lt;br /&gt;
Read common channel time information.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;rxw1&amp;amp;gt;,&amp;amp;lt;''rxw2''&amp;amp;gt;,&amp;amp;lt;symbtimeout&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when current time info changes and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: RTI,&amp;amp;lt;rxw1&amp;amp;gt;,&amp;amp;lt;''rxw2''&amp;amp;gt;,&amp;amp;lt;symbtimeout&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC= RTI&lt;br /&gt;
 +MAC: 1000,2000,6&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC= STI, === &lt;br /&gt;
Set MAC time information command.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=STI,&amp;amp;lt;rxw1&amp;amp;gt;,&amp;amp;lt;rxw2&amp;amp;gt;,&amp;amp;lt;symbtimeout&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameter can be specified.&lt;br /&gt;
&lt;br /&gt;
Written parameters are not saved in file system, thus they are lost after a new MAC OFF/ON or a device reset.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=STI?'''''Command.&lt;br /&gt;
&lt;br /&gt;
The parameters &amp;amp;lt;rxw1&amp;amp;gt; and &amp;amp;lt;symbtimeout&amp;amp;gt; are common to all channels.&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;''rxw2''&amp;amp;gt; parameter is no more used because &amp;amp;lt;''rxw2''&amp;amp;gt; value is set to &amp;amp;lt;rxw1&amp;amp;gt; value + 1000 ms. It is still present for compatibility with old devices.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To modify time info:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=STI,1000,,6&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RRX ===&lt;br /&gt;
&lt;br /&gt;
Read MAC Rx information command.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;rx2frequency&amp;amp;gt;,&amp;amp;lt;rx2dr&amp;amp;gt;,&amp;amp;lt;rx1droffset&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when current Rx info changes and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: RRX,&amp;amp;lt;rx2frequency&amp;amp;gt;,&amp;amp;lt;rx2dr&amp;amp;gt;,&amp;amp;lt;rx1droffset&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RRX&lt;br /&gt;
 +MAC: 869525000,SF9BW125,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SRX, === &lt;br /&gt;
Set MAC Rx information command.&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SRX?'''''Command.&lt;br /&gt;
&lt;br /&gt;
The parameters are common to all channels.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are syntactically correct.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To modify Rx parameters:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SRX,869525000,SF9BW125,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RSW ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the current LoRa™ and FSK synchro words used by LoRa™WAN layer. Synchro words are in hexadecimal format.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;LoRa™ sync_word&amp;amp;gt;,&amp;amp;lt;FSK sync_word&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RSW&lt;br /&gt;
 +MAC: 34,C194C1&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SSW, === &lt;br /&gt;
This command is used to set the synchro words used by LoRa™WAN layer.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SSW,&amp;amp;lt;LoRaSyncWord&amp;amp;gt;,&amp;amp;lt;FskSyncWord&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
A synchro word is unchanged when related parameter is absent.&lt;br /&gt;
&lt;br /&gt;
Synchro words are in hexadecimal.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SSW?'''''Command.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are correct or omitted.&lt;br /&gt;
&lt;br /&gt;
ERROR if FSK synchro word is too long (6 bytes/12 hexa digits max) or number of digits is not even.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SSW,34,C194C1&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RVAR ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the miscellaneous LoRa™WAN variables.&lt;br /&gt;
&lt;br /&gt;
This variables are Tx/Rx counters, aggregated DC and data encryption.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;txcounter&amp;amp;gt;,&amp;amp;lt;rxcounter&amp;amp;gt;,&amp;amp;lt;aggregateddc&amp;amp;gt;,&amp;amp;lt;encryption&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;aggregateddc&amp;amp;gt; values: 1 means 100%, 10 means 10%, 100 means 1%, …&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;encryption&amp;amp;gt; values: 0 means no encryption, != 0 means encryption enabled.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent only when current aggregated DC changes and AT client application has registered to receive unsolicited events (see AT+MAC=RCH command).&lt;br /&gt;
&lt;br /&gt;
+MAC: RVAR,,,&amp;amp;lt;aggregateddc&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RVAR&lt;br /&gt;
 +MAC: 0,0,1,1&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SVAR, === &lt;br /&gt;
This command is used to set some LoRa™WAN variables.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SVAR,&amp;amp;lt;txcounter&amp;amp;gt;,&amp;amp;lt;aggregateddc&amp;amp;gt;,&amp;amp;lt;encryption&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SVAR?'''''Command.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To disable encryption:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SVAR,,,0&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RADR ===&lt;br /&gt;
&lt;br /&gt;
This command is used to read the current LoRa™WAN ADR, piggyback and back-off states.&lt;br /&gt;
&lt;br /&gt;
'''The ack mode retransmission back-off procedure was initially linked to ADR bit. When ADR bit was on/off, the back-off procedure was on/off. From now, the back-off procedure is linked to the back-off state, it allows to enable ADR bit without enabling the back-off procedure. If &amp;amp;lt;backoff&amp;amp;gt; parameter is absent in RADR response, it means that back-off procedure is still linked to ADR bit (older firmware version).'''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;adr&amp;amp;gt;,&amp;amp;lt;piggyback&amp;amp;gt;,&amp;amp;lt;backoff&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;adr&amp;amp;gt;, &amp;amp;lt;piggyback&amp;amp;gt; and &amp;amp;lt;backoff&amp;amp;gt; values: true or false.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RADR&lt;br /&gt;
 +MAC: true,false,false&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SADR, === &lt;br /&gt;
This command is used to set some LoRa™WAN ADR and piggyback states.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SADR,&amp;amp;lt;adr&amp;amp;gt;,&amp;amp;lt;piggyback&amp;amp;gt;,&amp;amp;lt;backoff&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Only modified parameters can be specified.&lt;br /&gt;
&lt;br /&gt;
The parameter list can be found by '''''AT+MAC=SADR?'''''Command.&lt;br /&gt;
&lt;br /&gt;
When ADR state value is changed, ADR ack counter is reset.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if parameters are correct.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
To enable piggyback:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SADR,,true&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== AT+MAC=RDEVUID ===&lt;br /&gt;
&lt;br /&gt;
Read device unique identifier.&lt;br /&gt;
&lt;br /&gt;
Device UID is coded on 8 bytes.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=DEVUID command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the same response.''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK&lt;br /&gt;
&lt;br /&gt;
UID is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;devuid&amp;amp;gt;,&amp;amp;lt;rand_seed&amp;amp;gt;,&amp;amp;lt;read_only&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
When read_only value is 1, it means that the device unique identifier is built from Nemeus 36 bits OUI (70B3D5326xxxxxxx). In this case the device UID can’t be modified and the security keys are not readable.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RDEVUID&lt;br /&gt;
 0010203,306A0327,1&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SDEVUID, === &lt;br /&gt;
This command is used to modify device UID.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SDEVUID,&amp;amp;lt;devuid&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Device UID must be writable.&lt;br /&gt;
&lt;br /&gt;
If MAC layer is on in OTAA mode, a MAC off/on is automatically performed.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;devuid&amp;amp;gt; length is 16 characters and device UID is writable.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SDEVUID,0102030405060708&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RDEVADDR ===&lt;br /&gt;
&lt;br /&gt;
Read device address.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=DEVADDR command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the same solicited response.''&lt;br /&gt;
&lt;br /&gt;
''Warning: unsolicited response changed, old one is no more sent!!!''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK&lt;br /&gt;
&lt;br /&gt;
Address is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;devaddr&amp;amp;gt;,&amp;amp;lt;networkid&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
In ABP mode, the device address is the 4 LSB of the device unique identifier.&lt;br /&gt;
&lt;br /&gt;
In OTAA mode, the device address is assigned by the network.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited response ====&lt;br /&gt;
&lt;br /&gt;
The unsolicited response below is sent when device is in OTAA mode and at least one AT+MAC=? command has been sent.&lt;br /&gt;
&lt;br /&gt;
+MAC: RDEVADDR,&amp;amp;lt;devaddr&amp;amp;gt;,&amp;amp;lt;networkid&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
Read device address of an OTAA device when not yet joint to network:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=?&lt;br /&gt;
 +MAC: ON,V3,A,1,8,1 &lt;br /&gt;
 OK&lt;br /&gt;
 AT+MAC=RDEVADDR&lt;br /&gt;
 +MAC: 00000000,000000 &lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
After receipt of valid join accept, unsolicited response is sent:&lt;br /&gt;
&lt;br /&gt;
 DEVADDR,0870C367,010203 &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SDEVADDR, === &lt;br /&gt;
This command is used to modify device address when ABP mode is used.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SDEVADDR,&amp;amp;lt;devaddr&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If MAC layer is on in ABP mode, a MAC off/on is automatically performed.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;devaddr&amp;amp;gt; length is 8 characters.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SDEVADDR,01020304&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RAPPUID ===&lt;br /&gt;
&lt;br /&gt;
Read application Unique ID.&lt;br /&gt;
&lt;br /&gt;
Application UID is coded on 8 bytes.&lt;br /&gt;
&lt;br /&gt;
By default it is set to 0000000000000000.&lt;br /&gt;
&lt;br /&gt;
It can be modified by sending the following AT command:&lt;br /&gt;
&lt;br /&gt;
AT+GA=DIND,1,8301000008xxxxxxxxxxxxxxxx0000&lt;br /&gt;
&lt;br /&gt;
Where xxxxxxxxxxxxxxxx is the new application UID LSB first.&lt;br /&gt;
&lt;br /&gt;
MAC layer must be restarted to take into account new application UID (AT+MAC=OFF and AT+MAC=ON).&lt;br /&gt;
&lt;br /&gt;
Application UID can also be modified using AT+MAC=SAPPUID,&amp;amp;lt;app_uid&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=APPUID command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the same response.''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK&lt;br /&gt;
&lt;br /&gt;
Application UID is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;appuid&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
Read default application UID:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=RAPPUID&lt;br /&gt;
 +MAC: 0000000000000000&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Set application UID to FEDCBA9876543210:&lt;br /&gt;
&lt;br /&gt;
 0000&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Restart MAC layer:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=OFF&lt;br /&gt;
 OK&lt;br /&gt;
 AT+MAC=ON&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Read new application UID:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=RAPPUID&lt;br /&gt;
 +MAC: FEDCBA9876543210&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=SAPPUID, === &lt;br /&gt;
This command is used to modify application UID.&lt;br /&gt;
&lt;br /&gt;
AT+MAC=SAPPUID,&amp;amp;lt;appuid&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If MAC layer is on in OTAA mode, a MAC off/on is automatically performed.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if &amp;amp;lt;appuid&amp;amp;gt; length is 16 characters.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=SAPPUID,0102030405060708&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RAPPKEY ===&lt;br /&gt;
&lt;br /&gt;
Read application key.&lt;br /&gt;
&lt;br /&gt;
Application Key is coded on 16 bytes.&lt;br /&gt;
&lt;br /&gt;
The byte order is the one you can use when you to register the key at network side.&lt;br /&gt;
&lt;br /&gt;
It has been reversed compared to old AT+MAC=APPKEY response.&lt;br /&gt;
&lt;br /&gt;
This command is available only when device unique identifier is not read only.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=APPKEY command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the &amp;amp;lt;appkey&amp;amp;gt; in reverse order.''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK when device UID is writable.&lt;br /&gt;
&lt;br /&gt;
ERROR when device UID is read only.&lt;br /&gt;
&lt;br /&gt;
Application key is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;appkey&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RAPPKEY&lt;br /&gt;
 +MAC: A8FA642E2E3245BB9B8CAC7E2456EF3C&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Old command still returns:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=APPKEY&lt;br /&gt;
 +MAC: 3CEF56247EAC8C9BBB45322E2E64FAA8&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RNSKEY ===&lt;br /&gt;
&lt;br /&gt;
Read Network Session Key.&lt;br /&gt;
&lt;br /&gt;
Network Session Key is coded on 16 bytes.&lt;br /&gt;
&lt;br /&gt;
The byte order is the one you can use when you to register the key at network side.&lt;br /&gt;
&lt;br /&gt;
It has been reversed compared to old AT+MAC=NSKEY response.&lt;br /&gt;
&lt;br /&gt;
This command is available only when device unique identifier is not read only.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=NSKEY command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the &amp;amp;lt;nskey&amp;amp;gt; in reverse order.''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK when device UID is writable.&lt;br /&gt;
&lt;br /&gt;
ERROR when device UID is read only.&lt;br /&gt;
&lt;br /&gt;
Network session key is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;nskey&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RNSKEY&lt;br /&gt;
 +MAC: A8F1642E2E32453B9B8CAC7C2456EF72&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Old command still returns:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=NSKEY&lt;br /&gt;
 +MAC: 72EF56247CAC8C9B3B45322E2E64F1A8&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+MAC=RAPPSKEY ===&lt;br /&gt;
&lt;br /&gt;
Read application session key.&lt;br /&gt;
&lt;br /&gt;
Application session key is coded on 16 bytes.&lt;br /&gt;
&lt;br /&gt;
The byte order is the one you can use when you to register the key at network side.&lt;br /&gt;
&lt;br /&gt;
It has been reversed compared to old AT+MAC=APPSKEY response.&lt;br /&gt;
&lt;br /&gt;
This command is available only when device unique identifier is not read only.&lt;br /&gt;
&lt;br /&gt;
''This command obsoletes AT+MAC=APPSKEY command.''&lt;br /&gt;
&lt;br /&gt;
''Old command still works and returns the &amp;amp;lt;appskey&amp;amp;gt; in reverse order.''&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK when device UID is writable.&lt;br /&gt;
&lt;br /&gt;
ERROR when device UID is read only.&lt;br /&gt;
&lt;br /&gt;
Application session key is returned as&lt;br /&gt;
&lt;br /&gt;
+MAC: &amp;amp;lt;appskey&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+MAC=RAPPSKEY&lt;br /&gt;
 +MAC: A8FA672E2E4245BB9ECCCA7E64F54C38&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
Old command still returns:&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=APPSKEY&lt;br /&gt;
 +MAC: 384CF5647ECACC9EBB45422E2E67FAA8&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== Informative examples ===&lt;br /&gt;
==== Device start ====&lt;br /&gt;
&lt;br /&gt;
AT client application can detect a device start or restart when the unsolicited response +DEBUG: START,&amp;amp;lt;version&amp;amp;gt; is received. Depending on initialization timing, AT client application is not sure to receive this unsolicited response, that’s the reason why it is recommended that AT client application use AT+MAC=? command to synchronize with the device.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''OTAA case:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 +DEBUG: START,Nemeus-mm002-MASTER_NEMEUS_15W39-data-manager&lt;br /&gt;
 AT+MAC=?&lt;br /&gt;
 +MAC: ON,V3,A,1,8,1 &lt;br /&gt;
 OK&lt;br /&gt;
 AT+MAC=RDEVADDR&lt;br /&gt;
 +MAC: 00000000,000000 &lt;br /&gt;
 OK&lt;br /&gt;
 +MAC: RDEVADDR,0870C367,010203 &lt;br /&gt;
&lt;br /&gt;
The device is ready to send uplink frames.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''ABP case:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 +DEBUG: START,Nemeus-mm002-MASTER_NEMEUS_15W39-data-manager&lt;br /&gt;
 AT+MAC=?&lt;br /&gt;
 +MAC: ON,V3,A,1,8,0 &lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
The device is ready to send uplink frames.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Send unconfirmed binary frame ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''No downlink frame:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,0 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,false,,0.00,0.00 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''One downlink frame:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,0 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,false,DECA,-85.00,7.00 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Two downlink frames and piggyback is not set:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,0 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,true,DECA,-55.00,10.00 &lt;br /&gt;
 +MAC: RCVBIN,2,false,DEFC,-73.00,9.00 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Two downlink frames and piggyback is set:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,0 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,true,DECA,-55.00,10.00 &lt;br /&gt;
 AT+MAC=SNDBIN,,0,2,0 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,false,DEFC,-73.00,9.00 &lt;br /&gt;
==== Send confirmed binary frame ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Ack received, no downlink frame:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,0,false,,-60.00,7.00 &lt;br /&gt;
 OK &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Ack not received:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,2,false,,0.00,0.00 &lt;br /&gt;
 ERROR NOACK &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''One downlink frame:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,2,false,DECA,-85.00,7.00 &lt;br /&gt;
 OK &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Two downlink frames and piggyback is not set:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,2,true,DECA,-55.00,10.00 &lt;br /&gt;
 OK &lt;br /&gt;
 +MAC: RCVBIN,2,false,DEFC,-73.00,9.00 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;'''Two downlink frames and piggyback is set:'''&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+MAC=SNDBIN,CAFE,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,2,true,DECA,-55.00,10.00 &lt;br /&gt;
 OK &lt;br /&gt;
 AT+MAC=SNDBIN,,0,2,1 &lt;br /&gt;
 +MAC: RCVBIN,2,false,DEFC,-73.00,9.00 &lt;br /&gt;
 OK &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT SIGFOX™ commands ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
These commands are available only on Nemeus modules embedding SIGFOX™ library. If the library is not embedded then ERROR is returned.&lt;br /&gt;
&lt;br /&gt;
3 type of AT strings are specified:&lt;br /&gt;
&lt;br /&gt;
* SF commands: AT+SF=&amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;.&lt;br /&gt;
* SF solicited responses: +SF: &amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;. These responses are sent in response to SF commands, just before the OK response, that’s the reason why the &amp;amp;lt;cmd&amp;amp;gt; is not present in the solicited responses. Several solicited responses may be sent between the SF command and the OK response.&lt;br /&gt;
* SF unsolicited responses: +SF: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param1&amp;amp;gt;,…,&amp;amp;lt;paramN&amp;amp;gt;. These responses are not necessarily sent between the SF command and the OK response, that’s the reason why the &amp;amp;lt;cmd&amp;amp;gt; is present in the unsolicited responses.&lt;br /&gt;
 &lt;br /&gt;
When an AT client application just need to send and receive frames, the following commands are used:&lt;br /&gt;
&lt;br /&gt;
* AT+SF=? to know the current SIGFOX™ layer state.&lt;br /&gt;
* AT+SF=OFF and AT+SF=ON to stop and start SIGFOX™ layer.&lt;br /&gt;
* AT+SF=SNDBIN,… to send uplink frame.&lt;br /&gt;
* AT+SF=SNDBIT,… to send uplink bit.&lt;br /&gt;
* AT+SF=SNDOOB to send uplink out of band message (keep alive messages).&lt;br /&gt;
* +SF: RCVBIN,… when receiving downlink frames.&lt;br /&gt;
 &lt;br /&gt;
All other commands are not really required, they are mainly used to configure SIGFOX™ layer and to perform SIGFOX™ qualification tests.&lt;br /&gt;
&lt;br /&gt;
SIGFOX™ proprietary AT command set is also supported but not described in this document.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=HELP ===&lt;br /&gt;
&lt;br /&gt;
This commandis used to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=HELP&lt;br /&gt;
 +SF: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +SF: &amp;amp;lt;cmd&amp;amp;gt; are ON,OFF,?,SNDBIN,SNDBIT,SNDOOB,SREP,RREP,STXF,RTXF,SRXF,RRXF,STXP,RTXP&lt;br /&gt;
 +SF: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=ON ===&lt;br /&gt;
&lt;br /&gt;
This command is used to start SIGFOX™ layer and is mandatory in order to use most of SF commands listed in this section (unless otherwise stated).&lt;br /&gt;
&lt;br /&gt;
If Radio stack was ON, it is automatically set to OFF.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
If LoRa™WAN stack is using the radio ERROR is returned.&lt;br /&gt;
&lt;br /&gt;
Else OK is returned.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+SF=ON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=OFF ===&lt;br /&gt;
&lt;br /&gt;
Stop SIGFOX™ layer.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
If SIGFOX™ stack is using the radio ERROR is returned.&lt;br /&gt;
&lt;br /&gt;
Else OK is returned.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+SF=OFF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=? ===&lt;br /&gt;
&lt;br /&gt;
Read current SIGFOX™ layer status.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
If SIGFOX™ library is embedded OK is returned.&lt;br /&gt;
&lt;br /&gt;
Else ERROR is returned.&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;state&amp;amp;gt;,&amp;amp;lt;NMS_lib_ver&amp;amp;gt;,&amp;amp;lt;SFX_lib_ver&amp;amp;gt;,&amp;amp;lt;dev_id&amp;amp;gt;,&amp;amp;lt;initial_pac&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;state&amp;amp;gt; is ON, OFF or DUAL. DUAL means that LoRa™WAN and SIGFOX™ stacks are both ON.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;NMS_lib_ver&amp;amp;gt; is the version of Nemeus library used to communicate with SIGFOX™ network.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;SFX_lib_ver&amp;amp;gt; is the version of SIGFOX™ library.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;dev_id&amp;amp;gt; is the device unique identifier on SIGFOX™ network.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;initial_pac&amp;amp;gt; is the first Portability Access Code used to register the device on SIGFOX™ network. It is used one time for first registration.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 AT+SF=?&lt;br /&gt;
 +SF: ON,NMS-SFX-LIB-1.2,UDL1-1.6.0,000ABCDE,0123456789ABCDEF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=SNDBIN, === &lt;br /&gt;
Binary frame transmission.&lt;br /&gt;
&lt;br /&gt;
AT+SF=SNDBIN,&amp;amp;lt;binpayload&amp;amp;gt;,&amp;amp;lt;ack&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;ack&amp;amp;gt; value is 0 then the frame is sent in unacknowledged mode (default value when &amp;amp;lt;ack&amp;amp;gt; is omitted).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;ack&amp;amp;gt; value is 1, then the frame is sent in acknowledged mode.&lt;br /&gt;
&lt;br /&gt;
The frame is sent when channel becomes free regarding duty cycle limitations.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;time_on_air&amp;amp;gt; is sent just before the solicited response OK. The time on air is in ms, it is used by client application to manage duty cycle.&lt;br /&gt;
&lt;br /&gt;
OK if SIGFOX™ layer is ON and frame has been successfully sent (and acked if ack mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR if SIGFOX™ layer is OFF or frame has not been successfully sent (or not acked after repetitions if ack mode was requested).&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited responses ====&lt;br /&gt;
&lt;br /&gt;
An indication about Tx date:&lt;br /&gt;
&lt;br /&gt;
+SF: SND,&amp;amp;lt;busytime&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
It can be sent 2 times:&lt;br /&gt;
&lt;br /&gt;
* One time with busytime &amp;amp;gt; 0 if Tx subband was not free due to duty cycle restriction&lt;br /&gt;
* One time with busytime = 0 at Tx time.&lt;br /&gt;
 &lt;br /&gt;
The unsolicited response below is sent when ack mode was requested.&lt;br /&gt;
&lt;br /&gt;
+SF: RCVBIN,&amp;amp;lt;binpayload&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=SNDBIN,CAFE,1&lt;br /&gt;
 +SF: SND,4576&lt;br /&gt;
 +SF: SND,0&lt;br /&gt;
 +SF: 6282&lt;br /&gt;
 OK&lt;br /&gt;
 +SF: RCVBIN,0123456789ABCDEF,-85.00&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=SNDBIT, === &lt;br /&gt;
Bit transmission.&lt;br /&gt;
&lt;br /&gt;
AT+SF=SNDBIT,&amp;amp;lt;bitvalue&amp;amp;gt;,&amp;amp;lt;ack&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;ack&amp;amp;gt; value is 0 then the bit is sent in unacknowledged mode (default value when &amp;amp;lt;ack&amp;amp;gt; is omitted).&lt;br /&gt;
&lt;br /&gt;
If &amp;amp;lt;ack&amp;amp;gt; value is 1, then the bit is sent in acknowledged mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;time_on_air&amp;amp;gt; is sent just before the solicited response OK. The time on air is in ms, it is used by client application to manage duty cycle.&lt;br /&gt;
&lt;br /&gt;
OK if SIGFOX™ layer is ON and frame has been successfully sent (and acked if ack mode was requested).&lt;br /&gt;
&lt;br /&gt;
ERROR if SIGFOX™ layer is OFF or frame has not been successfully sent (or not acked after repetitions if ack mode was requested).&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited responses ====&lt;br /&gt;
&lt;br /&gt;
An indication about Tx date:&lt;br /&gt;
&lt;br /&gt;
+SF: SND,&amp;amp;lt;busytime&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
It can be sent 2 times:&lt;br /&gt;
&lt;br /&gt;
* One time with busytime &amp;amp;gt; 0 if Tx subband was not free due to duty cycle restriction&lt;br /&gt;
* One time with busytime = 0 at Tx time.&lt;br /&gt;
 &lt;br /&gt;
The unsolicited response below is sent when ack mode was requested.&lt;br /&gt;
&lt;br /&gt;
+SF: RCVBIN,&amp;amp;lt;binpayload&amp;amp;gt;,&amp;amp;lt;rssi&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=SNDBIT,0,1&lt;br /&gt;
 +SF: SND,6422&lt;br /&gt;
 +SF: SND,0&lt;br /&gt;
 +SF: 4589&lt;br /&gt;
 OK&lt;br /&gt;
 +SF: RCVBIN,0123456789ABCDEF,-85.00&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=SNDOOB ===&lt;br /&gt;
&lt;br /&gt;
Out Of Band message transmission.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;time_on_air&amp;amp;gt; is sent just before the solicited response OK. The time on air is in ms, it can be used by client application to manage duty cycle.&lt;br /&gt;
&lt;br /&gt;
OK if SIGFOX™ layer is ON and frame has been successfully sent.&lt;br /&gt;
&lt;br /&gt;
ERROR if SIGFOX™ layer is OFF or frame has not been successfully sent.&lt;br /&gt;
&lt;br /&gt;
==== Unsolicited responses ====&lt;br /&gt;
&lt;br /&gt;
An indication about Tx date:&lt;br /&gt;
&lt;br /&gt;
+SF: SND,&amp;amp;lt;busytime&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;busytime&amp;amp;gt; is in ms.&lt;br /&gt;
&lt;br /&gt;
It can be sent 2 times:&lt;br /&gt;
&lt;br /&gt;
* One time with busytime &amp;amp;gt; 0 if Tx subband was not free due to duty cycle restriction&lt;br /&gt;
* One time with busytime = 0 at Tx time.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=SNDOOB&lt;br /&gt;
 +SF: SND,3987&lt;br /&gt;
 +SF: SND,0&lt;br /&gt;
 +SF: 4589&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=RREP ===&lt;br /&gt;
&lt;br /&gt;
Read Tx repetitions used in acked mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;repeat&amp;amp;gt; is sent just before the solicited response OK.&lt;br /&gt;
&lt;br /&gt;
Default value is 2 repetitions.&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=RREP&lt;br /&gt;
 +SF: 2&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=SREP, === &lt;br /&gt;
&lt;br /&gt;
Set Tx repetitions used in acked mode.&lt;br /&gt;
&lt;br /&gt;
AT+SF=SREP,&amp;amp;lt;repeatnb&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Default value is 2 repetitions.&lt;br /&gt;
&lt;br /&gt;
OK if number of repetitions &amp;amp;lt;= 2.&lt;br /&gt;
&lt;br /&gt;
ERROR if number of repetitions &amp;amp;gt; 2.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=SREP,1&lt;br /&gt;
 OK&lt;br /&gt;
 AT+SF=SREP,3&lt;br /&gt;
 ERROR&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=RTXF ===&lt;br /&gt;
&lt;br /&gt;
Read output carrier macro channel.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;tx_frequency&amp;amp;gt; is sent just before the solicited response OK.&lt;br /&gt;
&lt;br /&gt;
Default value is 868130000 Hz.&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=RTXF&lt;br /&gt;
 +SF: 868130000&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=STXF, === &lt;br /&gt;
Set output carrier macro channel.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if 863000000 &amp;amp;lt;= tx_frequency &amp;amp;lt;= 870000000.&lt;br /&gt;
&lt;br /&gt;
ERROR if tx_frequency is not in valid range.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=STXF,868200000&lt;br /&gt;
 OK&lt;br /&gt;
 AT+SF=STXF,862200000&lt;br /&gt;
 ERROR&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=RRXF ===&lt;br /&gt;
&lt;br /&gt;
Read reception carrier macro channel.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;rx_frequency&amp;amp;gt; is sent just before the solicited response OK.&lt;br /&gt;
&lt;br /&gt;
Default value is 869525000 Hz.&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=RRXF&lt;br /&gt;
 +SF: 869525000&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=SRXF, === &lt;br /&gt;
Set reception carrier macro channel.&lt;br /&gt;
&lt;br /&gt;
AT+SF=SRXF,&amp;amp;lt;rx_frequency&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if 863000000 &amp;amp;lt;= rx_frequency &amp;amp;lt;= 870000000.&lt;br /&gt;
&lt;br /&gt;
ERROR if rx_frequency is not in valid range.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=SRXF,869525000&lt;br /&gt;
 OK&lt;br /&gt;
 AT+SF=SRXF,869525000&lt;br /&gt;
 ERROR&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=RTXP ===&lt;br /&gt;
&lt;br /&gt;
Read Tx power.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+SF: &amp;amp;lt;tx_power&amp;amp;gt; is sent just before the solicited response OK.&lt;br /&gt;
&lt;br /&gt;
Default value is 14 dBm.&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=RTXP&lt;br /&gt;
 +SF: 14&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+SF=STXP, === &lt;br /&gt;
Set Tx power.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if tx_power &amp;amp;lt;= 14 dBm.&lt;br /&gt;
&lt;br /&gt;
ERROR if tx_power &amp;amp;gt; 14 dBm.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+SF=STXP,10&lt;br /&gt;
 OK&lt;br /&gt;
 AT+SF=STXP,20&lt;br /&gt;
 ERROR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== AT Generic command ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
AT Generic command can be used to activate/deactivate some generic functionalities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+GA= DIND,1,8801 ===&lt;br /&gt;
&lt;br /&gt;
This command is use to know the status of PowerSaving.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
+GA : DIND,1,0801&amp;amp;lt;pwr_state&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
pwr_state 00 powersaving OFF&lt;br /&gt;
pwr_state 01 powersaving ON&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+GA= DIND,1,8801&lt;br /&gt;
&lt;br /&gt;
+GA : DIND,1,080100&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+GA= DIND,1,8802&amp;amp;lt;pwr_state&amp;amp;gt; ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''WARNING: CONNECT CORRECTLY THE WAKEUP PIN BEFORE ACTIVATION OF POWERSAVING'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This command is use to set the PowerSaving.&lt;br /&gt;
pwr_state 00 powersaving OFF&lt;br /&gt;
pwr_state 01 powersaving ON&lt;br /&gt;
&lt;br /&gt;
PowerSaving can be activated once after boot-up, and from this point will go in stop mode as soon as possible and is wake-up by RTC or Wakeup pin.&lt;br /&gt;
Please note that once power-saving is activated, user should toggle wake-up pin before sending an AT command.&lt;br /&gt;
&lt;br /&gt;
If the module is reset, the powersaving is set back to OFF. So User should ensure setting it to ON after any reset&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+GA= DIND,1,880201&lt;br /&gt;
&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== AT debug command ==&lt;br /&gt;
&lt;br /&gt;
---- &lt;br /&gt;
AT debug command can be used to activate/deactivate some debug functionalities.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= HELP ===&lt;br /&gt;
&lt;br /&gt;
This commandis use to know the list of sub-commands.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= HELP&lt;br /&gt;
 +DEBUG: &amp;amp;lt;cmd&amp;amp;gt;,&amp;amp;lt;param_1&amp;amp;gt;,…,&amp;amp;lt;param_N&amp;amp;gt;&lt;br /&gt;
 +DEBUG: &amp;amp;lt;cmd&amp;amp;gt; are MVER,MVOFF,MVON,MV?,MEOFF,MEON,ME?,MPOFF,MPON,MP?,RREAD,RWRITE&lt;br /&gt;
 +DEBUG: &amp;amp;lt;cmd&amp;amp;gt;? Lists parameters of &amp;amp;lt;cmd&amp;amp;gt; if any&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG=MVER ===&lt;br /&gt;
&lt;br /&gt;
Read Mcu software version.&lt;br /&gt;
&lt;br /&gt;
Furthermore, when the device boots the software version is sent as an unsolicited response:&lt;br /&gt;
&lt;br /&gt;
+DEBUG: START,&amp;amp;lt;version&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
This unsolicited response can be used to detect a reset of the device.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+DEBUG: MVER,&amp;amp;lt;version&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
AT boot:&lt;br /&gt;
&lt;br /&gt;
 +DEBUG: START,Nemeus 1.x&lt;br /&gt;
&lt;br /&gt;
When requested:&lt;br /&gt;
&lt;br /&gt;
 AT+DEBUG= MVER&lt;br /&gt;
 +DEBUG: MVER,Nemeus 1.x&lt;br /&gt;
 OK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MVOFF ===&lt;br /&gt;
&lt;br /&gt;
Disable Mcu Verbose print on the UART&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MVOFF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MVON ===&lt;br /&gt;
&lt;br /&gt;
Enable Mcu Verbose print on the UART&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
OK if software is compiled with debug traces.&lt;br /&gt;
&lt;br /&gt;
ERROR if software is compiled without debug traces.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MVON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MV? ===&lt;br /&gt;
&lt;br /&gt;
Read current verbose mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+DEBUG: &amp;amp;lt;verbose&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MV?&lt;br /&gt;
 +DEBUG: MVON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MEOFF ===&lt;br /&gt;
&lt;br /&gt;
Disable UART echo mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MEOFF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MEON ===&lt;br /&gt;
&lt;br /&gt;
Enable UART echo mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MEON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= ME? ===&lt;br /&gt;
&lt;br /&gt;
Read current echo mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+DEBUG: &amp;amp;lt;echo&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= ME?&lt;br /&gt;
 +DEBUG: MEON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MPOFF ===&lt;br /&gt;
&lt;br /&gt;
Disable the sending of shell prompt on UART.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MPOFF&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MPON ===&lt;br /&gt;
&lt;br /&gt;
Enable the sending of shell prompt on UART.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MPON&lt;br /&gt;
 OK&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=== AT+DEBUG= MP? ===&lt;br /&gt;
&lt;br /&gt;
Read current prompt mode.&lt;br /&gt;
&lt;br /&gt;
==== Response ====&lt;br /&gt;
&lt;br /&gt;
Always OK.&lt;br /&gt;
&lt;br /&gt;
+DEBUG: &amp;amp;lt;prompt&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
 AT+DEBUG= MP?&lt;br /&gt;
 +DEBUG: MPON&lt;br /&gt;
 OK&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=Smart_IoT_Sensor_-_HW&amp;diff=258</id>
		<title>Smart IoT Sensor - HW</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=Smart_IoT_Sensor_-_HW&amp;diff=258"/>
				<updated>2018-01-19T13:07:38Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Smart IoT Sensor]]&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Front !! Back&lt;br /&gt;
|-&lt;br /&gt;
| [[File:SIS_PCB_front.jpg|320px]] || [[File:SIS_PCB_back.jpg|320px]]&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
* reset button&lt;br /&gt;
* battery connector&lt;br /&gt;
* micro-usb port&lt;br /&gt;
* micro-hdmi (reserved)&lt;br /&gt;
* MCU/BLE switch&lt;br /&gt;
* Debugger connector&lt;br /&gt;
||&lt;br /&gt;
* user button&lt;br /&gt;
* user LED&lt;br /&gt;
* charging LED&lt;br /&gt;
* mm002 module&lt;br /&gt;
* BLE module&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Electrical Specification ==&lt;br /&gt;
&lt;br /&gt;
== Included Modules and chipsets ==&lt;br /&gt;
=== LoRa/Sigfox MM002 ===&lt;br /&gt;
&lt;br /&gt;
[http://www.nemeus.fr/en/nemeus-mm002-2/ NEMEUS: MM002 datasheet]&lt;br /&gt;
&lt;br /&gt;
The Nemeus MM002 is wired using UART and a wakeup pin. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|Atmel label&lt;br /&gt;
|-&lt;br /&gt;
|28&lt;br /&gt;
|PA19&lt;br /&gt;
|TX&lt;br /&gt;
|RX (Serial2)&lt;br /&gt;
|SERCOM1/PAD[3]&lt;br /&gt;
|-&lt;br /&gt;
|27&lt;br /&gt;
|PA18&lt;br /&gt;
|RX&lt;br /&gt;
|TX (Serial2)&lt;br /&gt;
|SERCOM1/PAD[2]&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|PA04&lt;br /&gt;
|WakeUp&lt;br /&gt;
|A3&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth Smart nRF51822 ===&lt;br /&gt;
[http://infocenter.nordicsemi.com/pdf/nRF51822_PS_v3.1.pdf Nordic Semi: nRF51822 datasheet]&lt;br /&gt;
&lt;br /&gt;
the nRF51822 is wired to an Arduino UART port. (Variant AC : 256KB Flash / 32KB Ram)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;7&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin (SAMD)&lt;br /&gt;
|Physical pin (nRF51)&lt;br /&gt;
|Port pin (SAMD)&lt;br /&gt;
|Port pin (nRF51)&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|Atmel label&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|17&lt;br /&gt;
|PB23&lt;br /&gt;
|P0.11&lt;br /&gt;
|TX&lt;br /&gt;
|RX (Serial)&lt;br /&gt;
|SERCOM5/PAD[3]&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|15&lt;br /&gt;
|PB22&lt;br /&gt;
|P0.09&lt;br /&gt;
|RX&lt;br /&gt;
|TX (Serial)&lt;br /&gt;
|SERCOM5/PAD[2]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== GPS/GNSS SIM33ELA ===&lt;br /&gt;
[https://www.silabs.com/Support%20Documents/RegisteredDocs/BGM111_datasheet.pdf SIMCom: SIM33ELA datasheet]&lt;br /&gt;
&lt;br /&gt;
The SIM33 GPS is wired using UART to the Arduino.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|Atmel label&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|PA10&lt;br /&gt;
|RX&lt;br /&gt;
|TX (Serial1)&lt;br /&gt;
|SERCOM0/PAD[2]&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|PA11&lt;br /&gt;
|TX&lt;br /&gt;
|RX (Serial1)&lt;br /&gt;
|SERCOM0/PAD[3]&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|PA02&lt;br /&gt;
|Power enable&lt;br /&gt;
|A0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|29&lt;br /&gt;
|PA20&lt;br /&gt;
|Fix GPS&lt;br /&gt;
|6&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Included Sensors ==&lt;br /&gt;
===ADXL345===&lt;br /&gt;
The ADXL345 accelerometer is wired to the I2C bus, and can use two interrupts to manage acceleration events (tap, activity...).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|PA22&lt;br /&gt;
|SDA&lt;br /&gt;
|SDA&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|PA23&lt;br /&gt;
|SCL&lt;br /&gt;
|SCL&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|PB08&lt;br /&gt;
|Interrupt 1&lt;br /&gt;
|A1&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|PB09&lt;br /&gt;
|Interrupt 2&lt;br /&gt;
|A2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===BMP280===&lt;br /&gt;
&lt;br /&gt;
The BMP280 temperature and pressure sensor is wired on I2C bus.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|PA22&lt;br /&gt;
|SDA&lt;br /&gt;
|SDA&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|PA23&lt;br /&gt;
|SCL&lt;br /&gt;
|SCL&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== GPIO available ==&lt;br /&gt;
&lt;br /&gt;
You can use these additional pins :&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|x&lt;br /&gt;
|GND&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|47&lt;br /&gt;
|PB02&lt;br /&gt;
|A5&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|PA05&lt;br /&gt;
|A4&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|PA04&lt;br /&gt;
|A3&lt;br /&gt;
|-&lt;br /&gt;
|x&lt;br /&gt;
|3V3&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|PA12&lt;br /&gt;
|MISO&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|PB11&lt;br /&gt;
|SCK&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|PB10&lt;br /&gt;
|MOSI&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|PA03&lt;br /&gt;
|AREF&lt;br /&gt;
|-&lt;br /&gt;
|31&lt;br /&gt;
|PA22&lt;br /&gt;
|SDA (shared with sensors)&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|PA23&lt;br /&gt;
|SCL (shared with sensors)&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|PA17&lt;br /&gt;
|13&lt;br /&gt;
|-&lt;br /&gt;
|30&lt;br /&gt;
|PA21&lt;br /&gt;
|7&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|PA06&lt;br /&gt;
|8&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|PA07&lt;br /&gt;
|9&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Additional UARTs ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Remap PB10/PB11 as UART ====&lt;br /&gt;
PB10/11 are dedicated to SPI connection to external devices.&lt;br /&gt;
&lt;br /&gt;
If you don't need SPI, you can reuse these GPIOs as another UART&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|PB10&lt;br /&gt;
|MOSI / SERCOM4 TX&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|PB11&lt;br /&gt;
|SCK / SERCOM4 RX&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Remap PA22/PA23 as UART ====&lt;br /&gt;
&lt;br /&gt;
PA22/PA23 are already used as I2C by 2 embedded sensors :&lt;br /&gt;
* BMP280 (Temperature and pressure sensor)&lt;br /&gt;
* ADXL345 (Accelerometer)&lt;br /&gt;
&lt;br /&gt;
If you don't need them, you can reuse these GPIOs as another UART&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;3&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|32&lt;br /&gt;
|PA22&lt;br /&gt;
|SDA / SERCOM3 TX&lt;br /&gt;
|-&lt;br /&gt;
|33&lt;br /&gt;
|PA23&lt;br /&gt;
|SCL / SERCOM3 RX&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Example of scenario ====&lt;br /&gt;
&lt;br /&gt;
This scenario sends &amp;quot;TEST&amp;quot; string to the UART and prints received data coming from the UART to the serial monitor.&lt;br /&gt;
&lt;br /&gt;
To test this scenario, you can connect together the RX and TX pins of the corresponding UART, you will see the &amp;quot;TEST&amp;quot; string in the serial monitor.&lt;br /&gt;
&lt;br /&gt;
It uses SPI GPIOs (MOSI/SCK). If you comment the first line (SERIAL_USE_SPI_PINS), it will use the I2C GPIOs (SDA/SCL).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 /* choose to remap SPI or I2C as UART */&lt;br /&gt;
 #define SERIAL_USE_SPI_PINS&lt;br /&gt;
 &lt;br /&gt;
 #ifdef SERIAL_USE_SPI_PINS&lt;br /&gt;
 /* &lt;br /&gt;
  * PB10 = MOSI = Serial3 TX = SERCOM4/PAD[2]&lt;br /&gt;
  * PB11 = SCK  = Serial3 RX = SERCOM4/PAD[3]  */&lt;br /&gt;
 Uart Serial3( &amp;amp;sercom4, 24, 23, SERCOM_RX_PAD_3, UART_TX_PAD_2 ) ;&lt;br /&gt;
 #define UART_ISR SERCOM4_Handler&lt;br /&gt;
 &lt;br /&gt;
 #else&lt;br /&gt;
 &lt;br /&gt;
 /* &lt;br /&gt;
  * PA22 = SDA = Serial3 TX = SERCOM3/PAD[0]&lt;br /&gt;
  * PA23 = SCL = Serial3 RX = SERCOM3/PAD[1] */&lt;br /&gt;
 Uart Serial3( &amp;amp;sercom3, 33, 32, SERCOM_RX_PAD_1, UART_TX_PAD_0 ) ;&lt;br /&gt;
 #define UART_ISR SERCOM3_Handler&lt;br /&gt;
 &lt;br /&gt;
 #endif&lt;br /&gt;
 &lt;br /&gt;
 void UART_ISR()&lt;br /&gt;
 {&lt;br /&gt;
   Serial3.IrqHandler();&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void setup() {&lt;br /&gt;
   SerialUSB.begin(115200);&lt;br /&gt;
   while(!SerialUSB){;;}&lt;br /&gt;
 &lt;br /&gt;
   SerialUSB.println(&amp;quot;Start&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
   Serial3.begin(115200);&lt;br /&gt;
   while(!Serial3){;;}&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 void loop() &lt;br /&gt;
 {&lt;br /&gt;
   /* Send string to UART */&lt;br /&gt;
   Serial3.println(&amp;quot;TEST&amp;quot;);&lt;br /&gt;
   delay(1000);&lt;br /&gt;
 &lt;br /&gt;
   while(Serial3.available())&lt;br /&gt;
   {&lt;br /&gt;
     /* echo received data to the serial monitor */&lt;br /&gt;
     SerialUSB.print((char)Serial3.read());    &lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Buttons and LEDs ==&lt;br /&gt;
&lt;br /&gt;
=== Reset Button ===&lt;br /&gt;
A reset button est available on board: pushing the reset button will only reset the SAMD21.&lt;br /&gt;
In others words, the Arduino bootloader will restart and jump to the user's application.&lt;br /&gt;
&lt;br /&gt;
If the reset is pushed twice, the MCU will remain in bootloader mode, allowing USB emulation and serial communication.&lt;br /&gt;
&lt;br /&gt;
=== User Button ===&lt;br /&gt;
The user button is connected in pull down to the MCU.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|PA16&lt;br /&gt;
|USER button&lt;br /&gt;
|11&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== LED ===&lt;br /&gt;
&lt;br /&gt;
The RGB leds are wired on simple GPIOS.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;4&amp;quot;|Pinning relations&lt;br /&gt;
|-&lt;br /&gt;
|Physical pin&lt;br /&gt;
|Port pin&lt;br /&gt;
|Function pin on sensor&lt;br /&gt;
|Function pin on Arduino&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|PA14&lt;br /&gt;
|BLUE&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|PA09&lt;br /&gt;
|GREEN&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|PA15&lt;br /&gt;
|RED&lt;br /&gt;
|5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
&lt;br /&gt;
A LP552036 battery is included and fit in the case. It could be plug to the 2 pins battery connector available on board. Battery is managed thanks to the power and charging management IC.&lt;br /&gt;
So, when USB is plugged, the USB will charge the battery and power the device.&lt;br /&gt;
&lt;br /&gt;
The LED indicates current status:&lt;br /&gt;
* No color: Device is not plus to a USB powered&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#FF0000&amp;quot;&amp;gt;RED&amp;lt;/span&amp;gt;     : Device is plug to an USB power source and charge is ongoing&lt;br /&gt;
* &amp;lt;span style=&amp;quot;color:#00FF00&amp;quot;&amp;gt;GREEN&amp;lt;/span&amp;gt;   : Device is plug to an USB power source and charge is complete&lt;br /&gt;
&lt;br /&gt;
Unless the battery is empty, the Smart IoT Sensor can work by itself without any external connection.&lt;br /&gt;
Please note however that if you need such behaviour, the SW embedded should not loop on USB serial sensing&lt;br /&gt;
&lt;br /&gt;
== Case ==&lt;br /&gt;
&lt;br /&gt;
The Smart IoT Sensor features a 50*50*25mm case.&lt;br /&gt;
All the hardware is all-included inside the case. There is no visible outside antenna.&lt;br /&gt;
&lt;br /&gt;
The case has one miniUSB connector for USB communication on one side, and works as power supply as well.&lt;br /&gt;
&lt;br /&gt;
The user LED is visible on the top of the case.&lt;br /&gt;
&lt;br /&gt;
== Antennas ==&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth Smart antenna ===&lt;br /&gt;
&lt;br /&gt;
The board embeds an RF Ceramic Antenna.&lt;br /&gt;
&lt;br /&gt;
=== GPS/GNSS (SIM33ELA) antenna ===&lt;br /&gt;
&lt;br /&gt;
The antenna is integrated on the module.&lt;br /&gt;
&lt;br /&gt;
=== LoRa/Sigfox (MM002) antenna ===&lt;br /&gt;
&lt;br /&gt;
We provide a finely tuned PCB antenna onboard.&lt;br /&gt;
&lt;br /&gt;
There is also an UFL connector in case you need an external antenna.&lt;br /&gt;
&lt;br /&gt;
== SWD Debug Port ==&lt;br /&gt;
&lt;br /&gt;
The SWD 9 pins connector onboard can be used with your SWD debugger.&lt;br /&gt;
&lt;br /&gt;
We suggest you to use a [https://www.segger.com/jlink-adapters.html#CM_9pin J-Link 9-pin Cortex-M Adapter] with the [https://www.segger.com/jlink_base.html J-Link BASE SWD debug probe]&lt;br /&gt;
&lt;br /&gt;
The SWD switch allows you to choose the SAMD21 or the BLE as SWD target for the debug probe.&lt;br /&gt;
&lt;br /&gt;
===SWD connection to the SAMD21===&lt;br /&gt;
&lt;br /&gt;
You received your board with a preloaded firmware in the SAMD chipset. &lt;br /&gt;
If you bricked your board, this procedure can be used to re-flash the arduino firmware.&lt;br /&gt;
&lt;br /&gt;
Set the SWD switch to MCU position.&lt;br /&gt;
launch JLinkGDBServer:&lt;br /&gt;
 /opt/SEGGER/JLink/JLinkGDBServer -if SWD -device ATSAMD21G18 -speed 4000&lt;br /&gt;
&lt;br /&gt;
You should see &amp;quot;Listening on TCP/IP port 2331&amp;quot;&lt;br /&gt;
&lt;br /&gt;
From gdb, connect to the gdbserver:&lt;br /&gt;
 arm-none-eabi-gdb&lt;br /&gt;
 (gdb) target remote localhost:2331&lt;br /&gt;
 (gdb) restore bootloader.hex&lt;br /&gt;
&lt;br /&gt;
===SWD connection to the nRF51822===&lt;br /&gt;
&lt;br /&gt;
You received your board with a preloaded firmware in the BLE chipset.&lt;br /&gt;
This firmware is a basic UART to BLE demonstration software.&lt;br /&gt;
&lt;br /&gt;
We describe this procedure in case you need to re-flash the bluetooth firmware to match your specific needs.&lt;br /&gt;
&lt;br /&gt;
Set the SWD switch to BLE position.&lt;br /&gt;
&lt;br /&gt;
The full support can be found from [Nordic https://devzone.nordicsemi.com/tutorials/7/]&lt;br /&gt;
Here is an abstract for the UART BLE example:&lt;br /&gt;
&lt;br /&gt;
Install GNU Make&lt;br /&gt;
 sudo apt-get install build-essential checkinstall&lt;br /&gt;
&lt;br /&gt;
Download [http://developer.nordicsemi.com/ Nrf51 SDK 11.0.0].&lt;br /&gt;
&lt;br /&gt;
Download [http://developer.nordicsemi.com/ nRF5x Command Line Tools].&lt;br /&gt;
&lt;br /&gt;
Set the toolchain path in makefile.windows or makefile.posix depending on platform you are using:&lt;br /&gt;
 &amp;lt;SDK&amp;gt;/components/toolchain/gcc/Makefile.[platform]&lt;br /&gt;
&lt;br /&gt;
You have to choose the correct LD script for the nRF51822. Please use pca10028 for 256kB of flash and 32KB of ram.&lt;br /&gt;
Update this file:&lt;br /&gt;
 &amp;lt;SDK&amp;gt;/examples/bsp/pca10028.h&lt;br /&gt;
  #define RX_PIN_NUMBER  9&lt;br /&gt;
  #define TX_PIN_NUMBER  11&lt;br /&gt;
  #define HWFC           false&lt;br /&gt;
&lt;br /&gt;
We need to update the main file in uart_init() function :&lt;br /&gt;
 &amp;lt;SDK&amp;gt;/examples/ble_peripheral/ble_app_uart/main.c&lt;br /&gt;
  APP_UART_FLOW_CONTROL_DISABLED&lt;br /&gt;
  UART_BAUDRATE_BAUDRATE_Baud9600&lt;br /&gt;
&lt;br /&gt;
Now, we can build it, go to: &lt;br /&gt;
 &amp;lt;SDK&amp;gt;/examples/ble_peripheral/ble_app_uart/pca10028/s130/armgcc&lt;br /&gt;
&lt;br /&gt;
build and flash the BLE chip:&lt;br /&gt;
 make&lt;br /&gt;
 make flash_softdevice&lt;br /&gt;
 make flash&lt;br /&gt;
&lt;br /&gt;
== Certification ==&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=256</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=256"/>
				<updated>2017-12-20T16:01:03Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
* Impact detection&lt;br /&gt;
* Tilt measurement&lt;br /&gt;
* 3D orientation measurement&lt;br /&gt;
* Activity and inactivity duration measurement&lt;br /&gt;
* vibration monitoring system&lt;br /&gt;
&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=255</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=255"/>
				<updated>2017-12-20T08:48:52Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: /* Accelerometer sensor properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
It can be used as vibration monitoring system.&lt;br /&gt;
This sensor can check the vibrational footprint and thus the health status of your machine several times a day and provide data to the server. This system makes it possible to carry out maintenance based on reliability by anticipating problems. This system also allows daily measurements to be made on machines in dangerous, remote and inaccessible locations. &lt;br /&gt;
It can detect whether the machine is running or not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=254</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=254"/>
				<updated>2017-12-19T17:48:48Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
== Frequency response (mg/Hz) ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=253</id>
		<title>NIS-AX Motion Sensor</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=NIS-AX_Motion_Sensor&amp;diff=253"/>
				<updated>2017-12-19T17:47:36Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:2 Exp Motion sensor.png|thumb|400px|IO Digital Sensor]]&lt;br /&gt;
&lt;br /&gt;
= General information =&lt;br /&gt;
{{:NIS Overview}}&lt;br /&gt;
&lt;br /&gt;
= Mechanics =&lt;br /&gt;
* Dimensions 60 x 95 x 85mm (109mm including fixing brackets)&lt;br /&gt;
* 96mm spacing between brackets&lt;br /&gt;
* IP 65&lt;br /&gt;
* Solid ABS &amp;amp; PC material&lt;br /&gt;
&lt;br /&gt;
= Accelerometer sensor properties =&lt;br /&gt;
&lt;br /&gt;
This sensor has full scales of ±2g/±4g/±8g/±16g and is capable of measuring accelerations with output data rates from 1 Hz to 5.3 kHz.&lt;br /&gt;
&lt;br /&gt;
== Frequency response ==&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 80Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-80Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-80Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 230Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-230Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-230Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 330Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-330Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-330Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 430Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-430Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-430Hz-vibration.png|400px]]&lt;br /&gt;
&lt;br /&gt;
=== Comparison for 530Hz vibration ==&lt;br /&gt;
&lt;br /&gt;
[[File:Computer-530Hz-vibration.png|400px]]&lt;br /&gt;
[[File:Embedded-530Hz-vibration.png|400px]]&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Computer-530Hz-vibration.png&amp;diff=252</id>
		<title>File:Computer-530Hz-vibration.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Computer-530Hz-vibration.png&amp;diff=252"/>
				<updated>2017-12-19T17:43:58Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Embedded-530Hz-vibration.png&amp;diff=251</id>
		<title>File:Embedded-530Hz-vibration.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Embedded-530Hz-vibration.png&amp;diff=251"/>
				<updated>2017-12-19T17:43:45Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	<entry>
		<id>https://wiki.nemeus.fr/index.php?title=File:Computer-430Hz-vibration.png&amp;diff=250</id>
		<title>File:Computer-430Hz-vibration.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.nemeus.fr/index.php?title=File:Computer-430Hz-vibration.png&amp;diff=250"/>
				<updated>2017-12-19T17:43:28Z</updated>
		
		<summary type="html">&lt;p&gt;Arl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Arl</name></author>	</entry>

	</feed>