我可以在我想要將數據發送到該掃描設備後,從我的android應用程序掃描ble設備。怎麼做?請與我分享示例代碼,如果有的話。如何在android中將數據寫入BLE設備
我提到回答有人在這裏問同樣的問題[Working with BLE Android 4.3 how to write characteristics?
,但我沒有得到下面的代碼我喜歡上面的代碼
BluetoothGattService Service = mBluetoothGatt.getService(your Services);
Here what is `your seervice`
BluetoothGattCharacteristic charac = Service
.getCharacteristic(your characteristic);
Here what is `your characteristic`
請解釋
感謝
你試過github的例子嗎?如果還沒有,請通過gihub,這會給你廣泛的例子! – 2015-02-11 12:27:04
感謝您的rply,你能分享我鏈接@ JiteshUpadhyay – Prasad 2015-02-11 12:34:07