PDA

View Full Version : Read Serial Data from Bluetooth Device to Aplicationp




rajneesh.deora
Jun 17, 2009, 08:52 AM
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:@"Marshall Tracker Simulator" forProtocol:@"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



badmac78
Jul 2, 2009, 08:44 AM
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:@"Marshall Tracker Simulator" forProtocol:@"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?

firewood
Jul 2, 2009, 12:20 PM
Did you join Apple's MFi program?

rajneesh.deora
Jul 3, 2009, 01:30 AM
Did you join Apple's MFi program?

Yes This Device is under MFi program...
But still anybody let me know how Apple will help us...

Anticipating a positive Response..
Thanks,
Raj...