<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: zhao mingfei</title>
    <description>The latest articles on DEV Community by zhao mingfei (@zhao_mingfei_8d86042f64c2).</description>
    <link>https://dev.to/zhao_mingfei_8d86042f64c2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3578538%2Fb15969bd-7308-41a2-9717-4d0289fbf235.jpg</url>
      <title>DEV Community: zhao mingfei</title>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zhao_mingfei_8d86042f64c2"/>
    <language>en</language>
    <item>
      <title>¿Nube o gateway? Prueba seis muestras durante un corte de red</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Mon, 30 Nov 2026 02:57:37 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/nube-o-gateway-prueba-seis-muestras-durante-un-corte-de-red-5glj</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/nube-o-gateway-prueba-seis-muestras-durante-un-corte-de-red-5glj</guid>
      <description>&lt;p&gt;Un sensor puede seguir transmitiendo mientras el panel deja de actualizarse. Antes de decidir dónde alojar una plataforma IoT, conviene ensayar dos requisitos por separado: si el operario ve datos nuevos durante un corte y si el historial central se completa al volver la red.&lt;/p&gt;

&lt;h2&gt;
  
  
  Una prueba con seis muestras
&lt;/h2&gt;

&lt;p&gt;Utiliza un sensor de prueba que envíe una lectura por minuto. Conserva la alimentación y la LAN. Registra una lectura con la WAN disponible y corta únicamente el enlace externo del entorno de ensayo durante seis minutos. Anota los instantes exactos del corte y la recuperación. Seis es el número esperado; usa el registro de recepción para saber cuántas muestras llegaron realmente.&lt;/p&gt;

&lt;h2&gt;
  
  
  Qué anotar por cada lectura
&lt;/h2&gt;

&lt;p&gt;Identifica la muestra por dispositivo, sesión, contador y hora de medición, si la transmite el sensor. Registra cuándo la recibió el gateway, qué hora mostraba el panel local y cuándo apareció en el historial central. Si desconoces la hora de medición, déjala vacía. Una temperatura estable puede ser correcta aunque se repita. La marca de tiempo permite distinguir una muestra nueva de un valor en caché.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cómo interpretar el resultado
&lt;/h2&gt;

&lt;p&gt;Si el gateway recibió seis muestras y el historial solo tiene cinco, sigue el contador ausente por la cola, el reenvío y la escritura. Si el historial tiene seis filas con la misma hora de recuperación, revisa qué marca de tiempo utiliza la gráfica. Si solo faltó la vista local, averigua si el navegador consultaba una API remota.&lt;/p&gt;

&lt;h2&gt;
  
  
  Qué cambia con cada despliegue
&lt;/h2&gt;

&lt;p&gt;En la nube, mide la retención de la cola y el tiempo de recuperación. En un servidor local, ensaya también la restauración de una copia de seguridad. En un gateway con servicios integrados, mide el espacio libre y el crecimiento diario de los registros en el modelo concreto. Verifica los avisos por correo en una prueba aparte.&lt;/p&gt;

&lt;p&gt;Estos números son un ejemplo de ensayo. Artículo preparado con ayuda de IA generativa.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>El gateway LoRaWAN está en línea, pero falta la temperatura: sigue una sola trama</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Sun, 29 Nov 2026 00:20:23 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/el-gateway-lorawan-esta-en-linea-pero-falta-la-temperatura-sigue-una-sola-trama-om9</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/el-gateway-lorawan-esta-en-linea-pero-falta-la-temperatura-sigue-una-sola-trama-om9</guid>
      <description>&lt;p&gt;Un gateway puede enviar su señal de actividad mientras la gráfica de temperatura sigue vacía. Para saber dónde investigar, elige &lt;strong&gt;una transmisión&lt;/strong&gt;. Anota la hora con su zona horaria, el dispositivo de prueba y, si están disponibles, el contador de trama y el puerto de aplicación. Conserva la configuración hasta localizar el primer tramo sin evidencia.&lt;/p&gt;

&lt;h2&gt;
  
  
  Qué buscar en cada punto
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Última evidencia&lt;/th&gt;
&lt;th&gt;Siguiente comprobación&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;El gateway está conectado&lt;/td&gt;
&lt;td&gt;Busca una trama del dispositivo en el servidor de red (NS) durante la ventana elegida. Comprueba la región y el plan de frecuencias.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;El NS recibió la trama de datos&lt;/td&gt;
&lt;td&gt;Busca el mismo evento en el servidor de aplicaciones (AS). Revisa el estado de activación, la sesión y los filtros.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;El AS muestra la carga útil&lt;/td&gt;
&lt;td&gt;Entrega esos mismos bytes y el FPort al decodificador asignado al dispositivo. Compara los campos devueltos con los que espera la gráfica.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;El decodificador devuelve una temperatura&lt;/td&gt;
&lt;td&gt;Comprueba el signo, la escala, la unidad y la hora de la muestra contra una referencia independiente.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Un ejemplo que se puede repetir
&lt;/h2&gt;

