• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h


  • Subject: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
  • From: Brian OBrien <email@hidden>
  • Date: Wed, 29 Aug 2007 22:46:07 -0600

A few odd things are happening in XCode that I don't quite understand.

1) typedef struct OpaqueIOBluetoothDeviceInquiryRef * IOBluetoothDeviceInquiryRef;
In my class I define a member called _inquiry
IOBluetoothDeviceInquiryRef _inquiry;
The compiler says:
error: 'IOBluetoothDeviceInquiryRef' is used as a type, but is not defined as a type.


2) I added IOBluetoothUI.framework and IOBluetooth.framework to the project however I'm having linking errors:

internal link edit command failed:
Tool:0: __Z48IOBluetoothDeviceInquiryCreateWithCallbackRefConPv

The XCode product is a bluetoothcontrol.dylib

suggestions please?
TIA
Brian,

begin:vcard
fn:Brian O'Brien
n:O'Brien;Brian
org:Foothills Hospital / University Of Calgary;Seaman Family MR Research Center
adr:;;1403 29th St. NW;Calgary;AB;T2N 2T9;Canada
email;internet:email@hidden
title:PACS System Manager
tel;work:(403) 944-1637
tel;fax:(403) 270-7907
tel;home:(403) 770-0228
tel;cell:(403) 471-9459
x-mozilla-html:TRUE
url:www.imaginginformatics.ca
version:2.1
end:vcard

 _______________________________________________
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

  • Follow-Ups:
    • Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
      • From: Joseph Kelly <email@hidden>
  • Prev by Date: Re: Change local class of device/service (was emulate a BT printer)
  • Next by Date: error, IOBluetoothDeviceInquiryCreateWithCallbackRefCon is not available
  • Previous by thread: Re: Change local class of device/service (was emulate a BT printer)
  • Next by thread: Re: Making a C++ bluetooth class based on the C methods in IOBluetootUserLib.h
  • Index(es):
    • Date
    • Thread