Post marked as unsolved
454
Views
Will the apple have the plan to support or interact with other UWB DEVICES ? for example iphone 11 can measure the distance between iphone 11 and other brand of UWB devices or third-party UWB devices ,
BECAUSE IF APPLE HAS the SUPPORT OF THE API FOR U1 chip OR IPHONE 11 TO INTERACT OR MEASURE THE DISTANCE WITH OTHER BRAND OF UWB DEVICES THAN ONLY IPHONE11 OR APPLE AIRTAG , I REALLY THINK THE APPLE DEVELOPERs WILL BE ABLE TO CREATE MANY OF CREATIVE APPs more and more ,when the apple allow the iphone 11 interact with other brand UWB THAN ONLY iphone 11 or apple airtag or only apple products
I meant i just want to measure the distance between iphone 11 and the UWB anchor ( UWB arduino device ) or other brand of UWB anchor or many of various UWB- IoT devices
I AM ONE OF APP DEVELOPERS , I PERSONALLY ASK THE APPLE TO CREATE THE UWB API THAT ALLOW THE IPHONE 11 INTERACT OR MEASURE THE DISTANCE BETWEEN IPHONE 11 AND OTHER BRAND OF UWB DEVICES OR ANCHOR AS ARDUINO
so will the apple have the plan to support or interact with other UWB DEVICES soon ? when ?
Post marked as unsolved
109
Views
Hi, does anyone know when Nearby Interactions will be supported on WatchOS for the series 6 device?
Best - Wes
Post marked as unsolved
247
Views
As noted on the comparison page for Apple Watch - Series 6 - https://www.apple.com/watch/compare/, the U1 chip (Ultra Wideband) is a feature of the Apple Watch - Series 6. The WWDC 2020 session, Meet Nearby Interaction - https://developer.apple.com/videos/play/wwdc2020/10668/, does imply that this functionality exists on devices with a U1 chip, though the NearbyInteraction framework appears unavailable in watchOS.
Can anyone confirm whether NearbyInteraction is available for watchOS?
Post marked as unsolved
113
Views
I have done code for reading QR code but it sometimes does not read certain types of QR code.
IOS and google chrome is able to read codes no matter how they are, how to get the same kind of functionality...
output.setMetadataObjectsDelegate(self, queue: DispatchQueue.main)
output.metadataObjectTypes = [
	 AVMetadataObject.ObjectType.qr,			
	 AVMetadataObject.ObjectType.dataMatrix
]
code that I used for reading QR code as follows
class ViewController: UIViewController, AVCaptureMetadataOutputObjectsDelegate {
var video = AVCaptureVideoPreviewLayer()
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
//create session
let session = AVCaptureSession()
//Define capture device
let captureDevice = AVCaptureDevice.default(for: AVMediaType.video)
do
{
let input = try AVCaptureDeviceInput(device: captureDevice!)
session.addInput(input)
}
catch
{
print("ERROR")
}
let output = AVCaptureMetadataOutput()
session.addOutput(output)
output.setMetadataObjectsDelegate(self, queue: DispatchQueue.main)
output.metadataObjectTypes = [AVMetadataObject.ObjectType.qr, AVMetadataObject.ObjectType.dataMatrix]
video = AVCaptureVideoPreviewLayer(session: session)
video.frame = view.layer.bounds
view.layer.addSublayer(video)
session.startRunning()
}
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
if metadataObjects != nil && metadataObjects.count != nil {
if let object = metadataObjects.first as? AVMetadataMachineReadableCodeObject {
// if let object = metadataObjects[0] as? AVMetadataMachineReadableCodeObject {
if object.type == AVMetadataObject.ObjectType.qr {
let alert = UIAlertController(title: "QR code", message: object.stringValue, preferredStyle: UIAlertController.Style.alert)
alert.addAction(UIAlertAction(title: "Retake", style: UIAlertAction.Style.default, handler: nil))
alert.addAction(UIAlertAction(title: "Copy", style: UIAlertAction.Style.default, handler: { (nil) in
UIPasteboard.general.string = object.stringValue
}))
self.present(alert, animated: true, completion: nil)
}
}
}
}
}
Post marked as unsolved
201
Views
I want to develop a demo of uwb which can be run across multiple iPhones. In the video of WWDC it is said that for each device, a distinctive NISession is needed. I tried to generate two different NISessions, but I found that the discoveryToken for each session is different. That made me confused because I thought each device should have only one single token. Can anyone tell me how to manage multiple UWB connections at the same time? Thanks in advance.
Post marked as unsolved
194
Views
I am excited to begin writing apps using Nearby Interaction between iPhones and the Apple Watch, and I see that the Apple Watch Series 6 includes the U1 chip, but there doesn't seem to be any Watch OS support.
I don't expect the full Nearby Interaction Framework to be available on Watch OS, but it at least needs to be able to generate a discoveryToken so that the iPhone app can detect it. Am I missing a way to do this, or is this reserved for a future Watch OS version?
Thanks,
Chris
Post marked as unsolved
306
Views
I used NIPeekaboo to check whether the Nearby Interaction connection is working or not in IOS14.2 beta.
However, I couldn't get the monkey display and the distance after running app on the device. Instead, I got these errors that show the connection fail.
2020-07-08 17:32:03.474255+0900 NIPeekaboo[554:71895] libMobileGestalt MobileGestaltCache.c:166: Cache loaded with 4563 pre-cached in CacheData and 52 items in CacheExtra.
2020-07-08 17:32:57.357895+0900 NIPeekaboo[554:71893] [connection] nwresolverstartquerytimerblockinvoke [C1.3] Query fired: did not receive all answers in time for 5fca9e54-f977-49da-95b7-6e0fdf450d26.local.:50270@awdl0
2020-07-08 17:33:05.894152+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [0].
2020-07-08 17:33:05.905915+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [1].
2020-07-08 17:33:05.915488+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [2].
2020-07-08 17:33:05.922042+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [3].
2020-07-08 17:33:05.927487+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [6].
2020-07-08 17:33:05.931903+0900 NIPeekaboo[554:71993] [GCKSession] Not in connected state, so giving up for participant [735EC744] on channel [7].
The process that I did to check the connection was: ran NIPeekaboo in two different devices.
got a pop up permission prompt for finding nearby devices and selected 'Allow Once'.
Text on the middle of the black screen turned to the name of the other device (but still couldn't get the monkey and the distance)
Waited about few seconds and the text on the middle changed to 'peer timeout'.
I want to know why the NI connection was failed.
Moreover, is there anything that I need to fix in the code or that I need to set before doing the test?
Post marked as unsolved
191
Views
Hi,
After WWDC20, I see an amazing framework : Nearby Interaction.
But when I try to download the project from : https://developer.apple.com/documentation/nearbyinteraction
It works on stimulator but on real device, it can exchange the token but I can see that the delegate :
func session(_ session: NISession, didUpdate nearbyObjects: [NINearbyObject])
never call at all. Both my iPhone are 11.
Please help.
Post marked as unsolved
85
Views
Due to home working being more prevalent. I have a work macbook pro that I have to deal with on a daily basis and my posture back legs and neck are suffering. I have an imac redundant for work efforts because of security reasons as I work for a financial institution. I would like to see apple re-enable screen sharing between macbook pros and imacs so we can take use of the screen through work and sit more comfortably, work more comfortably and feel like the investment we made in this device more fully encompasses our needs. Please add humanitarianism to your list of tags, gratefully yours an apple consumer who still can't get you to release a device of mine that I can prove I bought that my ex partner has logged into. Even though it has never left my house without my own Apple ID. And you won't help me to to unlock it. I have a number of gripes but these I think are eloquently put and would be grateful of sufficient response.
Post marked as unsolved
149
Views
Are there any rule-of-thumb accuracy specifications we can use to plan our Nearby Interaction apps? For example, in ideal cases (phones are facing each other with clear line of sight), what sort of distance measurement accuracy can we expect?
What about the refresh rate for position updates? 10Hz?
Similarly, when conditions are less than ideal (for example, devices are not facing each other in the antennas beam pattern), does the distance accuracy degrade significantly? I know we'll lose the direction vector.
Thanks!
Post marked as unsolved
97
Views
Is there any chance we could join a 1-on-1 Lab with the Nearby Interaction team tomorrow sometime? It looks like there are none listed on Friday. We were suggested to look into Nearby Interaction during our 1-on-1 with the CarPlay team toady -we have a navigation app with cool safety alerts. I totally understand that this is a last minute request. And thanks for your help!
Post marked as solved
191
Views
The sample code provided only allows a connection of up to one other device. I was wondering how would one create multiple sessions in Swift, how to handle different devices and their inputs, and how many sessions is the U1 chip capable of handling. Thank you!
Post marked as unsolved
100
Views
Hi
I want to work on a feature which can be used in a ride hailing app where the customer (using the customer app) and rider (using the rider app) can see how far they are from each other.
The potential is that these are 2 different apps with 2 different bundle ID’s. Is it possible to use this API for this use case?
Post marked as unsolved
300
Views
Will this API also support other UWB devices other than iPhones, for example interact with an IoT device that has a UWB - Decawave DW3000 chip for IoT applications.
Post marked as unsolved
143
Views
Is it possible like with some android phones, to wake the iPhone up by hovering hand over the phone's screen?
Thanks.