Dear all,
I am using a serial port bluetooth module WLS123A1M as a cable replacement between our test instrument and wireless portable printer (Oneil printer MF2te).
At this moment I use PC (SSCOM3.2 terminal) instead of microcontroller. Bluetooth module is set as a master device, printer works as a slave. Communication is set to 9600bps.
The bluetooth module sucessfully search for bluetooth devices in the near (e.g. my laptop, mobile phone and also the printer I want connect to). I also used the sequence \r\n+DLPIN\r\n before I tried to connect to BT printer.
When I use \r\n+CONN=0,80,37,2E,E9,DD\r\n (0,8037,2E,E9,DD is actual bluetooth printer address I want to connect to) the module
returns the following sequence:
+
+CONN=0,80
+CONN=0,80,37,2E,E9,
OK
+BTSTATE:3
+INPIN
CONNECT:FAIL
+BTSTATE:1
After +INPIN (PIN code is required) the module waits for about 20 seconds to get PIN from bluetooth printer. But the PIN can not be enetered on printer side (there is no keypad).
Is there any possibility how to remove PIN requesting from slave device? How can I establish wireless communication between BT module and the printer in other way? What I’m doing wrong?
Thank you in advance for any help.
Kindest regards,
Tommy