Simple library to easily communicate with a tp link smart device.
Made possible by this article.
```rust use std::io; use std::net::TcpStream;
use tplinkshomeprotocol::{receivemessage, sendmessage};
fn main() -> io::Result<()> { let stream = TcpStream::connect("192.168.1.1:9999")?; let raw = r#"{"system":{"getsysinfo":{}}}"#; sendmessage(&stream, raw)?; let message = receive_message(&stream)?; ... } ```