Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No interface #5

Open
marsiliflavio opened this issue Apr 7, 2023 · 0 comments
Open

No interface #5

marsiliflavio opened this issue Apr 7, 2023 · 0 comments

Comments

@marsiliflavio
Copy link

Hi,
i have a problem. my code wich use with tsc printer BT. The connection si perfect, promise is ok but when call write method receive No Interface? Ex in Adroid with Codova 11. AA:BB:CC:DD:EE:FF is example. I have verified wich a SSP is "00001101-0000-1000-8000-00805F9B34FB"

bluetoothClassicSerial.connect("AA:BB:CC:DD:EE:FF", '00001101-0000-1000-8000-00805F9B34FB', function() {
//alert("conneted"); the connection is ok and the led blu into printer is on
let data = 'TEXT 10,10,"2",0,1,1,"FONT 2"'; //TSPL language for TSC printer sent as text
bluetoothClassicSerial.write('00001101-0000-1000-8000-00805F9B34FB', data, function() {

}, function(error) {
alert(error); //No Interface
});
}, function(error) {

});

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant