Skip to main content

Wireless development

Wireless development isn't available yet. Hot reload (kog dev) and app installs (kog deploy) reach a board over USB serial only. A network (Wi-Fi/mDNS) hot-reload path is deferred, not shipped (spec/08).

What Wi-Fi on the device is for​

Wi-Fi on a Kog board is for your app's own networking: fetch, WebSocket, and the WiFi global. It isn't a code-push channel. To give a board network credentials:

npm run wifi # kog wifi: writes Wi-Fi credentials to the board over USB, then resets it

kog flash also writes any credentials you've set under network.wifi in kog.config.ts. See Wi-Fi for the details.

Today's loop​

npm run dev # hot-reload the simulator and a USB-connected board
npm run deploy # install the app on the USB-connected board as its standalone app

Deploys use the same mechanism as OTA updates: a staged write, an integrity check, and a trial boot before the new bundle is promoted.