Android藍牙-設備類型之getMajorDeviceClass

廢話 做藍牙framework已經一年多了,前段時間不太忙,自己做了一個藍牙demo,遇到坑也不少,在這裏記錄一下,以便以後碰到能迅速查閱 設備連接的時候需要通過設備的類型來創建不同的profile: int deviceType = device.getBluetoothClass().getMajorDeviceClass(); 下面來一步步分析底層是怎麼得到這個deviceType 先看de
相關文章
相關標籤/搜索