&lt;p&gt;Supón que el AS muestra &lt;code&gt;0AQ=&lt;/code&gt; en Base64. En Python puedes inspeccionar los bytes sin instalar paquetes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;base64&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;b64decode&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;b64decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'0AQ='&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;validate&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;hex&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# d0 04&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Esos dos bytes aún no dicen qué magnitud midió el sensor. &lt;strong&gt;Solo para este ejemplo&lt;/strong&gt;, define el contrato como un entero de 16 bits, little-endian, en centésimas de grado Celsius. El entero es 1232 y la lectura esperada, 12,32 °C. Guarda el puerto, la carga y el resultado juntos. Si una actualización devuelve otro valor, puedes reproducir el fallo sin pedir una nueva transmisión. En un equipo real manda su protocolo, incluida la definición de códigos de error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dos búsquedas que pueden ocultar la trama
&lt;/h2&gt;

&lt;p&gt;Una solicitud de unión OTAA contiene el DevEUI. Una trama de datos normal, tras la activación, usa DevAddr en la cabecera. Una búsqueda por DevEUI en un visor de tramas crudas puede no encontrar ese paquete aunque haya llegado. Además, con un NS externo que entrega a tu aplicación por MQTT, el punto de entrada es el evento del NS externo y después el mensaje del puente. Revisa ese recorrido antes de buscar el paquete en un NS local.&lt;/p&gt;

&lt;p&gt;El registro que conviene guardar al cerrar la prueba cabe en una fila: &lt;strong&gt;hora, contador, puerto, bytes y campo esperado&lt;/strong&gt;. Si recopilas ejemplos para compartir, elimina identificadores de clientes y claves.&lt;/p&gt;

</description>
      <category>debugging</category>
      <category>iot</category>
      <category>networking</category>
    </item>
    <item>
      <title>Cloud or gateway? Test what survives a WAN outage before choosing</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Sat, 28 Nov 2026 22:46:31 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/cloud-or-gateway-test-what-survives-a-wan-outage-before-choosing-1pmj</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/cloud-or-gateway-test-what-survives-a-wan-outage-before-choosing-1pmj</guid>
      <description>&lt;p&gt;A dashboard can keep showing 19.2 °C after a site loses its internet connection. The number alone tells you little. Did the sensor take another reading? Did the site store it? Can a remote operator see it? Those three answers can lead to different deployment choices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Write down what the site owes its operator
&lt;/h2&gt;

&lt;p&gt;For a cold-room monitor, try a concrete requirement: collect one reading per minute during a 30-minute WAN outage, let the on-site operator see when the last sample arrived, and deliver all 30 readings to the central service after connectivity returns. Treat an off-site notification as a separate test, since its delivery path may also cross the failed link.&lt;/p&gt;

&lt;p&gt;Draw the route from sensor through collector, storage and display. Mark every hop that crosses the site boundary. A local server can still depend on remote authentication. A gateway can buffer frames while its dashboard is unavailable. A cloud service can backfill history if a collector has durable storage. Test the deployed combination.&lt;/p&gt;

&lt;h2&gt;
  
  
  A six-reading rehearsal
&lt;/h2&gt;

&lt;p&gt;Before using a real sensor, a small replay can check the logic of your acceptance test. In a local Python run, six synthetic samples had sequence numbers 1 through 6. A SQLite queue retained each sample until the destination acknowledged it. The destination used the sequence number as its primary key for this single simulated source.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;In the local queue&lt;/th&gt;
&lt;th&gt;Unique rows at destination&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;First send&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Second send&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Link unavailable&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Reopen local storage while offline&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Link returns, last acknowledgement is lost&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Retry and send the final sample&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Step 5 is the revealing one. The destination has stored sample 5, but the collector still has to keep it. On retry, the destination recognizes the same sample. Two consecutive samples also have the same temperature, so deduplicating on the measurement itself would discard a valid reading. With multiple devices you need an identity that includes the source and survives device restarts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Repeat it on the candidate installation
&lt;/h2&gt;

&lt;p&gt;Use a test unit and isolate only its WAN uplink. Record sample IDs, source times, local visibility and remote receipt. Restore connectivity and check the IDs individually. For the 30-minute requirement, simulate at least 30 minutes of traffic at the expected rate. Check disk capacity, retention policy and the time needed to drain the backlog while new data keeps arriving.&lt;/p&gt;

