通过蓝牙功能的微控制器,通过制作Android手机通话 [英] Making Calls through Android phone via bluetooth enabled micro controller

查看:270
本文介绍了通过蓝牙功能的微控制器,通过制作Android手机通话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的最终目标是有一个微控制器,带有蓝牙通过蓝牙通过任何支持蓝牙的手机拨打电话。我现在有一个Android手机,这将是巨大的,如果我可以拨打电话到这一点,但我愿意购买任何手机。

my end goal is have a microcontroller with bluetooth make calls through any bluetooth enabled phone via bluetooth. I currently have an android phone and it would be great if i could place calls onto that, but i am willing to purchase any phone.

这是我的高级设计和我有一个知识的缺乏,当涉及到手机的胆量。目前,我可以从我的微交谈称为BlueTerm Android应用程序,这仅仅是蓝牙终端,所以我知道微端已经准备就绪。

This is for my senior design and i have a lack of knowledge when it comes to the guts of cell phones. I currently can talk from my microcontroller to an Android app called BlueTerm, which is just a terminal for bluetooth, so i know the micro side is ready to go.

林假设进行呼叫通过电话,您可以使用AT命令?

Im assuming that to place calls through a phone, you use AT commands?

在Android看到我的蓝牙设备,但是他说配对,但无法连接。林假设有一些标准协议,让手机同步到蓝牙设备?

The android sees my bluetooth device, but says "paired, but not connect". Im assuming there is some standard protocol and allow the cell phone to sync to the bluetooth device?

我不konw很多关于这个问题的。如果你可以是任何援助,或可以点我在正确的方向,这将是极大的AP preciated。

I dont konw much on this subject. If you could be of any assistance or could point me in the right direction, it would be greatly appreciated.

推荐答案

也许是坏的消息第一:

的Andr​​oid本身并不提供任何种类的调制解调器功能等。意思是:有没有AT建于通过蓝牙控制手机的命令

Android itself does not provide any kind of "modem" functionality or the like. Means: There are no AT commands built in to control the phone via bluetooth.

好消息是:在Android手机可以在几乎任何你可以通过适当的应用程序想办法加以控制。

The good news is: The Android phone can be controlled in almost any way you can think of by an appropriate app.

您可能想要去(如果你想坚持到Android)的方式是这样写你自己的特定Android应用这

The way you might want to go (if you want to stick to Android) is thus to write your own specific Android app which


  1. 处理来自μC蓝牙连接/(BlueTerm显然这是否成功),以及

  2. 接受通过已建立的连接BT收到来自μC命令,然后根据需要,如拨打电话,发送短信,播放声音,你的名字将执行Android设备上的任何操作。

有关Android应用程序开发一开始,你可以去 http://developer.android.com/ index.html的。如果你还没有写Android应用程序之前,prepared学习的的很多的新概念。

For a start on Android app development, you may go to http://developer.android.com/index.html. If you haven't written Android apps before be prepared to learn a lot of new concepts.

也许你可以利用一个或两个例子的应用程序,如蓝牙聊天

Maybe you can leverage one or two of the example apps, like "Bluetooth Chat".

在Android看到我的蓝牙设备,但是他说配对,但无法连接。

The android sees my bluetooth device, but says "paired, but not connect".

这只是表明您μC的蓝牙模块和手机之间配对成功,并且存储在配对信息的电话,让没有密码的重复输入将来的连接。在未连接部分的的暗示当前没有与指定的设备建立的连接,但是,我的手机上我从来没有见过一个配对并连接或类似的。不知道为什么。

This is just the indication that pairing between your µC's Bluetooth module and the phone was successful and that the phone stored the pairing information to allow future connections without repeated input of a PIN. The "not connected" part should imply that there is no connection currently established with the named device, however, on my phone I have never seen a "paired and connected" or similar. Not sure why.

林假设有一些标准协议,让手机同步到蓝牙设备?

Im assuming there is some standard protocol and allow the cell phone to sync to the bluetooth device?

对于Android,谷歌入驻只实现RFCOMM蓝牙连接,这是最高人民检察院串口仿真这也许是一个特别的只是你的蓝牙模块和BlueTerm使用。

For Android, Google settled for implementing only RFCOMM Bluetooth connections, a special one of those being the SPP serial port emulation which is probably just what your BT module and BlueTerm use.

这篇关于通过蓝牙功能的微控制器,通过制作Android手机通话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