Вы не расписали свою последовательность действий подключения bluetooth, чтобы нам ее проверить. Поэтому приводим свой сценарий, который приводит к успешному подключению портативной кассы марки Меркурий на Raspberry PI.
1. Настройка опции 86 в значение 3.
2. В консоли Raspberry PI выполнены следующие команды и получены ответы на них.
Код: Выделить всё
pi@raspberrypi:~ $ sudo bluetoothctl
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:10:DC:E9:6C:51 Discovering: yes
[NEW] Device A4:86:AE:B8:D5:FE Mercury-185F
[bluetooth]# scan off
[bluetooth]# pair A4:86:AE:B8:D5:FE
Attempting to pair with A4:86:AE:B8:D5:FE
[CHG] Device A4:86:AE:B8:D5:FE Connected: yes
Request PIN code
[agent] Enter PIN code: 123456
[CHG] Device A4:86:AE:B8:D5:FE Modalias: bluetooth:v0046p0802d0903
[CHG] Device A4:86:AE:B8:D5:FE UUIDs: 00001101-0000-1000-8000-00805f9b34fb
[CHG] Device A4:86:AE:B8:D5:FE UUIDs: 00001105-0000-1000-8000-00805f9b34fb
[CHG] Device A4:86:AE:B8:D5:FE UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device A4:86:AE:B8:D5:FE UUIDs: 0000111f-0000-1000-8000-00805f9b34fb
[CHG] Device A4:86:AE:B8:D5:FE UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device A4:86:AE:B8:D5:FE ServicesResolved: yes
[CHG] Device A4:86:AE:B8:D5:FE Paired: yes
Pairing successful
[CHG] Device A4:86:AE:B8:D5:FE ServicesResolved: no
[CHG] Device A4:86:AE:B8:D5:FE Connected: no
[bluetooth]# exit
pi@raspberrypi:~ $ sudo rfcomm bind 0 A4:86:AE:B8:D5:FE 13