&lt;p&gt;The six-row run exercises queue persistence and duplicate handling in a software model. Radio reception, power-loss durability, storage limits and notification delivery still need separate measurements on the installation. Those observations give you a concrete basis for choosing between cloud, local server and gateway placement.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI disclosure: this article was drafted with AI. The six-row output comes from an executed local simulation using synthetic temperature readings.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>iot</category>
    </item>
    <item>
      <title>Dos tramas LoRaWAN para descubrir por qué un sensor marca 6543,6 C</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Fri, 27 Nov 2026 01:04:06 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/dos-tramas-lorawan-para-descubrir-por-que-un-sensor-marca-65436-degc-425g</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/dos-tramas-lorawan-para-descubrir-por-que-un-sensor-marca-65436-degc-425g</guid>
      <description>&lt;p&gt;Cuando un termómetro pasa de 0 a 6543,6 °C al enfriarse, conviene guardar los bytes antes de cambiar el sensor. Un error de signo puede pasar inadvertido durante meses si las pruebas solo cubren temperaturas positivas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dos tramas para poner a prueba el decodificador
&lt;/h2&gt;

&lt;p&gt;Este ejemplo usa un contrato didáctico: el campo ocupa dos bytes, el más significativo va primero y el entero tiene signo en complemento a dos. Cada unidad equivale a 0,1 °C. LoRaWAN transporta el payload; el fabricante define cómo interpretarlo. Antes de aplicar la prueba a un equipo, confirma modelo, firmware, FPort y posición del campo.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Base64&lt;/th&gt;
&lt;th&gt;Bytes en hexadecimal&lt;/th&gt;
&lt;th&gt;Entero con signo&lt;/th&gt;
&lt;th&gt;Temperatura&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;APo=&lt;/td&gt;
&lt;td&gt;00 FA&lt;/td&gt;
&lt;td&gt;250&lt;/td&gt;
&lt;td&gt;25,0 °C&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;/5w=&lt;/td&gt;
&lt;td&gt;FF 9C&lt;/td&gt;
&lt;td&gt;−100&lt;/td&gt;
&lt;td&gt;−10,0 °C&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Guarda lo siguiente en &lt;code&gt;prueba.cjs&lt;/code&gt; y ejecuta &lt;code&gt;node prueba.cjs&lt;/code&gt;. No requiere paquetes ni conexión con una red de radio.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;assert&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;require&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"node:assert/strict"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;base64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;esperado&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"APo="&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"/5w="&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Buffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;base64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"base64"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;celsius&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;readInt16BE&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;celsius&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;esperado&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bytes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"hex"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;celsius&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toFixed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;La salida es &lt;code&gt;00fa 25.0&lt;/code&gt; y &lt;code&gt;ff9c -10.0&lt;/code&gt;. Ahora cambia una sola decisión y observa cuál de las dos pruebas falla.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Signo.&lt;/strong&gt; Con &lt;code&gt;readUInt16BE&lt;/code&gt;, la primera muestra sigue dando 25,0. La segunda pasa a 6543,6: los mismos bits representan 65436 al leerlos sin signo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orden de bytes.&lt;/strong&gt; Con &lt;code&gt;readInt16LE&lt;/code&gt;, la primera ya falla. El valor bruto pasa de 250 a −1536 y la temperatura a −153,6 °C.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Escala.&lt;/strong&gt; Si quitas la división entre diez, conservas ambos signos y obtienes 250 y −100. Ese patrón apunta al factor de conversión.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Para probar un equipo real, conserva una trama de origen, el FPort, la versión del protocolo y una lectura de referencia tomada en el mismo intervalo. Si el protocolo reserva un valor para fallo de sonda, añade un tercer caso: ese valor necesita su propio tratamiento antes de convertir a grados.&lt;/p&gt;

&lt;p&gt;Estas dos tramas son sintéticas. El ejemplo se ejecutó en Node.js. Se utilizó IA para preparar el texto y la figura.&lt;/p&gt;

</description>
      <category>spanish</category>
    </item>
    <item>
      <title>Seamlessly Connect Industrial Sensors to LoRaWAN® with Manthink’s KC21 DTU</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Sun, 26 Oct 2025 10:34:21 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/seamlessly-connect-industrial-sensors-to-lorawanr-with-manthinks-kc21-dtu-54l6</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/seamlessly-connect-industrial-sensors-to-lorawanr-with-manthinks-kc21-dtu-54l6</guid>
      <description>&lt;p&gt;Struggling to modernize legacy industrial equipment without costly reengineering? Meet Manthink’s KC21, a battery-powered, waterproof LoRaWAN DTU that simplifies IoT integration for industrial environments.&lt;br&gt;
