ty-react-native-gm-bluetooth

react-native-gm-bluetooth

Usage no npm install needed!

<script type="module">
  import tyReactNativeGmBluetooth from 'https://cdn.skypack.dev/ty-react-native-gm-bluetooth';
</script>

README

React Native GM Bluetooth

fork from https://github.com/rusel1989/react-native-bluetooth-serial

请前往看其文档

增加了几个功能便于想打印机输入二进制

writeHexToDevice 输入指令 GMBluetooth.writeHexToDevice('1B 40');

writeTextToDevice 输入文本 GMBluetooth.writeTextToDevice('ReactNative and Bluetooth and Print');

doc 目录是佳博的demo和ESC TSC文档