Hi Guys/Gals,
I'm hoping someone can give me a pointer here about BlueTooth Connect Insecure. I have used Erels Serial/BlueTooth tutorial (thanks for that Erel - most informative) and got BlueTooth printing setup just fine. I wrote a general printer driver with suitable escape codes and I can print with no issues from my Android device, but when my app goes into the big wide world the users are going to want to connect printers I have never heard of and they will also want to use Insecure Pairings, as not everyone knows the PIN code for their printer. So I have been working on making my code as universal as I can.
Now I don't have any problem finding new printers (using BT Admin) and adding them to my list of available printers, but I do have a problem with ConnectInsecure, each time I try to use this command it STILL asks me for a PIN number, I thought that ConnectInsecure was just that and a PIN number was not needed, can someone explain to me why Android (3.2.1 in my case) is still asking for a pairing code.
Has anybody got a short few lines of code they are willing to share to show me how to use Connect Insecure to a printer without a pairing request from Android. I know for a phone or computer device connection you would want it paired but for printers it is not really required and Insecure will be adequate.
Thanks in advance for any help.
ItWorks
I'm hoping someone can give me a pointer here about BlueTooth Connect Insecure. I have used Erels Serial/BlueTooth tutorial (thanks for that Erel - most informative) and got BlueTooth printing setup just fine. I wrote a general printer driver with suitable escape codes and I can print with no issues from my Android device, but when my app goes into the big wide world the users are going to want to connect printers I have never heard of and they will also want to use Insecure Pairings, as not everyone knows the PIN code for their printer. So I have been working on making my code as universal as I can.
Now I don't have any problem finding new printers (using BT Admin) and adding them to my list of available printers, but I do have a problem with ConnectInsecure, each time I try to use this command it STILL asks me for a PIN number, I thought that ConnectInsecure was just that and a PIN number was not needed, can someone explain to me why Android (3.2.1 in my case) is still asking for a pairing code.
Has anybody got a short few lines of code they are willing to share to show me how to use Connect Insecure to a printer without a pairing request from Android. I know for a phone or computer device connection you would want it paired but for printers it is not really required and Insecure will be adequate.
Thanks in advance for any help.
ItWorks