├── boards └── arm │ └── mdek1001 │ ├── board.h │ ├── Kconfig.board │ ├── board.cmake │ ├── Kconfig.defconfig │ ├── mdek1001.yaml │ ├── Kconfig │ ├── mdek1001_defconfig │ └── mdek1001.dts ├── border-router ├── Pages │ ├── _ViewStart.cshtml │ ├── _ViewImports.cshtml │ ├── Privacy.cshtml │ ├── Shared │ │ ├── _ValidationScriptsPartial.cshtml │ │ └── _Layout.cshtml │ ├── Index.cshtml │ ├── Reports.cshtml │ ├── Index.cshtml.cs │ ├── Privacy.cshtml.cs │ ├── Devices.cshtml.cs │ ├── Reports.cshtml.cs │ ├── Devices.cshtml │ ├── Error.cshtml.cs │ └── Error.cshtml ├── wwwroot │ └── favicon.ico ├── publish.bat ├── appsettings.json ├── appsettings.Development.json ├── libman.json ├── web │ ├── js │ │ ├── site.js │ │ ├── reports.js │ │ └── index.js │ └── css │ │ └── site.css ├── package.json ├── Properties │ └── launchSettings.json ├── webpack.config.js ├── Hubs.cs ├── hyperspace-border-router.csproj ├── DbContext.cs ├── Program.cs └── MulticastTestService.cs ├── app-ios ├── hyperspace │ ├── Experience.rcproject │ │ ├── Library │ │ │ └── ProjectLibrary │ │ │ │ ├── Contents.json │ │ │ │ └── Version.json │ │ ├── SceneThumbnails │ │ │ ├── F9610871-0955-494F-A5C3-51D1A281BAB3 │ │ │ └── F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails │ │ │ │ ├── wide │ │ │ │ └── square │ │ └── com.apple.RCFoundation.Project │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── HyperspaceApp.swift │ ├── views │ │ ├── StartupScanningView.swift │ │ ├── NormalView.swift │ │ ├── CrosshairView.swift │ │ └── StartupCalibratingView.swift │ ├── Extensions.swift │ ├── Info.plist │ ├── IndicatorEntity.swift │ └── Models.swift ├── hyperspace.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved ├── hyperspaceTests │ ├── Info.plist │ └── hyperspaceTests.swift └── hyperspaceUITests │ ├── Info.plist │ └── hyperspaceUITests.swift ├── zephyrproject └── .west │ └── config ├── .gitmodules ├── hypertun ├── publish.bat ├── hyperopt │ ├── build.bat │ └── CMakeLists.txt └── hypertun.csproj ├── bootloader ├── build-bootloader.cmd └── readme.txt ├── fw_version.cmd ├── toolchain.rpi.cmake ├── toolchain.gnuarmemb.cmake ├── common ├── iir.c ├── coap_test.h ├── backoff.c ├── bayesian.c ├── spis_if.h ├── iir.h ├── bayesian.h ├── backoff.h ├── spim.h ├── hyperspace.h ├── location.h └── timeslot.h ├── mesh-beacon ├── coap_server.h ├── fw_version.h ├── prj.conf └── CMakeLists.txt ├── mesh-root ├── coap_server.h ├── fw_version.h ├── prj.conf └── CMakeLists.txt ├── mesh-nonbeacon ├── fw_version.h ├── prj.conf └── CMakeLists.txt ├── mesh-beacon-test ├── fw_version.h ├── prj.conf └── CMakeLists.txt ├── .gitignore ├── .vscode └── tasks.json ├── docs ├── optim.svg ├── octahedron.svg ├── optim2.svg ├── error-handling.md └── toa2.svg └── config.h /boards/arm/mdek1001/board.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /border-router/Pages/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "_Layout"; 3 | } 4 | -------------------------------------------------------------------------------- /app-ios/hyperspace/Experience.rcproject/Library/ProjectLibrary/Contents.json: -------------------------------------------------------------------------------- 1 | [ 2 | 3 | ] -------------------------------------------------------------------------------- /zephyrproject/.west/config: -------------------------------------------------------------------------------- 1 | [manifest] 2 | path = zephyr 3 | [zephyr] 4 | base = zephyr 5 | -------------------------------------------------------------------------------- /boards/arm/mdek1001/Kconfig.board: -------------------------------------------------------------------------------- 1 | config BOARD_MDEK1001 2 | bool "Decawave MDEK1001" 3 | depends on SOC_NRF52832_QFAA 4 | -------------------------------------------------------------------------------- /border-router/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kurthildebrand/hyperspace/HEAD/border-router/wwwroot/favicon.ico -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mistlib"] 2 | path = mistlib 3 | url = https://github.com/kurthildebrand/mistlib.git 4 | branch = master 5 | -------------------------------------------------------------------------------- /app-ios/hyperspace/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /border-router/Pages/_ViewImports.cshtml: -------------------------------------------------------------------------------- 1 | @using Hyperspace 2 | @namespace Hyperspace.Pages 3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers 4 | -------------------------------------------------------------------------------- /app-ios/hyperspace/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /boards/arm/mdek1001/board.cmake: -------------------------------------------------------------------------------- 1 | board_runner_args(jlink "--device=nrf52" "--speed=4000") 2 | 3 | include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) 4 | -------------------------------------------------------------------------------- /app-ios/hyperspace/Experience.rcproject/Library/ProjectLibrary/Version.json: -------------------------------------------------------------------------------- 1 | { 2 | "LibraryID" : "BBB5EDD2-CBE1-49E5-931D-2C81F724D19D", 3 | "Version" : "1.0" 4 | } -------------------------------------------------------------------------------- /boards/arm/mdek1001/Kconfig.defconfig: -------------------------------------------------------------------------------- 1 | if BOARD_MDEK1001 2 | 3 | config BOARD 4 | default "mdek1001" 5 | 6 | config BT_CTLR 7 | default BT 8 | 9 | endif # BOARD_MDEK1001 10 | -------------------------------------------------------------------------------- /hypertun/publish.bat: -------------------------------------------------------------------------------- 1 | dotnet publish -r linux-arm --self-contained false 2 | wsl rsync -avh ./bin/Debug/net6.0/linux-arm/publish/ pi@raspberrypi:/home/pi/hyperspace/hypertun --delete 3 | -------------------------------------------------------------------------------- /border-router/Pages/Privacy.cshtml: -------------------------------------------------------------------------------- 1 | @page 2 | @model PrivacyModel 3 | @{ 4 | ViewData["Title"] = "Privacy Policy"; 5 | } 6 |
Use this page to detail your site's privacy policy.
9 | -------------------------------------------------------------------------------- /app-ios/hyperspace.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 |The time on the server is @DateTime.Now
10 || IP Address | 16 |Last Updated | 17 |Location | 18 |Report | 19 |
|---|
| IP Address | 17 |Last Updated | 18 |R | 19 |T | 20 |Sequence | 21 |22 | |
|---|
13 | Request ID: @Model.RequestId
14 |
19 | Swapping to the Development environment displays detailed information about the error that occurred. 20 |
21 |22 | The Development environment shouldn't be enabled for deployed applications. 23 | It can result in displaying sensitive information from exceptions to end users. 24 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 25 | and restarting the app. 26 |
27 | -------------------------------------------------------------------------------- /hypertun/hypertun.csproj: -------------------------------------------------------------------------------- 1 |
41 |
42 |
43 | Example of large error. Beacon 4 has moved and reports a far away location. Beacons 0,1,2,3 recognize that 4’s location is not within the local neighborhood and ignore beacon 4. Beacon 4 recognizes that it has an inconsistent location by determining that the majority of its neighbors now report a non-local neighborhood. Beacon 4 must recalculate it’s location. Non-local beacons are beacons roughly outside the indicated circle.
44 |
51 |
52 |
53 | Example of small error. Beacon 1’s actual location is >0.3 from it’s reported location. Beacons 0,2,3 ignore Beacon 1.
54 |
60 |
61 |
62 | Dilution of precision. Notice that the intersection of the two noisy hyperbolas is larger on the right. In practice, DOP is more extreme than illustrated in this example to the point that location cannot be computed outside an area bounded by beacons. (Left) Accurate location measurement. Node 4 is inside the area bounded by beacons 0,1,2,3. (Right) Inaccurate location measurement. Node 4 is outside the area bounded by beacons 0,1,2,3.
63 |