Community
cancel
Showing results for 
Search instead for 
Did you mean: 
IBanc
New Contributor I
1,304 Views

Accept any incoming BT Connection

Hi,

I would like to know if it is possible to accept any incoming Bluetooth Connection (Android) by using a script to do all the work done by us via ssh to pair (LIKE ARDUINO).

The script should accept any incoming connection and when detects one, send text to the client.

Any of you having this kind of script and wish to share it?

 

Thank You!
3 Replies
idata
Community Manager
77 Views

Hello Iosif,

 

 

The short answer is: yes, but it might prove quite challenging. The long answer is that you will have to set the Edison to pair without any Linux input (as discussed in https://communities.intel.com/message/292975# 292975 https://communities.intel.com/message/292975# 292975), set the Bluetooth interface to be ready on boot (something similar to https://communities.intel.com/docs/DOC-102152 https://communities.intel.com/docs/DOC-102152), set the Bluetooth profile (something similar to https://communities.intel.com/docs/DOC-100754 https://communities.intel.com/docs/DOC-100754 if you'd like to send the texts through SPP) and your own scripting.

 

This is an interesting project and I encourage you to try it and let us know your output. Some other documents that are probably going to are:

 

 

http://www.intel.com/support/edison/sb/CS-035381.htm http://www.intel.com/support/edison/sb/CS-035381.htm

 

https://communities.intel.com/docs/DOC-111103 https://communities.intel.com/docs/DOC-111103

 

 

Peter.
IBanc
New Contributor I
77 Views

I can't connect from any app. I only can connect from settings (it is visible as a computer). I have my own app which is able to connect to arduino hc-05 but not to edison

bluetoothctl output:

[CHG] Device C0:EE:FB:43:9D:73 Connected: yes

[CHG] Device C0:EE:FB:43:9D:73 Connected: no

idata
Community Manager
77 Views

I can see that you posted the same question in https://communities.intel.com/thread/101689 https://communities.intel.com/thread/101689. I have replied to you there.

 

 

Peter.
Reply