Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rajneesh.deora

macrumors newbie
Original poster
Aug 19, 2008
21
0
Hi All,

I am using SDK 3.0 as i need to read the data using (Serial port protocol) from a bluetooth device.Its a wireless device
As Apple mentioned to use External Accessory framework for this.
But as i try to get created the session using

Esession=[[EASession alloc] initWithAccessory:mad:"Marshall Tracker Simulator" forProtocol:mad:"SPP"];

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/ExternalAccessory.framework/Headers/EASession.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'interface'.

Please help me how we can figure this out .
Any help will be appreciated.

Thanks,
Raj
 
Hi All,

I am using SDK 3.0 as i need to read the data using (Serial port protocol) from a bluetooth device.Its a wireless device
As Apple mentioned to use External Accessory framework for this.
But as i try to get created the session using

Esession=[[EASession alloc] initWithAccessory:mad:"Marshall Tracker Simulator" forProtocol:mad:"SPP"];

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/ExternalAccessory.framework/Headers/EASession.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'interface'.

Please help me how we can figure this out .
Any help will be appreciated.

Thanks,
Raj

Any success?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.