-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
19 lines (19 loc) · 867 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<head>
<title>WebBluetooth Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="public/style.css" />
</head>
<body>
<button id="connect">Connect with BLE device</button>
<button id="on" disabled>Turn on LED</button>
<button id="off" disabled>Turn off LED</button>
<button id="start" disabled>Start Notifications</button>
<button id="stop" disabled>Stop notifications</button>
<button id="securestart" disabled>Start Secure Notifications</button>
<button id="securestop" disabled>Stop Secure notifications</button>
<div id="result">Console output will be posted here: <br /><br /></div>
<script type="text/javascript" src="public/functions.js"></script>
</body>
</html>