diff --git a/osc.js b/osc.js deleted file mode 100644 index c62cb24..0000000 --- a/osc.js +++ /dev/null @@ -1,32 +0,0 @@ -// const osc = require('osc-min'); -// const dgram = require('dgram'); - -// const oscHost = '192.168.2.1'; // IP address of the OSC destination -// const oscPort = 8080; // Port number of the OSC destination - -// // Function to send the OSC message -// function sendOSCMessage() { -// // Create the OSC message -// const oscMessage = osc.toBuffer({ -// address: '/blink', -// args: [1] -// }); - -// // Create a UDP socket -// const udpSocket = dgram.createSocket('udp4'); - -// // Send the OSC message -// udpSocket.send(oscMessage, 0, oscMessage.length, oscPort, oscHost, (err) => { -// if (err) { -// console.error('Error sending OSC message:', err); -// } else { -// console.log('OSC message sent successfully'); -// } - -// // Close the UDP socket -// udpSocket.close(); -// }); -// } - -// // Call the function to send the OSC message -// sendOSCMessage(); diff --git a/public/audio/idk.mp3 b/public/audio/idk.mp3 deleted file mode 100644 index 71340f6..0000000 Binary files a/public/audio/idk.mp3 and /dev/null differ diff --git a/public/audio/loc1.WAV b/public/audio/loc1.WAV deleted file mode 100644 index dbfb6a2..0000000 Binary files a/public/audio/loc1.WAV and /dev/null differ diff --git a/public/audio/loc2.WAV b/public/audio/loc2.WAV deleted file mode 100644 index 320bb6f..0000000 Binary files a/public/audio/loc2.WAV and /dev/null differ diff --git a/public/audio/loc3.wav b/public/audio/loc3.wav deleted file mode 100644 index 966de92..0000000 Binary files a/public/audio/loc3.wav and /dev/null differ diff --git a/public/audio/loc4.wav b/public/audio/loc4.wav deleted file mode 100644 index 3dbf82c..0000000 Binary files a/public/audio/loc4.wav and /dev/null differ diff --git a/public/audio/loc5.wav b/public/audio/loc5.wav deleted file mode 100644 index 7c3d102..0000000 Binary files a/public/audio/loc5.wav and /dev/null differ diff --git a/public/expo.html b/public/expo.html deleted file mode 100644 index 7530dcf..0000000 --- a/public/expo.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - control room - - - - - - - - - - - - - - - - - -
-
-
- 70% -

DISTANCE: 0 km

- -
- -

- STATUS: - detecting.... -

- - -
-
- -
- 70% -

DISTANCE: 0 km

-

STATUS: - detecting.... -

- -
-
- 70% -

DISTANCE: 0 km

-

STATUS: - detecting.... -

- -
-
-
-
- 70% -

DISTANCE: 0 km


-

STATUS: - detecting.... -

-
-
- 70% -

DISTANCE: 0 km

-

STATUS: - detecting.... -

- -
-
- 70% -

DISTANCE: 0 km

-

STATUS: - detecting.... -

-
-
-
- - - - diff --git a/public/img/868.png b/public/img/868.png deleted file mode 100644 index 3635d27..0000000 Binary files a/public/img/868.png and /dev/null differ diff --git a/public/img/abstract_map.png b/public/img/abstract_map.png deleted file mode 100644 index 8467bea..0000000 Binary files a/public/img/abstract_map.png and /dev/null differ diff --git a/public/img/bg.m4v b/public/img/bg.m4v deleted file mode 100644 index 427156c..0000000 Binary files a/public/img/bg.m4v and /dev/null differ diff --git a/public/img/favicon.ico b/public/img/favicon.ico deleted file mode 100644 index 21592e1..0000000 Binary files a/public/img/favicon.ico and /dev/null differ diff --git a/public/img/map-markers.png b/public/img/map-markers.png deleted file mode 100644 index cbd57ce..0000000 Binary files a/public/img/map-markers.png and /dev/null differ diff --git a/public/img/map-markers.svg b/public/img/map-markers.svg deleted file mode 100644 index 4e3cca5..0000000 --- a/public/img/map-markers.svg +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/img/map.png b/public/img/map.png deleted file mode 100644 index 2ee5f96..0000000 Binary files a/public/img/map.png and /dev/null differ diff --git a/public/index.html b/public/index.html index adce75e..e03da63 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,7 @@ - 868mhz.net + eixogen @@ -34,6 +34,8 @@ document.body.style.backgroundColor = rgb(26, 26, 26); } }); + + //testing socket message from textinput field to arduino function sendMessage() { const inputField = document.getElementById('input'); const message = inputField.value; @@ -48,9 +50,9 @@ - - - + + +
@@ -111,7 +113,7 @@ ↪ log
- +

LOG 1 03:02:00 02-04-22 PORT: 9.1.13.

@@ -173,7 +175,7 @@ function checkLevel(){ console.log(localStorage.getItem('gateway')); - + if (localStorage.getItem("gateway")!==null){ if(localStorage.getItem("gateway") == "1") {