 |
 |
bluetooth development
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
Well, I called up the Apple store last Saturday, and they said they finally have the dlink bluetooth USB adapter in stock. So, I ordered one and then quickly downloaded & installed the bluetooth dev package and latest sdks for os x.
First, a quick "find / -name "*Blue*.h" comes up with the following in the directory: /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/bluetooth/
Bluetooth.h
BluetoothAssignedNumbers.h
IOBluetoothHCIController.h
IOBluetoothHCIRequest.h
IOBluetoothTypes.h
The bluetooth dev package comes with some example app projects, so I decided to try compiling them to make sure I have all of the header files, et al.
Apparently, I do not have all of the header files, since the RFCOMMClientSample project cannot find IOBluetooth/IOBluetoothUserLib.h
I'm still in the process of reading the bluetooth spec, so I won't claim to know anything about programming for it. Hopefully I will be able to determine if the five header files that I do have are sufficient for creating a reasonable bluetooth app.
In the mean time, does anyone actually have the IOBluetoothUserLib.h header file?
Thanks,
Cpt'n
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by captaindrewle:
<strong>Well, I called up the Apple store last Saturday, and they said they finally have the dlink bluetooth USB adapter in stock. So, I ordered one and then quickly downloaded & installed the bluetooth dev package and latest sdks for os x.
First, a quick "find / -name "*Blue*.h" comes up with the following in the directory: /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/IOKit/bluetooth/
Bluetooth.h
BluetoothAssignedNumbers.h
IOBluetoothHCIController.h
IOBluetoothHCIRequest.h
IOBluetoothTypes.h
The bluetooth dev package comes with some example app projects, so I decided to try compiling them to make sure I have all of the header files, et al.
Apparently, I do not have all of the header files, since the RFCOMMClientSample project cannot find IOBluetooth/IOBluetoothUserLib.h
I'm still in the process of reading the bluetooth spec, so I won't claim to know anything about programming for it. Hopefully I will be able to determine if the five header files that I do have are sufficient for creating a reasonable bluetooth app.
In the mean time, does anyone actually have the IOBluetoothUserLib.h header file?
Thanks,
Cpt'n</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Have you tried looking in:
/System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/IOBluetoothUserLib.h
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Diggory Laycock:
<strong>Have you tried looking in:
/System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/IOBluetoothUserLib.h</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Thanks for the reply Diggory!
ls: /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/IOBluetoothUserLib.h: No such file or directory
Hrmmm.. I must have missed one of the sdk update packages :/
It's neat how 2 sample applications that come with the bluetooth sdk are a bluetooth network detector and a packet decoder. Now, all I need is for that dlink adaptor to arrive..
-Cpt'n
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
This is frustrating. I have downloaded and installed every update in the Mac OS X section of the ADC site including the Bluetooth Preview 2 SDK. I am still missing /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/IOBluetoothUserLib.h
When I figure this one out I'm probably going to be hitting myself. :/
-Cpt'n
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by Diggory Laycock:
<strong>Have you tried looking in:
/System/Library/Frameworks/IOBluetooth.framework/Versions/A/Headers/IOBluetoothUserLib.h</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Diggory,
Does this file exist on your OS X box, or were you just providing a suggestion?
(I'm just trying to determine the extent of my insanity)
Thanks,
Cpt'n
<small>[ 07-26-2002, 12:49 PM: Message edited by: captaindrewle ]</small>
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
It exists and is part of the SDK, last time I checked. Are you sure you installed the SDK for OS X 10.1 and not the Jaguar SDK?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
I installed:
Apple Bluetooth Preview 2 (09 May 2002)
This installer package provides Preview Release 2 Software drivers and apps, developer documentation, sample code, and API's necessary to develop Bluetooth software. This installer is compatible with Mac OS X v10.1.4.
It's the only bluetooth SDK that I have in my ADC account and I don't think it's a Jaguar SDK.
I emailed Apple about it (bluetooth@apple.com).. maybe they'll help me locate the missing header file. <img border="0" alt="[Hmmm]" title="" src="graemlins/hmmm.gif" />
-Cpt'n
<small>[ 07-27-2002, 09:40 PM: Message edited by: captaindrewle ]</small>
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: MD, USA
Status:
Offline
|
|
I gave up and rebuilt my ibook from scratch. <img border="0" title="" alt="[Eek!]" src="eek.gif" />
I installed all of the updates until I got to version 10.1.4. Then I installed the Buletooth Preview 2 SDK and everything is there now!
The problem must have been due to the installation of either the 10.1.5 update or the Apple Bluetooth Technology Preview 2.1 (this is the package that doesn't include the SDK) before I installed the Bluetooth SDK. <img border="0" alt="[Skeptical]" title="" src="graemlins/bugeye.gif" />
Well, thanks for everyones help. Now I can get to some coding..
-Cpt'n
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|