- Finish work, committing all changes. Check you've got no uncommitted changes before following this list:
git status
- Merge any remote changes to master:
git pull
- Run the tests to ensure you're not releasing broken functionality:
git status
git pull
const WebSocket = require('ws'); | |
// Turns out you don't need to dump packets at all - you don't even need a valid API key or device ID when it's in LAN mode. | |
// All you need to know is the IP address of the device, as it happily accepts WebSocket messages with any string as the "apikey". | |
const IPADDRESS = '192.168.0.72'; | |
const seq = () => String(Date.now()); | |
const ws = new WebSocket('ws://' + IPADDRESS + ':8081', [ 'chat' ]); | |
const nonce = 'nonce'; |