Nearby Interaction

RSS for tag

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

Posts under Nearby Interaction tag

134 Posts

Post

Replies

Boosts

Views

Activity

Nearby Interaction GATT Service
Hello, We are a company working on Ultra Wideband solutions and, hence, using Apple's NearbyInteraction framework to establish UWB Ranging sessions with our UWB-enabled third-party accessory. This week we were excited about the new background UWB Ranging session possibility, which opens new use cases. The wwdc2022 10008 video that provides the technical details for this feature indicates that the third-party accessory is responsible to expose the Nearby Interaction GATT Server. We don't manage to get full details about what needs to be implemented to by compliant with Apple's framework. The URL below indicates that full BLE details should be explained in the "Nearby Interaction Accessory Protocol Specification" but we don't see any info there. https://developer.apple.com/documentation/nearbyinteraction/ninearbyaccessoryconfiguration https://developer.apple.com/nearby-interaction/specification/ Can someone indicate us where the find full details for this background Nearby Interaction feature? Thanks in advance. Regards.
1
0
2.0k
Jun ’22
U1/UWB distance
Hello, I recently experimented with the Nearby Interactions demo project for the U1/UWB chip. When using my iPhone 12 Pro and an Apple Watch Series 6 I was only able to go a distance of 16 feet before to connection would seem to break. Does anyone know if there is a way to utilize these chips to support calculating the distance between devices at a greater distance than what I was able to get?
1
0
3.3k
May ’22
NEARBY INTERACTION
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 ?
4
0
2.8k
May ’22
Combine multiple outgoing NISessions with multiple NINearbyPeerConfiguration objects when data is received using Bonjour
Because of the 8 peer limit I'm using NWListener, NWBrowser, NWConnection, and Bonjour for up to 20 peer-to-peer concurrent connections. I followed this answer - https://developer.apple.com/forums/thread/652180 and this answer - https://developer.apple.com/forums/thread/661148 which are both from Apple engineers. The first one said to create multiple concurrent NISessions: All NISessions are peer-to-peer and as a result, creating multiple NISession objects is necessary to have multiple concurrent sessions. One approach is to create a dictionary between an identifier for the peer (i.e. a user identifier provided by your app MyAppUserID) and the NISession objects while also keeping track of the NIDiscoveryToken for each peer identifier:  var sessions = [MyAppUserID: NISession]() var peerTokensMapping = [NIDiscoveryToken: MyAppUserID]() And the second answer said to perform interactions with multiple iPhones: Create an NISession for each peer you would like to interact with. For example, if you are interacting with two peers, create 2 * NISession objects. Each NISession will have a unique NIDiscoveryToken associated with it. Share discovery token #1 with peer #1, and share discovery token #2 with peer #2. When you receive discovery tokens from peers #1 and #2, create 2 * NINearbyPeerConfiguration objects and use them to run sessions #1 and #2, respectively. The problem is when sending out a NIDiscoveryToken via NWConnection, I can't find a way to link to the NISession from the sent out data to the token that is received from the incoming data after I initialize a NINearbyPeerConfiguration object: eg. User object which is sent and received when other devices are discovered class User: NSObject, NSSecureCoding { 		var uid: String? 		var peerToken: NIDiscoveryToken? = nil 		init(uid: String, peerToken: NIDiscoveryToken) {...} 		// ... encoder for uid and peerToken 		// ... decoder for uid and peerToken } Send current user's NIDiscoveryToken data via NWBrowser and NWConnection and save it to the peerTokensMapping dictionary and save the session to the sessionsArr let currentUserId = "qwerty" var sessionsArr = [NISession]() var sessions = [String: NISession]() var peerTokensMapping = [NIDiscoveryToken: String]() func sendDataWhenNewDeviceIsDiscovered() { 		let session = NISession() 		session.delegate = self 		guard let myToken = session.discoveryToken else { return } 		let user = User(uid: currentUserId, peerToken: myToken) 		guard let outgoingData = try? NSKeyedArchiver.archivedData(withRootObject: user, 																														 requiringSecureCoding: true) 		else { return } 		let message = NWProtocolWebSocket.Metadata(opcode: .text) 		let context = NWConnection.ContentContext(identifier: "send", metadata: [message]) 		connection.send(content: outgoingData, contentContext: context, isComplete: true, completion: .contentProcessed({ [weak self](error) in             		if let error = error { return } 				self?.sessionsArr.append(session) 				self?.peerTokensMapping[myToken] = self!.currentUserId     		print("Successfully Sent") 		})) } Receive other user's NIDiscoveryToken data via NWListener and NWConnection. connection.receive(minimumIncompleteLength: 1, maximumLength: 65535) { 		[weak self](data, context, isComplete, error) in 		if let err = error { return } 		if let data = data, !data.isEmpty { 				self?.decodeReceived(data) 		} } func decodeReceived(_ data: Data) { 		guard let incomingData = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? User 		else { return } 		guard let uid = incomingData.uid, let peerToken = incomingData.peerToken 		else { return } 		let config = NINearbyPeerConfiguration(peerToken: peerToken) 		/* not sure what to do here to get the session that was created when the data was sent out */ 		for (key,_) in peerTokensMapping { 				if key.??? == peerToken.??? { 						session.run(config) 						self.sessions[currentUserId] = session 						break 				} 		} 		/* or try this but this is the other user's peerToken so this will never work */ 		for session in self.sessionsArr { 				if session.discoveryToken ?? "" == peerToken { 						session.run(config) 						self.sessions[currentUserId] = session 						break 				} 		} } Once the NINearbyPeerConfiguration is initialized how do I connect the incoming peerToken with the correct one that was sent out above that is currently inside the peerTokensMapping dict or the sessionsArr so that I can get the session and call session.run(config)
1
0
1.8k
Apr ’22
Nearby Interaction
Hello All, I am facing one problem in the Nearby Interaction library, I want to connect multiple devices at the same time, Right now NISession is disconnect itself when a new device comes in range and connect with a new device My question is how can I connect with multiple devices at the same time and access the distance of all the connected devices. This how i am using right now final class NearbyInteractionManager: NSObject {   static let instance = NearbyInteractionManager()   var sessionNI: NISession?   weak var delegate: NearbyInteractionManagerDelegate?       func start() {     sessionNI = NISession()     sessionNI?.delegate = self     MultipeerConnectivityManager.instance.delegate = self     MultipeerConnectivityManager.instance.startBrowsingForPeers()   }         private var discoveryTokenData: Data {     guard let token = sessionNI?.discoveryToken,        let data = try? NSKeyedArchiver.archivedData(withRootObject: token, requiringSecureCoding: true) else {       fatalError("can't convert token to data")     }     return data   } } extension NearbyInteractionManager: MultipeerConnectivityManagerDelegate {   func connectedDevicesChanged(devices: [String]) {     print("connected devices changed \(devices)")   }       func connectedToDevice() {     print("connected to device")     MultipeerConnectivityManager.instance.shareDiscoveryToken(data: discoveryTokenData)   }       func receivedDiscoveryToken(data: Data) {     print("data received")     guard let token = try? NSKeyedUnarchiver.unarchivedObject(ofClass: NIDiscoveryToken.self, from: data) else {       fatalError("Unexpectedly failed to encode discovery token.")     }     let configuration = NINearbyPeerConfiguration(peerToken: token)     sessionNI?.run(configuration)   } } // MARK: - NISessionDelegate extension NearbyInteractionManager: NISessionDelegate {           func session(_ session: NISession, didUpdate nearbyObjects: [NINearbyObject]) {     delegate?.didUpdateNearbyObjects(objects: nearbyObjects, token: nearbyObjects[0].discoveryToken)   }       func session(_ session: NISession, didRemove nearbyObjects: [NINearbyObject], reason: NINearbyObject.RemovalReason) {}   func sessionWasSuspended(_ session: NISession) {}   func sessionSuspensionEnded(_ session: NISession) {}   func session(_ session: NISession, didInvalidateWith error: Error) {} } protocol NearbyInteractionManagerDelegate: class {   func didUpdateNearbyObjects(objects: [NINearbyObject], token: NIDiscoveryToken) } Any update will be very helpful full Thank you
0
0
1k
Mar ’22
Can we broadcast light custom application data using ultra U1 technology without BT/Internet connectivity?
Can we broadcast light custom application data using ultra U1 technology without BT/Internet connectivity? I have UWB Ultra wideband integrated in my multiple iPhones using which I want to send/receive custom data (very low amount, possibly couple of integers with interval) between two iPhones without requiring any validation (connection establishment). The requirement is similar to broadcasting advertisement message of BT/WiFi. I wonder for UWB if it is possible or not. Any paper or article if feasible?
0
0
975
Jan ’22
Does U1 in Iphone utilize AoA?
Hello, i want to know if an Iphone 11 with its U1 Chip for example is able to get angle information of another Iphone and in how many dimensions. I reckon more than 2D is not possible. An Iphone in combination with the Airtag seems to be able to get angular information but the antenna array might be provided in the tag rather than the Iphone. Thanks for your help!
0
0
1k
Dec ’21
What happened with User Nearby Interaction framework on IOS 15?
I installed an official app made by the apple from there https://developer.apple.com/documentation/nearbyinteraction/implementing_interactions_between_users_in_close_proximity on my IOS 15 iPhone 11 and it doesn't work. Every time when NISession try to run it turns to suspended mod with no reasons. Does anyone have idea?
1
0
1.1k
Dec ’21
How many Third-Party Accessories can connected by iphone11 which contains a U1 chip
Now'sample can connected with one Third-Party Accessory to receive periodic measurements of its distance,I want to connect four accessories(not iPhone) to receive their distance and direction at the same time ,How to do that. please tell me if you know how to do that,thank you very much!
3
0
1.2k
Nov ’21
How can I simultaneously connect/interact/range from one QORVO DWM3000EVB to two or several iPhones 11 ?🤔
HELLO 😊 I want to range two iphones 11 to single of DWM3000EVB device at the same time (simultaneous ranging /measuring distance )via UWB nearby interaction framework will i be able to do it ? how to do it ? please let me know the code example on the side of iphone11 (swift code ) and the code on the side of DWM3000EVB how many maximum of iphones 11 are able to range / interact to one of DWM3000EVB simultaneously with UWB ranging in order to get distance ? the series or model of u1-equipped iphone is the factor of amount of iphones when UWB ranging ? for example iphone11 range to one DWM3000EVB or iphone 12 range to one DWM3000EVB or iphone 13 range to one DWM3000EVB or iphone 11 /12 /13 , 3 different series 's iphones range to one DWM3000EVB in the same event simultaneously , please let me know Thank you very much! please see the picture below
0
0
866
Nov ’21
How to establish a data link by any communication method (BLE,LAN,Cloud,etc.) in NearbyInteraction
When I checked the NearbyInteraction Accessory Protocol Specification, the sequence diagram in Section 2.4 stated (1) Establish a data link (ieBLE, LAN, Cloud, or other). However, in the sample code, there is no communication method setting for establishing the data link. Since it is described in the specification, it means that there is an arbitrary establishment method but the implementation method has not been released yet, or it is necessary to contact Apple at the time of product development and request disclosure of the specification. Please tell me who knows.
0
0
661
Nov ’21
After upgrade to Monterey my C++ projects are failing to compile
After upgrade to macOS Monterey and Xcode 13.1 my C++ projects are failing to compile. There are a lot of errors for not defined entities in various headers and a lot of linker errors for header files not found. This situation appeared after the upgrade with absolutely no changes in the codebase of my projects. Before the upgrade everything was fine and now I have more than 20 errors in one of my projects! I'm using VS Code as an IDE. Please give me advice, how to fix this issue?
1
0
2.1k
Nov ’21
How many NI sessions would be able to handle at the same time with Nearby Interaction frame?
By referencing to the Developer Forums, we could handle multiple concurrent sessions using iphone11. The maximum number of concurrent sessions is two. When we try to connect another one devices, session(_:didInvalidateWith:) on the NISessionDelegate is called with NIError.Code.activeSessionsLimitExceeded. I'd like to know three or more concurrent sessions are running using newer version like iphone12. Does anyone have any knowledge?
1
0
1.5k
Nov ’21
Nearby Interaction GATT Service
Hello, We are a company working on Ultra Wideband solutions and, hence, using Apple's NearbyInteraction framework to establish UWB Ranging sessions with our UWB-enabled third-party accessory. This week we were excited about the new background UWB Ranging session possibility, which opens new use cases. The wwdc2022 10008 video that provides the technical details for this feature indicates that the third-party accessory is responsible to expose the Nearby Interaction GATT Server. We don't manage to get full details about what needs to be implemented to by compliant with Apple's framework. The URL below indicates that full BLE details should be explained in the "Nearby Interaction Accessory Protocol Specification" but we don't see any info there. https://developer.apple.com/documentation/nearbyinteraction/ninearbyaccessoryconfiguration https://developer.apple.com/nearby-interaction/specification/ Can someone indicate us where the find full details for this background Nearby Interaction feature? Thanks in advance. Regards.
Replies
1
Boosts
0
Views
2.0k
Activity
Jun ’22
Can I create hands-free applications using the nearby interaction framework?
I want to create a hands-free application (e.g. smart lock)using the Nearby Interaction framework. Nearby Interaction sessions can only be active when the app is in the foreground, however, it can't be a complete hands-free application. Does anyone have any good ideas?
Replies
2
Boosts
0
Views
1.4k
Activity
May ’22
Can we use airbags with nearby interactions api
Does Nearby Interaction API support interaction between an iPhone with U1 chip with AirTags?
Replies
3
Boosts
0
Views
2.3k
Activity
May ’22
U1/UWB distance
Hello, I recently experimented with the Nearby Interactions demo project for the U1/UWB chip. When using my iPhone 12 Pro and an Apple Watch Series 6 I was only able to go a distance of 16 feet before to connection would seem to break. Does anyone know if there is a way to utilize these chips to support calculating the distance between devices at a greater distance than what I was able to get?
Replies
1
Boosts
0
Views
3.3k
Activity
May ’22
NEARBY INTERACTION
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 ?
Replies
4
Boosts
0
Views
2.8k
Activity
May ’22
which chip is recommended by Apple for 3rd party "Airtags+"
Which UWB chip is recommended by Apple to be used, if one wants to build an interactive Airtags device? Is there a support for 3rd party tag vendors at all?
Replies
1
Boosts
0
Views
1.7k
Activity
May ’22
Combine multiple outgoing NISessions with multiple NINearbyPeerConfiguration objects when data is received using Bonjour
Because of the 8 peer limit I'm using NWListener, NWBrowser, NWConnection, and Bonjour for up to 20 peer-to-peer concurrent connections. I followed this answer - https://developer.apple.com/forums/thread/652180 and this answer - https://developer.apple.com/forums/thread/661148 which are both from Apple engineers. The first one said to create multiple concurrent NISessions: All NISessions are peer-to-peer and as a result, creating multiple NISession objects is necessary to have multiple concurrent sessions. One approach is to create a dictionary between an identifier for the peer (i.e. a user identifier provided by your app MyAppUserID) and the NISession objects while also keeping track of the NIDiscoveryToken for each peer identifier:  var sessions = [MyAppUserID: NISession]() var peerTokensMapping = [NIDiscoveryToken: MyAppUserID]() And the second answer said to perform interactions with multiple iPhones: Create an NISession for each peer you would like to interact with. For example, if you are interacting with two peers, create 2 * NISession objects. Each NISession will have a unique NIDiscoveryToken associated with it. Share discovery token #1 with peer #1, and share discovery token #2 with peer #2. When you receive discovery tokens from peers #1 and #2, create 2 * NINearbyPeerConfiguration objects and use them to run sessions #1 and #2, respectively. The problem is when sending out a NIDiscoveryToken via NWConnection, I can't find a way to link to the NISession from the sent out data to the token that is received from the incoming data after I initialize a NINearbyPeerConfiguration object: eg. User object which is sent and received when other devices are discovered class User: NSObject, NSSecureCoding { 		var uid: String? 		var peerToken: NIDiscoveryToken? = nil 		init(uid: String, peerToken: NIDiscoveryToken) {...} 		// ... encoder for uid and peerToken 		// ... decoder for uid and peerToken } Send current user's NIDiscoveryToken data via NWBrowser and NWConnection and save it to the peerTokensMapping dictionary and save the session to the sessionsArr let currentUserId = "qwerty" var sessionsArr = [NISession]() var sessions = [String: NISession]() var peerTokensMapping = [NIDiscoveryToken: String]() func sendDataWhenNewDeviceIsDiscovered() { 		let session = NISession() 		session.delegate = self 		guard let myToken = session.discoveryToken else { return } 		let user = User(uid: currentUserId, peerToken: myToken) 		guard let outgoingData = try? NSKeyedArchiver.archivedData(withRootObject: user, 																														 requiringSecureCoding: true) 		else { return } 		let message = NWProtocolWebSocket.Metadata(opcode: .text) 		let context = NWConnection.ContentContext(identifier: "send", metadata: [message]) 		connection.send(content: outgoingData, contentContext: context, isComplete: true, completion: .contentProcessed({ [weak self](error) in             		if let error = error { return } 				self?.sessionsArr.append(session) 				self?.peerTokensMapping[myToken] = self!.currentUserId     		print("Successfully Sent") 		})) } Receive other user's NIDiscoveryToken data via NWListener and NWConnection. connection.receive(minimumIncompleteLength: 1, maximumLength: 65535) { 		[weak self](data, context, isComplete, error) in 		if let err = error { return } 		if let data = data, !data.isEmpty { 				self?.decodeReceived(data) 		} } func decodeReceived(_ data: Data) { 		guard let incomingData = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? User 		else { return } 		guard let uid = incomingData.uid, let peerToken = incomingData.peerToken 		else { return } 		let config = NINearbyPeerConfiguration(peerToken: peerToken) 		/* not sure what to do here to get the session that was created when the data was sent out */ 		for (key,_) in peerTokensMapping { 				if key.??? == peerToken.??? { 						session.run(config) 						self.sessions[currentUserId] = session 						break 				} 		} 		/* or try this but this is the other user's peerToken so this will never work */ 		for session in self.sessionsArr { 				if session.discoveryToken ?? "" == peerToken { 						session.run(config) 						self.sessions[currentUserId] = session 						break 				} 		} } Once the NINearbyPeerConfiguration is initialized how do I connect the incoming peerToken with the correct one that was sent out above that is currently inside the peerTokensMapping dict or the sessionsArr so that I can get the session and call session.run(config)
Replies
1
Boosts
0
Views
1.8k
Activity
Apr ’22
Cant use Nearby Interactions Framework on Xcode 13
Hi there, Im trying to use the Nearby Interactions, but when i do the import, XCode tells me that "File 'HomeViewController.swift' is part of module 'NearbyInteraction'; ignoring import" and when i want to create a NISession object it says that cant find NISession in this scope Any fix for this? Thank you
Replies
0
Boosts
0
Views
771
Activity
Mar ’22
Nearby Interaction
Hello All, I am facing one problem in the Nearby Interaction library, I want to connect multiple devices at the same time, Right now NISession is disconnect itself when a new device comes in range and connect with a new device My question is how can I connect with multiple devices at the same time and access the distance of all the connected devices. This how i am using right now final class NearbyInteractionManager: NSObject {   static let instance = NearbyInteractionManager()   var sessionNI: NISession?   weak var delegate: NearbyInteractionManagerDelegate?       func start() {     sessionNI = NISession()     sessionNI?.delegate = self     MultipeerConnectivityManager.instance.delegate = self     MultipeerConnectivityManager.instance.startBrowsingForPeers()   }         private var discoveryTokenData: Data {     guard let token = sessionNI?.discoveryToken,        let data = try? NSKeyedArchiver.archivedData(withRootObject: token, requiringSecureCoding: true) else {       fatalError("can't convert token to data")     }     return data   } } extension NearbyInteractionManager: MultipeerConnectivityManagerDelegate {   func connectedDevicesChanged(devices: [String]) {     print("connected devices changed \(devices)")   }       func connectedToDevice() {     print("connected to device")     MultipeerConnectivityManager.instance.shareDiscoveryToken(data: discoveryTokenData)   }       func receivedDiscoveryToken(data: Data) {     print("data received")     guard let token = try? NSKeyedUnarchiver.unarchivedObject(ofClass: NIDiscoveryToken.self, from: data) else {       fatalError("Unexpectedly failed to encode discovery token.")     }     let configuration = NINearbyPeerConfiguration(peerToken: token)     sessionNI?.run(configuration)   } } // MARK: - NISessionDelegate extension NearbyInteractionManager: NISessionDelegate {           func session(_ session: NISession, didUpdate nearbyObjects: [NINearbyObject]) {     delegate?.didUpdateNearbyObjects(objects: nearbyObjects, token: nearbyObjects[0].discoveryToken)   }       func session(_ session: NISession, didRemove nearbyObjects: [NINearbyObject], reason: NINearbyObject.RemovalReason) {}   func sessionWasSuspended(_ session: NISession) {}   func sessionSuspensionEnded(_ session: NISession) {}   func session(_ session: NISession, didInvalidateWith error: Error) {} } protocol NearbyInteractionManagerDelegate: class {   func didUpdateNearbyObjects(objects: [NINearbyObject], token: NIDiscoveryToken) } Any update will be very helpful full Thank you
Replies
0
Boosts
0
Views
1k
Activity
Mar ’22
NISessionDelegate: didInvalidateWith error
Hi, My sample work fine with 2 sessions on simulators, but don't work between 2 devices (iPhone 11 Pro and iPhone 13 Pro), or one device and one simulator. (iOS 14) I get didInvalidateWith Error (Domain=com.apple.NearbyInteraction Code=-5884). I re-tried with new session on error, but don't work. Any suggestion? Thanks
Replies
0
Boosts
0
Views
846
Activity
Feb ’22
Can we broadcast light custom application data using ultra U1 technology without BT/Internet connectivity?
Can we broadcast light custom application data using ultra U1 technology without BT/Internet connectivity? I have UWB Ultra wideband integrated in my multiple iPhones using which I want to send/receive custom data (very low amount, possibly couple of integers with interval) between two iPhones without requiring any validation (connection establishment). The requirement is similar to broadcasting advertisement message of BT/WiFi. I wonder for UWB if it is possible or not. Any paper or article if feasible?
Replies
0
Boosts
0
Views
975
Activity
Jan ’22
what kind of UWB applications have you tried/implemented?
I would like to hear from you.
Replies
0
Boosts
0
Views
1.2k
Activity
Jan ’22
Can the U1 chip and UWB be used to locate and share files from one iPhone to another
I am creating an IOS app using swift and was wondering if the Nearby Interaction framework (https://developer.apple.com/documentation/nearbyinteraction) could be used to locate and transfer files from one iPhone to another.
Replies
0
Boosts
0
Views
886
Activity
Jan ’22
Does U1 in Iphone utilize AoA?
Hello, i want to know if an Iphone 11 with its U1 Chip for example is able to get angle information of another Iphone and in how many dimensions. I reckon more than 2D is not possible. An Iphone in combination with the Airtag seems to be able to get angular information but the antenna array might be provided in the tag rather than the Iphone. Thanks for your help!
Replies
0
Boosts
0
Views
1k
Activity
Dec ’21
What happened with User Nearby Interaction framework on IOS 15?
I installed an official app made by the apple from there https://developer.apple.com/documentation/nearbyinteraction/implementing_interactions_between_users_in_close_proximity on my IOS 15 iPhone 11 and it doesn't work. Every time when NISession try to run it turns to suspended mod with no reasons. Does anyone have idea?
Replies
1
Boosts
0
Views
1.1k
Activity
Dec ’21
How many Third-Party Accessories can connected by iphone11 which contains a U1 chip
Now'sample can connected with one Third-Party Accessory to receive periodic measurements of its distance,I want to connect four accessories(not iPhone) to receive their distance and direction at the same time ,How to do that. please tell me if you know how to do that,thank you very much!
Replies
3
Boosts
0
Views
1.2k
Activity
Nov ’21
How can I simultaneously connect/interact/range from one QORVO DWM3000EVB to two or several iPhones 11 ?🤔
HELLO 😊 I want to range two iphones 11 to single of DWM3000EVB device at the same time (simultaneous ranging /measuring distance )via UWB nearby interaction framework will i be able to do it ? how to do it ? please let me know the code example on the side of iphone11 (swift code ) and the code on the side of DWM3000EVB how many maximum of iphones 11 are able to range / interact to one of DWM3000EVB simultaneously with UWB ranging in order to get distance ? the series or model of u1-equipped iphone is the factor of amount of iphones when UWB ranging ? for example iphone11 range to one DWM3000EVB or iphone 12 range to one DWM3000EVB or iphone 13 range to one DWM3000EVB or iphone 11 /12 /13 , 3 different series 's iphones range to one DWM3000EVB in the same event simultaneously , please let me know Thank you very much! please see the picture below
Replies
0
Boosts
0
Views
866
Activity
Nov ’21
How to establish a data link by any communication method (BLE,LAN,Cloud,etc.) in NearbyInteraction
When I checked the NearbyInteraction Accessory Protocol Specification, the sequence diagram in Section 2.4 stated (1) Establish a data link (ieBLE, LAN, Cloud, or other). However, in the sample code, there is no communication method setting for establishing the data link. Since it is described in the specification, it means that there is an arbitrary establishment method but the implementation method has not been released yet, or it is necessary to contact Apple at the time of product development and request disclosure of the specification. Please tell me who knows.
Replies
0
Boosts
0
Views
661
Activity
Nov ’21
After upgrade to Monterey my C++ projects are failing to compile
After upgrade to macOS Monterey and Xcode 13.1 my C++ projects are failing to compile. There are a lot of errors for not defined entities in various headers and a lot of linker errors for header files not found. This situation appeared after the upgrade with absolutely no changes in the codebase of my projects. Before the upgrade everything was fine and now I have more than 20 errors in one of my projects! I'm using VS Code as an IDE. Please give me advice, how to fix this issue?
Replies
1
Boosts
0
Views
2.1k
Activity
Nov ’21
How many NI sessions would be able to handle at the same time with Nearby Interaction frame?
By referencing to the Developer Forums, we could handle multiple concurrent sessions using iphone11. The maximum number of concurrent sessions is two. When we try to connect another one devices, session(_:didInvalidateWith:) on the NISessionDelegate is called with NIError.Code.activeSessionsLimitExceeded. I'd like to know three or more concurrent sessions are running using newer version like iphone12. Does anyone have any knowledge?
Replies
1
Boosts
0
Views
1.5k
Activity
Nov ’21