I read everywhere something of spark core and terminal connections
but when i try a telnet connection nothing works and no one can help me…
there are no examples in the internet…
I wanted to talk via telnet to the spark core like a wifi uart module:
Example: IP: 192.168.2.100
Port: 85
But i only have the Ip of the Spark Core ! No Port is displayed in the router or my Ip Terminal program.
I only wanted to control the outputs& readInputs of the spark core…
I do not want to communicate about the strange j.son … this is totally awkward
I hope there is a possibility the spark core to control uncomplicated art.
you can write a pseudo telnet server yourself. have a look at the TCPServer docs.
i wrote a basic script that returns the temperature or altitude or humidity based on what keys you send it in about 70 lines of code; and another one that switches the LED on/off based on if you send it a 0 or 1 in about 50 lines.
someone wrote a full telnet server here, but its going to be of limited use as the spark doesn’t have an operating system.
i’ve got to agree the json stuff is a bit too trendy for my liking, i just want to send a command to a port without all that javascript and restful crap.
You can access your device locally via a TCP or UDP port, e.g. a simple telnet server, without using your device id or access token, and you certainly don’t need to use a Java app unless you need to for some reason.