Apple Engineers: what is wrong with IOBluetoothHandsFreeDevice?
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1516951607; bh=9MAPEZeJP9/vtFCP7YlRtxJwxbavcQH3fEzTfitM1X8=; h=Date:From:To:Subject:References:From:Subject; b=SPXp13vzEw4TbCTyVBWqwPfpQKzupq7owRRF4EdLxZP4OluEmBYKpq+D7185hhh6cCbvzxa/N1I3QGfQP2f9w7ToIl7UT2yeQRbzMkrYSnLXkwjGL9w42zyLpr///eSIiTCpTPFVR5X5UX1OGR/b4wvOCIEok2m2yFBGaEPz/317I5QE2LSpGRSX2l7snCbTioqbchA+Pq2EughkGpaxEB9SPGmKLGuKjmmPOynYYjy9+3n92i+I9+QujDFLIZZ0+6ekcexln76DiD0Fvb+3gzonI2P4llZuHDMK/Xttr7IGx1jEXGd5sauuBBvF4ZqgFIT0Ga/1q5e7MHbvcm5zaA== 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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
James Holbert