Apple Engineers: what is wrong with IOBluetoothHandsFreeDevice?
Apple Engineers: what is wrong with IOBluetoothHandsFreeDevice?
- Subject: Apple Engineers: what is wrong with IOBluetoothHandsFreeDevice?
- From: James Holbert <email@hidden>
- Date: Fri, 26 Jan 2018 07:26:11 +0000 (UTC)
Hello. I'm trying to use the IOBluetooth framework on macOS 10.11.6, with a
MacBook Pro5,5 and Xcode 7.3.1 (the latest for 10.11).
I have three problems I'm hoping to get some help with. I've read the official
Apple Developer API documentation, all the header files, and the outdated and
few documents in the Guides/References section of developer.apple.com.
Specifically with the IOBluetoothHandsFreeDevice class:
(1) How are we supposed to get the timestamp of an incoming SMS message?
My implementation of the delegate method handsFree:incomingSMS receives an
NSDictionary with 7 key/value pairs. None of the pairs include the timestamp
value with the key IOBluetoothPDUTimestamp. Getting the object for the
IOBluetoothPDUTimestamp returns nil.
(2) Do I have to write my own code to parse the incoming SMS PDU to get the
timestamp? My phone does not do text mode. It only does PDU mode.
(3) Is the method sendSMS:aNumber:aMessage implemented in the Apple libraries?
According to the PacketLogger app, the method call does absolutely nothing at
the RFCOMM layer and below.
(4) After using the method sendATCommand:atCommand:timeout:selector:target, how
are we supposed to get any response data? My target and selector get called
back, but how do we access any response data?
Here's the framework version info from System Information:
IOBluetooth:
Version: 4.4.6 Obtained from: Apple Last Modified: 9/4/17, 1:54 PM Kind:
Intel 64-Bit (Intel): Yes Signed by: Software Signing, Apple Code Signing
Certification Authority, Apple Root CA Get Info String: 4.4.6, Copyright ©
2002-2016 Apple Inc. All rights reserved. Location:
/System/Library/Frameworks/IOBluetooth.framework Private: No
Regards,JH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden