This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 2.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Niimbot web Bluetooth terminal</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="static/style.css">
<link rel="shortcut icon" href="static/icon.svg" type="image/svg">
</head>
<body>
<div class="container">
<h1>Niimbot web Bluetooth terminal</h1>
<div class="row mb-3">
<div class="col">
<button class="btn btn-primary btn-sm connect">Connect</button>
<button class="btn btn-primary btn-sm disconnect" disabled>Disconnect</button>
</div>
</div>
<div class="row mb-3">
<div class="col">
<pre class="logger p-2 border"></pre>
<div class="input-group input-group-sm">
<input type="text" class="form-control hex-command" placeholder="Data (hex)" disabled>
<button class="btn btn-primary btn-sm send-hex" type="button" disabled>Send</button>
</div>
</div>
</div>
<div class="row">
<div class="col text-secondary">
Examples:
<ul>
<li><strong>55 55 40 01 0b 4a aa aa</strong> - get device serial number</li>
<li><strong>55 55 1a 01 01 1a aa aa</strong> - get rfid data</li>
<li><strong>55 55 58 03 01 01 01 5a aa aa</strong> - enable Bluetooth connection sound</li>
<li><strong>55 55 58 03 01 01 00 5b aa aa</strong> - disable Bluetooth connection sound</li>
</ul>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="static/niimbot-web-terminal.js"></script>
</body>
</html>