BlueZ的學習資源推薦

本文鏈接:https://blog.csdn.net/cql342624757/article/details/40216775
                

衆所周知,現在很多設備開始用上類藍牙4.0技術,在linux上的藍牙官方協議即爲Bluez了。
但是關於BlueZ的文檔和學習資料卻非常少。
我最近需要在nao機器人的操作系統上(linux的gentooo發行版)接收ibeacon的信息(通過接收藍牙4.0的數據報,然後進行解析)
然而因爲各種原因我需要對Bluez的一些工具進行移植,C++藍牙編程是我唯一的解決方案,經過學習和折騰之後,總算是有了些頭緒,接下來將我的學習經驗分享給大家,水平有限,歡迎大家指正。

首先貼出一些藍牙的學習資源:

Bluez官網:http://www.bluez.org/,可查閱的資料非常少,但是源碼都推薦在這個網站下載

Bluetooth的wiki(瞭解協議組成很有幫助):http://en.wikipedia.org/wiki/Bluetooth#Bluetooth_protocol_stack

Howto run Bluez:http://www.stlinux.com/kernel/bluetooth/how-to-run-BlueZ關於運行Bluez工具的一些說明不全

用hcitool以及hcidump解析ibeacon藍牙數據報(對解析BLE設備的數據非常參考價值):

http://stackoverflow.com/questions/21733228/can-raspberrypi-with-ble-dongle-detect-ibeacons/21790504#21790504


Linux下Bluez的編程實現:(國內比較詳細介紹Bluez的博客,贊一個)
http://blog.csdn.net/kobbee9/article/details/7751372


實戰LinuxBluetooth編程:(國內關於Bluez很詳細的博客,很贊):
http://blog.sina.com.cn/s/blog_602f87700100e0vb.html


AnIntordunction to BluetoothProgramming:(國外對藍牙編程介紹很詳細的博客,雖然比較老,但非常贊,很有參考意義,包括了C和python語言)
http://people.csail.mit.edu/albert/bluez-intro/c33.html

Hcidump使用:http://blog.csdn.net/newtonnl/article/details/8073559
這是個非常好的工具,可以獲取原始的藍牙數據報,不過需要先用lescan工具開啓le模式

Bluez相關的各種tools的使用(主要用到hcidump):http://blog.163.com/seven_7_one/blog/static/16260641220116892928675/

Bluez的移植和配置:http://blog.chinaunix.net/uid-20723653-id-1886857.html


Ubtuntu和BlueZBLE:http://wv1124.iteye.com/blog/2025637

AndroidBluetooth介紹:http://blog.csdn.net/xubin341719/article/details/38584469

pybluez(python藍牙編程類庫):https://code.google.com/p/pybluez/
————————————————
版權聲明:本文爲CSDN博主「舟」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/cqlboat/article/details/40216775

發佈了30 篇原創文章 · 獲贊 54 · 訪問量 13萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章