With an optional DN20 mechanical interface, the KC21 can be directly mounted onto field devices like flow meters, enabling robust, weatherproof deployments in harsh conditions — from water treatment plants to remote energy sites.&lt;br&gt;
🔌 Supports multiple analog &amp;amp; digital interfaces:&lt;br&gt;
• 4–20mA / 0–10V signals&lt;br&gt;
• RS-485 (Modbus, DL/T645, CJ/T188)&lt;br&gt;
• M-Bus compatible&lt;br&gt;
💧 Ideal for monitoring:&lt;br&gt;
• Flow meters&lt;br&gt;
• Temperature &amp;amp; humidity sensors&lt;br&gt;
• Vibration detectors&lt;br&gt;
• Pressure and level sensors&lt;br&gt;
⚡️ Built-in Edge Intelligence via Edge-Bus (EB):&lt;br&gt;
The KC21 runs business logic locally using JavaScript-like scripting, supports FUOTA updates, and enables COV reporting, alarm triggering, and data preprocessing — all without additional software development.&lt;br&gt;
🔋 Power-constrained? No problem.&lt;br&gt;
KC21 includes external power output (15V), allowing it to power connected sensors — eliminating the need for separate power cabling in hard-to-reach locations.&lt;br&gt;
All data seamlessly integrates into ThinkLink, Manthink’s open LoRaWAN Network Server (NS), which supports global standards and offers powerful edge/cloud deployment flexibility.&lt;br&gt;
🎯 For small projects or prototyping, Try ThinkLink Cloud – FREE forever for up to 1,000 devices.&lt;br&gt;
Thinklink: Open LoRaWAN application platform. Accepts any brand of LoRaWAN device, supports BACnet, Home Assistant, ThingsBoard integration.&lt;br&gt;
• Cloud version: Free for 1,000 devices → &lt;a href="https://thinklink.manthink.cn" rel="noopener noreferrer"&gt;https://thinklink.manthink.cn&lt;/a&gt;&lt;br&gt;
• Edge version: Low-cost on-premise deployment, supports 1,000+ devices&lt;br&gt;
More info: &lt;a href="https://www.manthink.cn" rel="noopener noreferrer"&gt;https://www.manthink.cn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>lorawan</category>
      <category>tkl</category>
      <category>manthink</category>
    </item>
    <item>
      <title>How to Connect Milesight UG56 LoRaWAN Gateway &amp; WS101 Sensor to Manthink ThinkLink Server</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Sat, 25 Oct 2025 09:54:57 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/how-to-connect-milesight-ug56-lorawan-gateway-ws101-sensor-to-manthink-thinklink-server-a9c</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/how-to-connect-milesight-ug56-lorawan-gateway-ws101-sensor-to-manthink-thinklink-server-a9c</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1f0y72rx3hgemnbltiug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1f0y72rx3hgemnbltiug.png" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
Astep-by-step guide to integrating third-party LoRaWAN devices into the Manthink ThinkLink LoRaWAN network server. This setup enables seamless communication between Milesight UG56 gateway, WS101 sensor, and Manthink’s enterprise-grade NS platform using standard protocols like GWMP.&lt;/p&gt;

&lt;p&gt;Press enter or click to view image in full size&lt;/p&gt;

&lt;p&gt;Whether you’re deploying smart building solutions, industrial monitoring systems, or city-wide IoT networks, this integration ensures secure, scalable, and vendor-neutral LoRaWAN connectivity.&lt;/p&gt;

&lt;p&gt;Let’s walk through the full process.&lt;/p&gt;

&lt;p&gt;✅ Prerequisites&lt;br&gt;
Before starting, ensure:&lt;/p&gt;

&lt;p&gt;✅ 1× Milesight UG56 LoRaWAN Gateway&lt;br&gt;
✅ 1× Milesight WS101 LoRaWAN Temperature &amp;amp; Humidity Sensor&lt;br&gt;
✅ Running instance of ThinkLink Edge TKE132 LoRaWAN Server&lt;br&gt;
✅ Computer with access to the TKE132 web interface&lt;br&gt;
✅ NFC handheld tool or NFC-enabled device to configure WS101&lt;br&gt;
⚙️ This guide uses AS923 frequency band as an example but can be adapted for EU868, US915, etc.&lt;/p&gt;

&lt;p&gt;🖥️ Step 1: Login to TKE132 and Obtain IP Address&lt;br&gt;
ThinkLink Edge runs locally on-premise. To begin, retrieve its IP address via the configuration portal:&lt;/p&gt;

&lt;p&gt;🌐 Enter in browser:&lt;br&gt;
&lt;a href="http://www.thinklink-edge:19091" rel="noopener noreferrer"&gt;http://www.thinklink-edge:19091&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📌 Log in to tke-conf and record the actual IP address assigned to TKE132 (e.g., 192.168.1.100).&lt;/p&gt;

&lt;p&gt;🔁 Note: This step is typically needed only during initial setup or after network changes. Save this IP — it will be used in the UG56 configuration.&lt;/p&gt;

&lt;p&gt;📎 Reference:[EN] TKE13 ThinkLink-Edge Specification&lt;/p&gt;

