Saturday, August 6, 2011

[android-developers] Connecting to a Zebra MZ 320 over bluetooth - without PIN

Hi,

I'm trying to connect an Android with such printer. The printer has
this information retrieved by BluetoothClass: Class: 1664/1536: Render

What (BluetoothClass.Service.)Render means? Is there a specific UUID
for it?

I tried to connect to the device using the well known SPP UUID,
however, Android keeps asking me for a PIN. The printer, with BT 2.0,
has authentication mode turned off.

I read in some places that Android requires a PIN to pair with a
device. I tried 0000 and 1234 as suggested by the pairing dialog but
the connection fails.

Isn't really a way to pair without setting a PIN? Otherwise, i'll have
to connect all 300 printers to a pc just to set a PIN so Android can
connect to it.

thanks in advance,

guich
www.totalcross.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment