site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Txx7bcmUeE6UuD/rs3rgu8z/DDqbeEIn1oceP8mPjwGXpWiIGiiVyg7mv1kk6w5hGDjHr2xj3yYKefQhfN5mME813Olk/n+vc5uU5AQjKWfr0+9iSCA81D3CFEDmnYHG7qaxeiA2M578K35gmY8sARrhNuVQzrHAgWeYVPVr7vg= ; Hi Marco, Thanks for the example. Really commenting the writeSync invocation your code works and I can see all the gps string in the window. So probably there is a problem with my code because I'm trying to call objective-c methods via squeak using a squeak/objective-c bridge and as far as I can see I can open a bluetooth connection but no gps data are transferred. If I make some progress I'll post. Thanks Davide --- Marco Pontil <mpontil@apple.com> wrote:
The sample is written with a modem (or phone) serial port in mind. But if you comment the line:
[rfcommChannel writeSync:"ATZ\n" length:4];
it will probably work right away (or with minor modifications) with you GPS module (I did not try tough)
... Marco

On Feb 15, 2006, at 4:05 PM, Davide Varvello wrote:
Hi, I can't figure out how to code a simple client that receive data from a bluetooth GPS device. I think I should open an RFMCOMM connection but reading the list and apple samples hasn't help me yet. Can you, please, post some lines of code to shed a light on this question? TIA Davide
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bluetooth-dev/mpontil%
40apple.com
This email sent to mpontil@apple.com
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com