Nearby Interaction

RSS for tag

Locate and interact with nearby devices using distance, direction, and identifier.

Posts under Nearby Interaction tag

130 Posts

Post

Replies

Boosts

Views

Activity

NearbyInteraction Framework for Multipeer Connectivity with UWB
Hi everyone, I followed https://developer.apple.com/forums/thread/700295 to try to make sure one iPhone could perform UWB ranging with more than iPhone by creating a separate NISession for each phone and storing it in a dictionary, but I have not been able to get distance measurements from more than one phone at the same time. It seems that MPCSession allows all phones to see each other, but when it comes to UWB measurements, only 2 phones are able to exchange distance and angle measurements at the same time. It seems once an NISession starts working, it does not give other NISessions a turn to work. I set the MPC delegate to the same ViewController class, maybe that is the issue, but I have seen that Qorvo also set their Bluetooth connection delegate to the same class, and it works with their DWM3001CDK. Can you please help me make sure that each phone can receive distance and angle updates from multiple phones simultaneously?
0
0
1k
Dec ’23
Creating AR applications using Nearby Interaction and ARkit
Hi, sorry if the sentence is wrong as I am using the translate function. I am looking to create an AR application using Nearby Interaction and ARkit. The devices to be used are iPhone 15pro and apple watch 9. The iPhone implementation will measure the distance to the apple watch while simultaneously using AR to track images. The apple watch implementation will only measure the distance to the iPhone. Is it possible to implement this feature? If you know of any, I would like to know.
0
0
834
Dec ’23
supportsDirectionMeasurement returns false and cant not use SceneKit
Hi everyone, I am trying on iOS 17.1.1 the Nearby Interaction framework and SceneKit. I am testing it on iPhone 15 Pro Max and iPhone 12 Pro Max. if NISession.deviceCapabilities.supportsDirectionMeasurement { print("Interact using device distance and direction.") } else if NISession.deviceCapabilities.supportsPreciseDistanceMeasurement { print("Interact using distance only.") } iPhone 12 Pro Max is working normally, but supportsDirectionMeasurement property in iPhone 15 Pro Max returns false and i cant use the SceneKit. Is anyone experiencing the same issue? Regards, Shin
1
1
1.2k
Nov ’23
Inquiry about Apple's "NearbyInteraction" and Related Patent US10486646B2
Inquiry about Apple's "NearbyInteraction" and Related Patent US10486646B2 Hello, I have questions about Apple's publicly disclosed accessory 'NearbyInteraction' and the associated Apple patent US10486646B2. I understand that pairing is required when using "NearbyInteraction" in the background. However, employing pairing with NearbyInteraction might potentially infringe upon the patent US10486646B2. Could you please clarify whether Apple has implemented any of the following measures, or if there is another strategy or policy in place? No patent licensing agreements exist, and sales of products using UWB in the background by third parties are not permitted. When using NearbyInteraction, patent infringement isn't a concern, and systems using NearbyInteraction aren't considered to infringe upon the patent US10486646B2. It's necessary to apply for a patent licensing agreement. I apologize for any inconvenience, and I would be grateful for a response. Also, if there's a need for any application or process, could you please guide me on how to proceed? Thank you for your attention to this matter.
0
0
869
Sep ’23
UWB develop of Apple Watch
Hello all! We are a small team of smart home. We are preparing to develop third-party UWB applications in Apple Watch, but we have not found any instructional materials related to watch UWB. So i would like to ask if there is any way to get such documents, or guys who have done this kind of development.
0
0
819
Sep ’23
NIErrorCodeInvalidConfiguration error code using the function NINearbyAccessoryConfiguration(Accessory:BluetoothPeerIdentifier)
Ranging is working great when I'm removing the BluetoothPeerIdentifier parameter but if I want to do some background ranging, I need to be able to use the removed parameter. Somehow when I'm both AccessoryData and BluetoothPeerIdentifier parameters, I got the NIErrorCodeInvalidConfiguration error code and i can't range anymore. Do you guys have a fix for that? The parameter BluetoothPeerIdentifier is not NULL so it should work properly... Thank you, Marc
0
0
985
Aug ’23
Developer APIs for AirTag integration in our apps and games?
I'm very excited about the new AirTag product and am wondering if there will be any new APIs introduced in iOS 14.5+ to allow developers to build apps around them outside the context of the Find My network? The contexts in which I am most excited about using AirTags are: Gaming Health / Fitness-focused apps Accessibility features Musical and other creative interactions within apps I haven't been able to find any mention of APIs. Thanks in advance for any information that is shared here. Alexander
35
4
32k
Aug ’23
Phone overheats all the time
My phone all the time always randomly overheats, when i am hiking or taking a walk. i have already reset it multiple times or switch it to air plane mode, but it doesn’t do anything. so i am asking out for help. here is a link to a log file of some regular daily use: https://www.dropbox.com/scl/fi/a8urc24gjfnjqx4drygxe/stalking.txt?rlkey=g1kvxfs3kkxq5qq913xgnflfy&dl=0
1
0
906
Jul ’23
UWB Interoperability Specification
May I ask where I can find this document: the UWB Interoperability Specification, Developer Preview, Release 1? This document is a comment I saw in Qorvo's project. I need to understand the specific meaning of the data sent to the iPhone by embedded devices in the Nearby Interaction Access Protocol. I am developing an application based on Qorvo's dwm3000, so I need to understand this aspect. Thank you for any response!
0
0
1k
Jul ’23
Session immediately invalidated when using BLE background mode
Hello everyone, I have encountered an error when trying to enable BLE background mode of the third-party NI example application. I have done that by replacing the configuration = try NINearbyAccessoryConfiguration(data: configData) with configuration = try NINearbyAccessoryConfiguration(accessoryData: configData, bluetoothPeerIdentifier: peerIdentifier) I have additionally expanded the List.plist with Required background modes: App communicates using CoreBluetooth Or rather, central-bluetooth When starting the session, iPhone 12+ Pro Max (iOS 16+) device immediately calls invalidateSession with the error invalidSession. configData is identical for both cases, and implementation on peripheral device has not been changed. Important thing to note here is that for the non-background mode, third-party accessory and iPhone device are able to range just fine. Do you have any recommendations or advice how we can try to solve this, or what might be an issue? Thank you in advance, Aleksa and OBLO Living development team.
1
0
1.8k
Jul ’23
NI session keep timeout when apps running in background
Hi All I can run the nearby interaction even the apps is in background, while there is a distance information in the accessory side, the apps invoke delegate function "didRemove nearbyObject" with timeout periodically. is there any way to disable the timeout when it is running in background? Or anything I did wrong so that the session keep timeout while there is distance measurement in accessory side, please anyone help. Thanks in advance
0
0
834
Jul ’23
Please enable background UWB via other data channel
The requirement to have an active Bluetooth connection for UWB readings confuses me. Bluetooth is so slow in connecting. Mostly. when I walk passed my accessory, I have already passed my UWB accessory range effect (switch on an led) without getting a UWB reading. I have no problem to pair the accessory to my phone. But please give us UWB background readings without connecting via Bluetooth. Thank you, Robin
0
0
1.1k
Jun ’23
iPhone 14 UWB regression ?
Hello everyone! We are a small team developing third-party accessories using NXP and Qorvo chips. Two of our teammates have bought the new iPhone 14 and it seems that we have no azimuth no more regarding UWB sessions. We have tested on the Qorvo NearbyInteraction app from the App Store. By debugging on our own application, it seems we never have a valid direction vector. Is anyone experiencing the same issue ? Did Apple made an iPhone 14 less efficient than the iPhone 13 on UWB ? Regards, Alexandre
11
5
5.3k
May ’23
How to pass Encrypted characteristics into triggerPairing ( ) for Nearby interaction GATT Service
I am working on the background mode of nearby interaction, from the WWDC 2022 video, my Apps have to do pairing, connect with third party device's BLE Afterward, I have to implement a method called triggerPairing ( peripheral: peripheral, encryptedCharacteristics: CBCharacteristics), to trigger pairing process. The document mention that Apps should NOT discover the nearby interaction GATT service, but the encrypted characteristic is belonged to this service. how can I pass the parameters into the triggerPairing function if the Apps does not discover the service? what parameter should I pass into the function? Does anyone help?
0
0
1.2k
May ’23
Create our own UWB app commuicate with own UWB tags / devices OR maybe with other third parties devices /tags , BUT I CAN NOT
HI 😊 I want to create MY OWN APP that will be able to communicate with my customized UWB devices ( UWB CHIP MOUNT ON ARDUINO / RASPERRY PI board or maybe can communicate with airtag / samsung tags /other third parties uwb tags ,too , but however my main purpose is , create my app that will be able to communicate with my customized UWB tag / devices , So I found out that the NEARBY INTERACTION framework that utilizing the UWB U1 CHIP of iphone 11/12 ,* does not provide the API CODE for this 😥 later on , Apple allows the app developer to only create their own UWB DEVICES / TAGs that will be able to communicate / utilize with iphone11/12 BUT ALL OF THE UWB CUSTOMIZED DEVICES / tags FROM THE DEVELOPERS ,-- MUST BE USED WITH ONLY THROUGH " * Find My ( APP ) *** " FROM APPLE under the app developer of Apple program , called * MFi * - MADE FOR IPHONE = https://mfi.apple.com/ -- under this program , * the developers can not create their own uwb app to utilize their own uwb devices/ tags as like me *😥 now there are some of third parties devices such as -Ebikes VanMoof S3 ,X3 model or Chipolo ONE Spot uwb tags or Belkin earbuds that joint MFI APPLE program , however all of them must be used with Find my app ( Apple ), ** they can not create their own app to utilize their own uwb devices So I do not know when will apple provide its uwb API for developers to create their own app to communicate with their own uwb tags / devices I want to create my own app that will be able to get the distance / direction from my uwb devices or maybe third parties devices too* but right now can not because of what I explained above ,in this Apple forum question so if Apple open the UWB API for the app developers access / develop their own ( using - UWB ) apps ,Apple will have more creative UWB apps from creative ideas of app developers So I am asking Apple ,-When will Apple provide the uwb API for the app developers to do such a things as my case ? PLEASE 🥺
5
0
8.3k
May ’23
NearbyInteraction Framework for Multipeer Connectivity with UWB
Hi everyone, I followed https://developer.apple.com/forums/thread/700295 to try to make sure one iPhone could perform UWB ranging with more than iPhone by creating a separate NISession for each phone and storing it in a dictionary, but I have not been able to get distance measurements from more than one phone at the same time. It seems that MPCSession allows all phones to see each other, but when it comes to UWB measurements, only 2 phones are able to exchange distance and angle measurements at the same time. It seems once an NISession starts working, it does not give other NISessions a turn to work. I set the MPC delegate to the same ViewController class, maybe that is the issue, but I have seen that Qorvo also set their Bluetooth connection delegate to the same class, and it works with their DWM3001CDK. Can you please help me make sure that each phone can receive distance and angle updates from multiple phones simultaneously?
Replies
0
Boosts
0
Views
1k
Activity
Dec ’23
Creating AR applications using Nearby Interaction and ARkit
Hi, sorry if the sentence is wrong as I am using the translate function. I am looking to create an AR application using Nearby Interaction and ARkit. The devices to be used are iPhone 15pro and apple watch 9. The iPhone implementation will measure the distance to the apple watch while simultaneously using AR to track images. The apple watch implementation will only measure the distance to the iPhone. Is it possible to implement this feature? If you know of any, I would like to know.
Replies
0
Boosts
0
Views
834
Activity
Dec ’23
supportsDirectionMeasurement returns false and cant not use SceneKit
Hi everyone, I am trying on iOS 17.1.1 the Nearby Interaction framework and SceneKit. I am testing it on iPhone 15 Pro Max and iPhone 12 Pro Max. if NISession.deviceCapabilities.supportsDirectionMeasurement { print("Interact using device distance and direction.") } else if NISession.deviceCapabilities.supportsPreciseDistanceMeasurement { print("Interact using distance only.") } iPhone 12 Pro Max is working normally, but supportsDirectionMeasurement property in iPhone 15 Pro Max returns false and i cant use the SceneKit. Is anyone experiencing the same issue? Regards, Shin
Replies
1
Boosts
1
Views
1.2k
Activity
Nov ’23
Inquiry about Apple's "NearbyInteraction" and Related Patent US10486646B2
Inquiry about Apple's "NearbyInteraction" and Related Patent US10486646B2 Hello, I have questions about Apple's publicly disclosed accessory 'NearbyInteraction' and the associated Apple patent US10486646B2. I understand that pairing is required when using "NearbyInteraction" in the background. However, employing pairing with NearbyInteraction might potentially infringe upon the patent US10486646B2. Could you please clarify whether Apple has implemented any of the following measures, or if there is another strategy or policy in place? No patent licensing agreements exist, and sales of products using UWB in the background by third parties are not permitted. When using NearbyInteraction, patent infringement isn't a concern, and systems using NearbyInteraction aren't considered to infringe upon the patent US10486646B2. It's necessary to apply for a patent licensing agreement. I apologize for any inconvenience, and I would be grateful for a response. Also, if there's a need for any application or process, could you please guide me on how to proceed? Thank you for your attention to this matter.
Replies
0
Boosts
0
Views
869
Activity
Sep ’23
UWB develop of Apple Watch
Hello all! We are a small team of smart home. We are preparing to develop third-party UWB applications in Apple Watch, but we have not found any instructional materials related to watch UWB. So i would like to ask if there is any way to get such documents, or guys who have done this kind of development.
Replies
0
Boosts
0
Views
819
Activity
Sep ’23
NIErrorCodeInvalidConfiguration error code using the function NINearbyAccessoryConfiguration(Accessory:BluetoothPeerIdentifier)
Ranging is working great when I'm removing the BluetoothPeerIdentifier parameter but if I want to do some background ranging, I need to be able to use the removed parameter. Somehow when I'm both AccessoryData and BluetoothPeerIdentifier parameters, I got the NIErrorCodeInvalidConfiguration error code and i can't range anymore. Do you guys have a fix for that? The parameter BluetoothPeerIdentifier is not NULL so it should work properly... Thank you, Marc
Replies
0
Boosts
0
Views
985
Activity
Aug ’23
Developer APIs for AirTag integration in our apps and games?
I'm very excited about the new AirTag product and am wondering if there will be any new APIs introduced in iOS 14.5+ to allow developers to build apps around them outside the context of the Find My network? The contexts in which I am most excited about using AirTags are: Gaming Health / Fitness-focused apps Accessibility features Musical and other creative interactions within apps I haven't been able to find any mention of APIs. Thanks in advance for any information that is shared here. Alexander
Replies
35
Boosts
4
Views
32k
Activity
Aug ’23
Background Nearby Interaction Without Pairing
Is it possible to start a background nearby interaction session without pairing? It would be nice to have a bunch of background sessions for a bunch of devices and not need them to all be confirmed by the user like in the foreground.
Replies
0
Boosts
0
Views
904
Activity
Aug ’23
Phone overheats all the time
My phone all the time always randomly overheats, when i am hiking or taking a walk. i have already reset it multiple times or switch it to air plane mode, but it doesn’t do anything. so i am asking out for help. here is a link to a log file of some regular daily use: https://www.dropbox.com/scl/fi/a8urc24gjfnjqx4drygxe/stalking.txt?rlkey=g1kvxfs3kkxq5qq913xgnflfy&dl=0
Replies
1
Boosts
0
Views
906
Activity
Jul ’23
UWB Interoperability Specification
May I ask where I can find this document: the UWB Interoperability Specification, Developer Preview, Release 1? This document is a comment I saw in Qorvo's project. I need to understand the specific meaning of the data sent to the iPhone by embedded devices in the Nearby Interaction Access Protocol. I am developing an application based on Qorvo's dwm3000, so I need to understand this aspect. Thank you for any response!
Replies
0
Boosts
0
Views
1k
Activity
Jul ’23
Nearby Interaction Multiple Sessions
How to create and handle multiple sessions using Nearby Interaction? It was briefly mentioned in the WWDC20 video titled "Meet Nearby Interaction" but I cannot find the implementation anywhere online. Can someone share sample code or point me towards the location where I can find the solution to this problem? Thanks.
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’23
UWBConfigData chipset ID and manufacturer ID
Hi all I am going to develop a software for third party-UWB chipset communication with U1. From the document, third party chipset have to send the UWBConfigData to U1, but I have no idea how to fill in Manufacturer ID and UWB chipset model ID . anyone can help? Terence
Replies
2
Boosts
0
Views
2.1k
Activity
Jul ’23
Uwb App (NIpeekaboo) doesn't work in iOS 14.2.1
when i check NIpeekaboo before update iOS to latest, it worked well. but if i push app after update iPhone12 to iOS 14.2.1 and Xcode to 12.2, it stops on "discovering peer". air-drop is working but NIpeekaboo is not working. how can i test NIpeekaboo?
Replies
3
Boosts
0
Views
1.9k
Activity
Jul ’23
Session immediately invalidated when using BLE background mode
Hello everyone, I have encountered an error when trying to enable BLE background mode of the third-party NI example application. I have done that by replacing the configuration = try NINearbyAccessoryConfiguration(data: configData) with configuration = try NINearbyAccessoryConfiguration(accessoryData: configData, bluetoothPeerIdentifier: peerIdentifier) I have additionally expanded the List.plist with Required background modes: App communicates using CoreBluetooth Or rather, central-bluetooth When starting the session, iPhone 12+ Pro Max (iOS 16+) device immediately calls invalidateSession with the error invalidSession. configData is identical for both cases, and implementation on peripheral device has not been changed. Important thing to note here is that for the non-background mode, third-party accessory and iPhone device are able to range just fine. Do you have any recommendations or advice how we can try to solve this, or what might be an issue? Thank you in advance, Aleksa and OBLO Living development team.
Replies
1
Boosts
0
Views
1.8k
Activity
Jul ’23
NI session keep timeout when apps running in background
Hi All I can run the nearby interaction even the apps is in background, while there is a distance information in the accessory side, the apps invoke delegate function "didRemove nearbyObject" with timeout periodically. is there any way to disable the timeout when it is running in background? Or anything I did wrong so that the session keep timeout while there is distance measurement in accessory side, please anyone help. Thanks in advance
Replies
0
Boosts
0
Views
834
Activity
Jul ’23
Please enable background UWB via other data channel
The requirement to have an active Bluetooth connection for UWB readings confuses me. Bluetooth is so slow in connecting. Mostly. when I walk passed my accessory, I have already passed my UWB accessory range effect (switch on an led) without getting a UWB reading. I have no problem to pair the accessory to my phone. But please give us UWB background readings without connecting via Bluetooth. Thank you, Robin
Replies
0
Boosts
0
Views
1.1k
Activity
Jun ’23
API for UWB and AirTag in WWDC23 ?
Hi all! I was hoping that in WWDC23 sessions, there would be an announcement on a new API for ultra wide-band and AirTags, in order to have access on developing apps with interaction between iPhones and AirTags using the UWB technology. But, I cannot see anything related to this topic. Do you think there will be any good news this year ?
Replies
2
Boosts
1
Views
2.1k
Activity
Jun ’23
iPhone 14 UWB regression ?
Hello everyone! We are a small team developing third-party accessories using NXP and Qorvo chips. Two of our teammates have bought the new iPhone 14 and it seems that we have no azimuth no more regarding UWB sessions. We have tested on the Qorvo NearbyInteraction app from the App Store. By debugging on our own application, it seems we never have a valid direction vector. Is anyone experiencing the same issue ? Did Apple made an iPhone 14 less efficient than the iPhone 13 on UWB ? Regards, Alexandre
Replies
11
Boosts
5
Views
5.3k
Activity
May ’23
How to pass Encrypted characteristics into triggerPairing ( ) for Nearby interaction GATT Service
I am working on the background mode of nearby interaction, from the WWDC 2022 video, my Apps have to do pairing, connect with third party device's BLE Afterward, I have to implement a method called triggerPairing ( peripheral: peripheral, encryptedCharacteristics: CBCharacteristics), to trigger pairing process. The document mention that Apps should NOT discover the nearby interaction GATT service, but the encrypted characteristic is belonged to this service. how can I pass the parameters into the triggerPairing function if the Apps does not discover the service? what parameter should I pass into the function? Does anyone help?
Replies
0
Boosts
0
Views
1.2k
Activity
May ’23
Create our own UWB app commuicate with own UWB tags / devices OR maybe with other third parties devices /tags , BUT I CAN NOT
HI 😊 I want to create MY OWN APP that will be able to communicate with my customized UWB devices ( UWB CHIP MOUNT ON ARDUINO / RASPERRY PI board or maybe can communicate with airtag / samsung tags /other third parties uwb tags ,too , but however my main purpose is , create my app that will be able to communicate with my customized UWB tag / devices , So I found out that the NEARBY INTERACTION framework that utilizing the UWB U1 CHIP of iphone 11/12 ,* does not provide the API CODE for this 😥 later on , Apple allows the app developer to only create their own UWB DEVICES / TAGs that will be able to communicate / utilize with iphone11/12 BUT ALL OF THE UWB CUSTOMIZED DEVICES / tags FROM THE DEVELOPERS ,-- MUST BE USED WITH ONLY THROUGH " * Find My ( APP ) *** " FROM APPLE under the app developer of Apple program , called * MFi * - MADE FOR IPHONE = https://mfi.apple.com/ -- under this program , * the developers can not create their own uwb app to utilize their own uwb devices/ tags as like me *😥 now there are some of third parties devices such as -Ebikes VanMoof S3 ,X3 model or Chipolo ONE Spot uwb tags or Belkin earbuds that joint MFI APPLE program , however all of them must be used with Find my app ( Apple ), ** they can not create their own app to utilize their own uwb devices So I do not know when will apple provide its uwb API for developers to create their own app to communicate with their own uwb tags / devices I want to create my own app that will be able to get the distance / direction from my uwb devices or maybe third parties devices too* but right now can not because of what I explained above ,in this Apple forum question so if Apple open the UWB API for the app developers access / develop their own ( using - UWB ) apps ,Apple will have more creative UWB apps from creative ideas of app developers So I am asking Apple ,-When will Apple provide the uwb API for the app developers to do such a things as my case ? PLEASE 🥺
Replies
5
Boosts
0
Views
8.3k
Activity
May ’23