&lt;p&gt;🌐 Step 2: Configure Milesight UG56 Gateway&lt;br&gt;
Now configure the UG56 to forward packets to TKE132 via GWMP protocol (port 1770).&lt;/p&gt;

&lt;p&gt;2.1 Access UG56 Web GUI&lt;br&gt;
Open browser and go to default IP:&lt;br&gt;
👉 &lt;a href="http://192.168.1.1" rel="noopener noreferrer"&gt;http://192.168.1.1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.2 Navigate to Packet Forwarder Settings&lt;br&gt;
Go to:&lt;br&gt;
🔧 LoRaWAN &amp;gt; Packet Forwarder &amp;gt; General&lt;/p&gt;

&lt;p&gt;Click “+” to add a new Network Server destination.&lt;/p&gt;

&lt;p&gt;2.3 Set GWMP Connection Parameters&lt;br&gt;
Fill in:&lt;/p&gt;

&lt;p&gt;Enable: ✅ Checked&lt;br&gt;
Type: Semtech (standard GWMP mode)&lt;br&gt;
Server Address: &lt;a href="https://dev.tofrom%20Step%201"&gt;TKE132_IP_ADDRESS&lt;/a&gt;&lt;br&gt;
Port Up: 1770&lt;br&gt;
Port Down: 1770&lt;br&gt;
✅ Click “Save &amp;amp; Apply”&lt;/p&gt;

&lt;p&gt;➡️ The UG56 will now forward all received LoRaWAN uplinks to TKE132.&lt;/p&gt;

&lt;p&gt;🔐 Step 3: Add UG56 Gateway to ThinkLink Whitelist&lt;br&gt;
Next, authorize the gateway in ThinkLink.&lt;/p&gt;

&lt;p&gt;In ThinkLink Web UI:&lt;br&gt;
📍 Go to:&lt;br&gt;
Gateways &amp;gt; Add Gateway&lt;/p&gt;

&lt;p&gt;Fill in:&lt;/p&gt;

&lt;p&gt;EUI: Copy from UG56’s label or status page&lt;br&gt;
Type: Select GWMP&lt;br&gt;
PIN Code: User-defined (optional management field)&lt;br&gt;
✅ Submit&lt;/p&gt;

&lt;p&gt;Your gateway is now authenticated and ready to relay data.&lt;/p&gt;

&lt;p&gt;📡 Step 4: Register WS101 Device in TKE132 (OTAA Mode)&lt;br&gt;
To allow the sensor to join, pre-register its credentials in OTAA mode.&lt;/p&gt;

&lt;p&gt;In TKE132:&lt;br&gt;
📍 Operations &amp;gt; Device Management &amp;gt; LoRaWAN Profiles &amp;gt; New&lt;/p&gt;

&lt;p&gt;devEuiFrom WS101 physical label or NFC read&lt;/p&gt;

&lt;p&gt;standard AS923&lt;/p&gt;

&lt;p&gt;app_keye.g., 88888888888888888888888888888888&lt;/p&gt;

&lt;p&gt;💡 Other fields (lw_ver, class_mode) are auto-filled based on selected standard.&lt;/p&gt;

&lt;p&gt;✅ Save profile&lt;/p&gt;

&lt;p&gt;Now TKE132 expects this device to connect via OTAA.&lt;/p&gt;

&lt;p&gt;🛠️ Step 5: Configure WS101 Sensor for Re-Joining&lt;br&gt;
Use the handheld configurator or NFC app to update the WS101 settings so it can join the new network.&lt;/p&gt;

&lt;p&gt;In Configuration Tool:&lt;/p&gt;

&lt;p&gt;📍 Find LoRaWAN settings screen&lt;/p&gt;

&lt;p&gt;Setting&lt;/p&gt;

&lt;p&gt;Value App Key&lt;/p&gt;

&lt;p&gt;Same as above app_key&lt;/p&gt;

&lt;p&gt;Device EUI Verify matches devEui&lt;/p&gt;

&lt;p&gt;App EUI Auto-read; verify match&lt;/p&gt;

&lt;p&gt;Region AS923&lt;/p&gt;

&lt;p&gt;Join Mode OTAA&lt;/p&gt;

&lt;p&gt;✅ Click Write / Save to push config to sensor&lt;/p&gt;

&lt;p&gt;🔁 After write completes, WS101 restarts and attempts OTAA join.&lt;/p&gt;

&lt;p&gt;🟢 Success indication: LED behavior per user manual (e.g., solid light = joined)&lt;/p&gt;

&lt;p&gt;🧩 Step 6: Add Payload Decoder (Thing Model)&lt;br&gt;
Raw hex payloads need decoding. We’ll import Milesight’s official decoder.&lt;/p&gt;

&lt;p&gt;6.1 Get Decoder Script&lt;br&gt;
Find the Payload Decoder JavaScript function in:&lt;br&gt;
📄 ws101-user-guide-en.pdf — Page 13 Or GitHub repo: @milesight-iot&lt;/p&gt;

