Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Hello World!"...And That's It. #2

Open
Danc2050 opened this issue Dec 12, 2024 · 0 comments
Open

"Hello World!"...And That's It. #2

Danc2050 opened this issue Dec 12, 2024 · 0 comments

Comments

@Danc2050
Copy link

I:

  • downloaded the project.
  • Set the module
  • Ran on my phone (Google Pixel 9 Pro)

And all I get is a "Hello World!"

Furthermore, the scan is at the bottom of the Main:

But curiously the check for the scan results are north of this:

uwbManager.uwbDevices.onEach { scanResult ->
when (scanResult) {
is EstimoteUWBScanResult.Devices -> {
Log.i("UWB", "Found ${scanResult.devices.size} UWB Beacons")
if (!isConnected) {
job = lifecycleScope.launch {
scanResult.devices.first().device?.let { beacon ->
uwbManager.connectSuspend(beacon, this@MainActivity)
isConnected = true
}
}
}
}
is EstimoteUWBScanResult.Error -> {
Log.e("UWB", "Error: ${scanResult.errorCode}")
}
EstimoteUWBScanResult.ScanNotStarted -> {
Log.i("UWB", "Error: scan not started")
}
}

Even moving the scan upwards doesn't do anything. And I can't debug because I cannot view the SDK code, otherwise I would have submitted a PR.

Does this product or any code actually work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant