Nearby Interaction

RSS for tag

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

Posts under Nearby Interaction tag

126 Posts

Post

Replies

Boosts

Views

Activity

Beacon ranging when the device is idle
We are implementing indoor positioning and proximity sensing in our iOS app using iBeacons. We have placed multiple beacons to detect the proximity of one point of interest(POI). We are using the startRangingBeacons method in the CLLocationManager class and implementing corresponding delegates to receive the ranging information. With all required foreground and background permissions granted, when a user walks from one POI to another, beacon ranging is working as expected and we are continuously receiving the sightings in the app. We have observed that, if user stops walking for a few minutes at a POI and then device automatically pauses the scan. Hence, we will not receive any beacon signals. When there is a movement, it performs beacon ranging again for a minute or so, then stops again for longer time even when user is walking. The interval between the pausing and resuming the service is not a constant. We have also observed that sometimes it takes more than 15 minutes to resume the service once the system pauses the ranging automatically. Is it an expected behavior? How long does it usually take for beacon ranging services to resume after the user starts moving? Is there any way we can reduce this delay between the pause and resume of ranging beacons? Appreciate your support
1
0
1.2k
Feb ’24
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
1.2k
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
918
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.4k
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
954
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
905
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
1.1k
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
33k
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
1k
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
1.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
2.0k
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
915
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.2k
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.4k
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
Beacon ranging when the device is idle
We are implementing indoor positioning and proximity sensing in our iOS app using iBeacons. We have placed multiple beacons to detect the proximity of one point of interest(POI). We are using the startRangingBeacons method in the CLLocationManager class and implementing corresponding delegates to receive the ranging information. With all required foreground and background permissions granted, when a user walks from one POI to another, beacon ranging is working as expected and we are continuously receiving the sightings in the app. We have observed that, if user stops walking for a few minutes at a POI and then device automatically pauses the scan. Hence, we will not receive any beacon signals. When there is a movement, it performs beacon ranging again for a minute or so, then stops again for longer time even when user is walking. The interval between the pausing and resuming the service is not a constant. We have also observed that sometimes it takes more than 15 minutes to resume the service once the system pauses the ranging automatically. Is it an expected behavior? How long does it usually take for beacon ranging services to resume after the user starts moving? Is there any way we can reduce this delay between the pause and resume of ranging beacons? Appreciate your support
Replies
1
Boosts
0
Views
1.2k
Activity
Feb ’24
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
1.2k
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
918
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.4k
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
954
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
905
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
1.1k
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
33k
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
1k
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
1.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.3k
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
2.0k
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
915
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.2k
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.2k
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.4k
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