Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2541: OAD from Android Application

$
0
0

Part Number:CC2541

I made device based on CC2541 and ble_sdk_1.4.2.2 (OAD is enabled).
Device work fine.
OAD feature works fine when i use windows application "BLE device monitor" for upload firmware . I can upload any image( A or B image);

Currently i try to implement ability for updating firmware through OAD from android.
My android application is based on SensorTag sample. I had just disabled characteristic for setting timeout because this feature is not implemented in my firmware.

All my attempts to upgrade firmware through android application failed.

I've noticed that sometimes BluetoothGatt.writeCharacteristic(BluetoothGattCharacteristic characteristic) ; (android app) return false;

I suppose that it is cause of fail.

Could someone explain me what is wrong? Why windows app work fine and android app not.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>