&lt;p&gt;Example snippet:&lt;/p&gt;

&lt;p&gt;function Decoder(bytes, port) {&lt;br&gt;
    var decoded = {};&lt;br&gt;
    // temperature, humidity parsing logic...&lt;br&gt;
    return decoded;&lt;br&gt;
}&lt;br&gt;
6.2 Create Thing Model in ThinkLink&lt;br&gt;
📍 Go to:&lt;br&gt;
Model Management &amp;gt; Thing Model &amp;gt; New&lt;/p&gt;

&lt;p&gt;Type: ChirpStack (since TKE132 uses ChirpStack core)&lt;br&gt;
Name: WS101_AS923_Decoder&lt;br&gt;
Decoder Code: Paste full script into editor&lt;br&gt;
✅ Save model&lt;/p&gt;

&lt;p&gt;This allows TKE132 to interpret raw binary data from WS101.&lt;/p&gt;

&lt;p&gt;💾 Step 7: Create Operational Device &amp;amp; Mount Model&lt;br&gt;
Final step: Register operational device and bind payload model.&lt;/p&gt;

&lt;p&gt;📍 Operations &amp;gt; Device Management &amp;gt; Devices &amp;gt; Add&lt;/p&gt;

&lt;p&gt;EUI Must match registered devEui&lt;/p&gt;

&lt;p&gt;Name e.g., WS101_Lab_Sensor&lt;/p&gt;

&lt;p&gt;Type LoRaWAN&lt;/p&gt;

&lt;p&gt;✅ Save device&lt;/p&gt;

&lt;p&gt;Then go to:&lt;br&gt;
📎 Device Details &amp;gt; Thing Model Section &amp;gt; Add&lt;/p&gt;

&lt;p&gt;Select previously created model: WS101_AS923_Decoder&lt;/p&gt;

&lt;p&gt;✅ Confirm binding&lt;/p&gt;

&lt;p&gt;✅ DONE!&lt;/p&gt;

&lt;p&gt;You should now see real-time temperature and humidity updates under:&lt;br&gt;
📍 Real-time Data or History Data dashboards in ThinkLink.&lt;/p&gt;

&lt;p&gt;🔍 Common Issues &amp;amp; Troubleshooting&lt;br&gt;
Problem Solution&lt;/p&gt;

&lt;p&gt;❌ UG56 cannot reach TKE132&lt;/p&gt;

&lt;p&gt;➜ Verify IP and ping test; check firewall allows UDP port 1770&lt;/p&gt;

&lt;p&gt;❌ Gateway not appearing online&lt;/p&gt;

&lt;p&gt;➜ Confirm correct EUI and type=&lt;code&gt;GWMP&lt;/code&gt; in whitelist&lt;/p&gt;

&lt;p&gt;❌ WS101 fails to join&lt;/p&gt;

&lt;p&gt;➜ Double-check app_key, devEUI, region, and join mode&lt;/p&gt;

&lt;p&gt;❌ No decoded data shows up&lt;/p&gt;

&lt;p&gt;➜ Ensure thing model is mounted and decoder script is correctly pasted&lt;/p&gt;

&lt;p&gt;❓ Uncertain about signal quality&lt;/p&gt;

&lt;p&gt;➜ Temporarily bring WS101 closer to UG56&lt;/p&gt;

&lt;p&gt;💡 Tip: Always validate configurations at each stage before moving forward.&lt;/p&gt;

&lt;p&gt;🚀 Why This Integration Matters&lt;br&gt;
This workflow demonstrates how Manthink ThinkLink Edge (TKE132) provides vendor-agnostic LoRaWAN infrastructure support:&lt;/p&gt;

&lt;p&gt;Accepts any LoRaWAN gateway via Semtech GWMP&lt;br&gt;
Supports any sensor with customizable payload decoders&lt;br&gt;
Integrates natively with BACnet, Home Assistant, ThingsBoard CE&lt;br&gt;
Delivers enterprise-grade security, scalability, and edge autonomy&lt;br&gt;
It’s ideal for integrators, system builders, and facility managers who demand interoperability without lock-in.&lt;/p&gt;

&lt;p&gt;🌐 Ready to Try It Yourself?&lt;br&gt;
🔌 ThinkLink — An open, flexible LoRaWAN application platform that supports any global-standard LoRaWAN device and enables seamless integration with BACnet, Home Assistant, and ThingsBoard.&lt;/p&gt;

&lt;p&gt;✨ Available in two versions:&lt;/p&gt;

&lt;p&gt;☁️ Cloud Version:&lt;br&gt;
Free forever for up to 1,000 devices&lt;br&gt;
👉 &lt;a href="https://thinklink.manthink.cn" rel="noopener noreferrer"&gt;https://thinklink.manthink.cn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📦 Edge Version (TKE13x):&lt;br&gt;
Self-hosted, high-performance edge appliance for large-scale deployments&lt;br&gt;
Supports 1,000+ devices with local processing&lt;/p&gt;

