react-native-bluetooth-escpos-printer icon indicating copy to clipboard operation
react-native-bluetooth-escpos-printer copied to clipboard

Please add new type in pairedDeivce for device identification

Open dipeshpanamax opened this issue 2 years ago • 1 comments

RNBluetoothManagerModule -> enableBluetooth please new code inside on enableBluetooth method.

obj.put("majorDevice", d.getBluetoothClass().getMajorDeviceClass());

using this we can identify the type of device return from android side. Thanks in advance. image

dipeshpanamax avatar Oct 17 '22 13:10 dipeshpanamax

Hi @dipeshpanamax , what are the possible values of d.getBluetoothClass().getMajorDeviceClass() and how this is helpful, do you mind sharing more info please?

shubham-s3 avatar Jan 21 '24 05:01 shubham-s3