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

Does not pair working with Bluetooth device like watch, TV and other devices excluding mobile device. #3

Open
VISHALBHAGWAT88 opened this issue May 24, 2019 · 1 comment

Comments

@VISHALBHAGWAT88
Copy link

VISHALBHAGWAT88 commented May 24, 2019

I am using same broadcast receiver for other devices but getting
final int state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR);
state value "11" for this and

final int prevState = intent.getIntExtra(BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE, BluetoothDevice.ERROR);
preState value "10" for this.

while pairing with other device.
how can i pair mobile device to other bluetooth device excluding ("mobile to mobile device:. its working fine.)

@Hashim-svg
Copy link

@VISHALBHAGWAT88 Can u please give me the apk and this project .... i am trying to connect esp32 through Bluetooth and try to send and receive data but my code doesn't scan

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

2 participants