&lt;p&gt;📘 Learn more about our products:&lt;br&gt;
🔗 &lt;a href="https://www.manthink.cn" rel="noopener noreferrer"&gt;https://www.manthink.cn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📱 Explore product lines:&lt;/p&gt;

&lt;p&gt;📶 LoRaWAN Outdoor Gateway: GDO51 Series&lt;br&gt;
📦 DTU Solutions: KC21 / KS31 / KS32&lt;br&gt;
🌡️ Environmental Sensors: Temp &amp;amp; Humidity, IAQ Sensor&lt;br&gt;
⚙️ NS Platform: ThinkLink&lt;/p&gt;

</description>
      <category>manthink</category>
      <category>tkl</category>
      <category>milesight</category>
    </item>
    <item>
      <title>LoRaWAN Made Smarter: Manthink’s EB Cloud Compiler Is Live!</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Wed, 22 Oct 2025 22:29:48 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/lorawan-made-smarter-manthinks-eb-cloud-compiler-is-live-38oo</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/lorawan-made-smarter-manthinks-eb-cloud-compiler-is-live-38oo</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60hq2h26he795teveh5d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F60hq2h26he795teveh5d.png" alt=" " width="800" height="431"&gt;&lt;/a&gt;&lt;br&gt;
We’re excited to announce the launch of the cloud compiler for EdgeBus (EB) — a game-changer for LoRaWAN development. This leap brings us one step closer to fully automated protocol adaptation with AI-powered MCP + documentation generation.&lt;/p&gt;

&lt;p&gt;So, what is EdgeBus (EB)?&lt;/p&gt;

&lt;p&gt;Developed by Manthink, EB is a lightweight, LoRaWAN-optimized virtual machine running on MCU-level devices. Built for ultra-low-power IoT applications, it uses JavaScript to define data collection and upload tasks via an event-driven model. The best part? These scripts run in under 1KB of memory, making over-the-air (FUOTA) updates for new protocols not just possible — but effortless.&lt;/p&gt;

&lt;p&gt;💡 Why developers love EB:&lt;/p&gt;

&lt;p&gt;✅ Supports 200+ RS-485 protocols (and growing!)&lt;br&gt;
✅ Enables COV (Change of Value), battery monitoring, timeout alerts, and on-chip temperature reporting&lt;br&gt;
✅ KC22 DTU supports external power output (5.9V/15V)&lt;br&gt;
✅ Cloud &amp;amp; offline compilation supported — same SDK as our open-source GitHub repo&lt;br&gt;
✅ Extremely low entry barrier: only basic JavaScript knowledge required&lt;br&gt;
With 7 years of field validation across global deployments, EB has proven its reliability in real-world smart metering, building automation, and industrial monitoring systems.&lt;/p&gt;

&lt;p&gt;Now, the new EB Cloud Compiler simplifies development even further — paving the way for future AI-assisted auto-compilation and intelligent device onboarding.&lt;/p&gt;

&lt;p&gt;🔧 Try it today and experience faster, smarter LoRaWAN integration:&lt;br&gt;
👉 &lt;a href="https://thinklink.manthink.cn" rel="noopener noreferrer"&gt;https://thinklink.manthink.cn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📂 SDK on GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ManThink/TKL-EB-SDK" rel="noopener noreferrer"&gt;https://github.com/ManThink/TKL-EB-SDK&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📘 User Guide:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mensikeji.yuque.com/staff-zesscp/gqdw7f/trz8i5b7iddrug10?singleDoc#" rel="noopener noreferrer"&gt;https://mensikeji.yuque.com/staff-zesscp/gqdw7f/trz8i5b7iddrug10?singleDoc#&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thinklink: An open LoRaWAN application platform that accepts global standard devices from any brand.&lt;/p&gt;

&lt;p&gt;☁️ Cloud Version: Free forever for up to 1,000 devices → &lt;a href="https://thinklink.manthink.cn" rel="noopener noreferrer"&gt;https://thinklink.manthink.cn&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📍 Edge Version: Low-cost, on-premise deployment with support for 1,000 device connections&lt;/p&gt;

&lt;p&gt;🌐 Learn more: &lt;a href="https://www.manthink.cn" rel="noopener noreferrer"&gt;https://www.manthink.cn&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  LoRa #LoRaWAN #IoT #EdgeComputing #SmartCities #IIoT #OpenSource #JavaScript #Firmware #CloudCompiler #MCP #Manthink #Thinklink #DTU #Gateway #LowPowerIoT #BACnet #HomeAssistant #ThingsBoard
&lt;/h1&gt;

