star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
83 stars 54 forks source link

StarIO10CommunicationError: Open failed. #45

Open prashant828 opened 2 years ago

prashant828 commented 2 years ago

StarIO10CommunicationError: Open failed.

I get printer instance from discovery function, and use that instance to open connection. But it fails, can anybody help ?

bandit-ibayashi commented 1 year ago

So far our verification has not shown like this report.

Thank you in advance.

gare-bear commented 1 year ago

@prashant828 please update your post to include all the information we requre in our bug report template

zacdemi commented 7 months ago

This has happened to us a couple times. If we restart the device, forget the bluetooth connection and reconnect then the error goes away.

shriganesh64 commented 4 months ago

react-native info -

System:
  OS: macOS 14.0
  CPU: (8) arm64 Apple M1
  Memory: 82.48 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.0.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.10
    path: /usr/local/bin/yarn
  npm:
    version: 9.8.1
    path: /opt/homebrew/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.14.0
    path: /Users/shriganeshh/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.0
      - iOS 17.0
      - macOS 14.0
      - tvOS 17.0
      - watchOS 10.0
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10811636
  Xcode:
    version: 15.0.1/15A507
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 2.7.4
    path: /Users/shriganeshh/.rvm/rubies/ruby-2.7.4/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.5
    wanted: 0.72.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

sw_vers -

ProductName:        macOS
ProductVersion:     14.0
BuildVersion:       23A344

Device information in which this issue occurs -

Device name - iPhone 14
OS - iOS 17

Printer -

Model name - TSP143IIIBI
Interface Type - Bluetooth
Firmware version - 3

The issue is on iOS, the connectivity works perfectly but when I try to open the printer, it gives me the error StarIO10CommunicationError: Open failed. But the same functionality works on Android.

FYR - I've also tried the soution given by @zacdemi, didn't work for me.

can-miki commented 2 weeks ago

@shriganesh64 So far, no such report has emerged from our verification. However, we would like to confirm this. Can you provide specifics on how to reproduce this?