英文:
How to interact to LMP of HC-05 bluetooth module?
问题
- HC-05模块是蓝牙控制器吗?
- 如果它是一个控制器,我们可以为其编写主机堆栈吗?
- 它能否替代安卓手机中的任何蓝牙芯片(例如高通骁龙的WCN蓝牙芯片)?
换句话说,我们能否将该模块与安卓的Fluoride蓝牙堆栈进行接口? - 它能否替代安卓手机中的任何蓝牙芯片(例如高通骁龙的WCN蓝牙芯片)?
换句话说,我们能否将该模块与高通的BT堆栈或安卓的Fluoride蓝牙堆栈进行接口?
注意:当然,就功能和性能而言,它与高通的蓝牙芯片无法相提并论,但我们是否能够通过Fluoride蓝牙堆栈向该控制器发送一些基本命令(例如查询命令)? - 我们能否直接与HC-05模块的LMP通信?如果可以,如何向HC-05控制器发送LMP命令?
- 我可以修改HC-05的固件吗?
英文:
Kindly help to enlighten me about the following queries. Thanks in advance.
-
Is HC-05 module a Bluetooth controller?
-
If it is a controller, can we write a host stack for it?
-
Can it replace any Bluetooth chip (e.g WCN Bluetooth chip of snapdragon by Qualcomm) in an android phone?
in other words, can we interface this module with the android fluoride BT Stack?
-
Can it replace any Bluetooth chip (e.g WCN Bluetooth chip of snapdragon by Qualcomm) in an android phone?
in other words, can we interface this module with Qcom BT stack or android fluoride BT Stack?
Note: Of course, it is not comparable with Qualcomm BT chip functionality and performance-wise, but still can we send some basic commands (e.g Inquiry command) to this controller through the fluoride BT stack?
-
Can we directly communicate with the LMP of HC-05 module? And if yes, what is the way to send LMP commands to the HC-05 controller?
-
Can I modify the firmware of HC-05?
I tried to find the answers on internet but I found no satisfactory answers.
答案1
得分: 2
是的,HC-05模块是蓝牙控制器。它使用CSR-BC417芯片(https://cdn.sparkfun.com/datasheets/Wireless/Bluetooth/CSR-BC417-datasheet.pdf)。
是的,它是一个控制器,可以为其编写主机堆栈(参考上面的PDF)。
可以替代某些蓝牙芯片,但可能需要自定义驱动程序。
可能可以,但需要定制固件。
可能可以,具体取决于在Android上的实现方式。
是的,可以直接与HC-05模块的LMP通信,可以使用HCI接口发送LMP命令。
可以修改HC-05的固件,因为它支持上传自定义固件。
简单搜索“HC-05芯片”和“HC-05原理图”可以找到所有答案。
附加信息:有关CSR芯片编程的更多信息,请参考https://github.com/lorf/csr-spi-ftdi。
英文:
> Is HC-05 module a Bluetooth controller?
Yes, it is. It uses CSR-BC417 chip (https://cdn.sparkfun.com/datasheets/Wireless/Bluetooth/CSR-BC417-datasheet.pdf)
Diagram (https://www.researchgate.net/figure/Pin-Diagram-of-HC-05-Module_fig2_318283686)
> If it is a controller, can we write a host stack for it?
Yes, why not (refer to PDF above)
> Can it replace any Bluetooth chip (e.g WCN Bluetooth chip of snapdragon by Qualcomm) in an android phone?
Yes and no. As it implemets standard Bluetooth HCI interface it can be done but any way you need driver.
> in other words, can we interface this module with the android fluoride BT Stack?
Probably yes, but I'm not very familiar with Android. And may require custom firmware
> Can it replace any Bluetooth chip (e.g WCN Bluetooth chip of snapdragon by Qualcomm) in an android phone?
> in other words, can we interface this module with Qcom BT stack or android fluoride BT Stack?
Probably yes. Depends on how it is implemente don Android.
> Can we directly communicate with the LMP of HC-05 module? And if yes, what is the way to send LMP commands to the HC-05 controller?
Yes, as based on PDF above it supports HCI interface.
> Can I modify the firmware of HC-05?
Yes as it allows to upload firmware nothing prevents from upload custom one.
Just simple googling with "HC-05 chip" and "HC-05 schematic"gives all the answers.
Edited: Here is more information about CSR chips programming: https://github.com/lorf/csr-spi-ftdi
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论