0.2.3 • Published 6 months ago
samsung_mdc v0.2.3
samsung_mdc
this simple tool allows for sending MDC commands to Samsung devices using MDC over tcp
Install using
npm i samsung_mdc
Import into your project by adding:
import Samsung_mdc from './send.js'
Available methods:
call(host, port, hex)
Opens a connection to the device at host
, on port port
, then send the command hex
.
repeat(host, port, hex, interval)
example use of the tool:
import Samsung_mdc from './send.js'
const dev = new Samsung_mdc()
let feedback = dev.call("192.168.10.105", 1515, [0xAA, 0xF9, 0x01, 0x01, 0x01, 0xFC])