From 0766eeda4b74881ce17021e3d8d44d39ae3e99dd Mon Sep 17 00:00:00 2001 From: Christian Zufferey Date: Mon, 17 Feb 2020 08:24:21 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=C3=A9=20la=20variable=20yellow=5Ftag=20qu?= =?UTF-8?q?i=20repr=C3=A9sente=20le=20num=C3=A9ro=20jaune=20coll=C3=A9=20s?= =?UTF-8?q?ur=20le=20NodeMCU,=20plus=20facile=20pour=20retrouver=20le=20po?= =?UTF-8?q?rt=20du=20reverse=20telnet=20;-)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mesures/ADC/ADS1115/0_tst3_socat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mesures/ADC/ADS1115/0_tst3_socat.lua b/Mesures/ADC/ADS1115/0_tst3_socat.lua index f394e9e..8cad210 100644 --- a/Mesures/ADC/ADS1115/0_tst3_socat.lua +++ b/Mesures/ADC/ADS1115/0_tst3_socat.lua @@ -10,7 +10,7 @@ socat TCP-LISTEN:23047,reuseaddr,fork TCP-LISTEN:24047,reuseaddr,bind=127.0.0.1 telnet -r localhost 24047 ]] -print("\n 0_tst3_socat.lua zf200217.0423 \n") +print("\n 0_tst3_socat.lua zf200217.0822 \n") local node, table, tmr, wifi, uwrite, tostring = node, table, tmr, wifi, uart.write, tostring @@ -112,7 +112,7 @@ function rt_connect() telnet_listener(sck) print("Welcome to NodeMCU world.") end) - srv_rt:connect(console_port,console_host) + srv_rt:connect(console_port+yellow_tag,console_host) end tmr_socat1=tmr.create() @@ -123,7 +123,7 @@ tmr_socat1:alarm(3*1000, tmr.ALARM_AUTO , function() else if verbose then gpio.write(zLED, gpio.HIGH) - print("trying connect to "..console_host..":"..console_port) + print("trying connect to "..console_host..":"..console_port+yellow_tag) end rt_connect() end