config.json
file according to your environment.
Two templates, config-template-firebase.json
and config-template-kii.json
, are available in the same directory.
KiiSDK.min.js
under the same directory.
device.html
on your IoT device,
e.g. any smartphone with camera (for the "Simple remote camera" sample app),
a CHIRIMEN board (for the "LED blinking with CHIRIMEN" sample app).
new MozActivity({ name: 'view', data: { type: 'url', url: '(URL of the web app)'}});
index.html
on your smartphone or tablet.
Note: The "Simple remote camera" sample app requires WebRTC compatibility at both IoT device and web browser.
device.html
),
its screen will show a QR code representing a controller URL.
index.html
),
the device and the smartphone's web app will automatically establish pairing between them.
device.html
),
it will start waiting for pairing request with a passcode.
chirimen
, which is defined as passcode in device.js
.index.html
) and input CHIRIMEN's passcode on the web app,
pairing between the board and the smartphone will be established, and the web app will show controller UIs.
For further information about web app implementation and hardware prototyping using CHIRIMEN, please refer to CHIRIMEN repositories on GitHub.