Read Serial Data from Bluetooth Device to Aplicationp

Discussion in 'iOS Programming' started by rajneesh.deora, Jun 17, 2009.

  1. rajneesh.deora macrumors newbie

    Joined:
    Aug 19, 2008
    #1
    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
     
  2. badmac78 macrumors 6502

    Joined:
    Jan 15, 2008
    Location:
    Atlanta
    #2
    Any success?
     
  3. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
  4. rajneesh.deora thread starter macrumors newbie

    Joined:
    Aug 19, 2008
    #4
    Yes This Device is under MFi program...
    But still anybody let me know how Apple will help us...

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

Share This Page