</description>
      <category>edgebus</category>
      <category>manthink</category>
      <category>tkl</category>
    </item>
    <item>
      <title>Introduction of LoRaWAN Gateway with Integrated NS</title>
      <dc:creator>zhao mingfei</dc:creator>
      <pubDate>Wed, 22 Oct 2025 12:34:25 +0000</pubDate>
      <link>https://dev.to/zhao_mingfei_8d86042f64c2/introduction-of-lorawan-gateway-with-integrated-ns-475i</link>
      <guid>https://dev.to/zhao_mingfei_8d86042f64c2/introduction-of-lorawan-gateway-with-integrated-ns-475i</guid>
      <description>&lt;p&gt;In the early days of LoRaWAN, integrating a Network Server (NS) directly into the gateway seemed like a smart shortcut — reducing complexity and cost for small-scale deployments. After all, the NS is the brain of any LoRaWAN network, responsible for device management, data routing, security, and resource allocation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favvqz2w1jx0fs9hn2smw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Favvqz2w1jx0fs9hn2smw.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✅ Where Gateway-Integrated NS Still Makes Sense&lt;/p&gt;

&lt;p&gt;There are scenarios where embedding NS into the gateway works:&lt;/p&gt;

&lt;p&gt;Rapid prototyping: For initial testing or proof-of-concept projects, an integrated NS eliminates the need to set up cloud infrastructure.&lt;br&gt;
Offline or remote areas: In locations with poor internet connectivity, local NS operation ensures network functionality without cloud dependency.&lt;br&gt;
Local data processing needs: Some applications require low-latency edge responses or avoid sending sensitive data to the cloud.&lt;br&gt;
The Limitations of Built-in NS&lt;br&gt;
As IoT scales, so do its challenges. Here’s why gateway-integrated NS is falling behind:&lt;/p&gt;

&lt;p&gt;No Multi-Gateway Roaming&lt;br&gt;
Each gateway operates in isolation. Devices can’t roam seamlessly between gateways — critical for reliable coverage in industrial or city-wide deployments.&lt;br&gt;
Limited Capacity&lt;br&gt;
Most embedded NS solutions support only 20–100 devices. Hardly enough for real-world deployments beyond lab experiments.&lt;br&gt;
Feature Gaps&lt;br&gt;
Missing essential capabilities: advanced security (end-to-end encryption), dynamic frequency planning, OTA updates, rule engines, and integration with BACnet, Home Assistant, etc.&lt;br&gt;
Poor Scalability &amp;amp; Maintenance&lt;br&gt;
Adding more gateways means fragmented networks. No centralized view = harder troubleshooting, upgrades, and analytics.&lt;br&gt;
Data Silos&lt;br&gt;
With each gateway storing data separately, aggregating insights across sites becomes nearly impossible — a major roadblock for enterprise adoption.&lt;br&gt;
💡 The Better Alternative: Edge-Based NS Like ThinkLink Edge&lt;br&gt;
Enter ThinkLink Edge by Manthink, a game-changer for cost-effective yet powerful LoRaWAN deployment.&lt;/p&gt;

&lt;p&gt;ThinkLink Edge runs on dedicated edge hardware (8-core CPU, 8GB RAM) with:&lt;/p&gt;

&lt;p&gt;Full support for global LoRaWAN standards&lt;br&gt;
Support for up to 1,000 devices per instance&lt;br&gt;
Pre-installed open-source platforms: Home Assistant, ThingsBoard CE&lt;br&gt;
Native integration with BACnet, MQTT, HTTP APIs&lt;br&gt;
Powerful rule engine and centralized dashboard&lt;br&gt;
And the best part? You get enterprise-grade NS features at just ~$290 in hardware — far cheaper and more capable than stacking multiple NS-enabled gateways.&lt;/p&gt;

&lt;p&gt;Now you gain:&lt;br&gt;
✅ Seamless multi-gateway coordination&lt;br&gt;
✅ Centralized device &amp;amp; data management&lt;br&gt;
✅ True scalability without vendor lock-in&lt;br&gt;
✅ Local processing + optional cloud sync&lt;/p&gt;

&lt;p&gt;Thinklink: Open LoRaWAN application platform. Accepts any brand of compliant LoRaWAN devices. Supports BACnet, Home Assistant, ThingsBoard integration.&lt;br&gt;
☁️ Cloud version: Free forever for up to 1,000 devices → &lt;a href="https://thinklink.manthink.cn" rel="noopener noreferrer"&gt;https://thinklink.manthink.cn&lt;/a&gt;&lt;br&gt;
🖥️ Edge version: Low-cost self-hosted solution, supports 1,000+ devices&lt;br&gt;
更多信息: &lt;a href="https://www.manthink.cn" rel="noopener noreferrer"&gt;https://www.manthink.cn&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ns</category>
      <category>lorawan</category>
    </item>
  </channel>
</rss>
