smrtnt / Arilux_AL-LC0X

Alternative firmware for Arilux AL-LC0X LED controllers, based on the MQTT protocol and a TLS connection
MIT License
190 stars 33 forks source link

Can't make debugging over telnet working #34

Open papaiatis opened 6 years ago

papaiatis commented 6 years ago

I need some help with DEBUG_TELNET.

  1. I enabled it in config.h and uploaded the new firmware.
  2. Checked the IP address of the device in my router's DHCP list
  3. Ran nmap on the IP address, it showed port 23 open
  4. Ran telnet 192.168.1.73 from my RPi which showed Connected
  5. Waited for any new message to arrive but nothing showed up
  6. Closed telnet connection and tried it again but this time it got disconnected immeditely by Connection closed by foreign host

So for me it looks like the debugging over telnet isn't really working. Any help would be great!

oglodyte commented 6 years ago

It is kind of works for me. Got debug messages, but it kills it if occasionally sending something to telnet session. It slows down, stops reacting to MQTT commands, tries to print error and closes connection, so I get something like: ERROR: TConnection closed by foreign host.