Comments (2)
Logs:
W/McuManager: Connecting...
W/McuManager: gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, LE 1M)
D/BluetoothGatt: connect() - device: FC:50:6E:F3:B5:AC, auto: false
D/BluetoothGatt: registerApp()
D/BluetoothGatt: registerApp() - UUID=c18314e7-a577-4cd6-9066-f6434f81fa9e
W/UM: onUpgradeStarted
W/UM: onStateChanged: NONE -> VALIDATE
D/BluetoothGatt: onClientRegistered() - status=0 clientIf=23
D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=23 device=FC:50:6E:F3:B5:AC
W/McuManager: [Callback] Connection state changed with status: 0 and new state: 2 (CONNECTED)
W/McuManager: Connected to FC:50:6E:F3:B5:AC
W/McuManager: wait(300)
W/McuManager: Discovering services...
W/McuManager: gatt.discoverServices()
D/BluetoothGatt: discoverServices() - device: FC:50:6E:F3:B5:AC
D/BluetoothGatt: onConnectionUpdated() - Device=FC:50:6E:F3:B5:AC interval=6 latency=0 timeout=500 status=0
D/BluetoothGatt: onSearchComplete() = Device=FC:50:6E:F3:B5:AC Status=0
W/McuManager: Services discovered
W/McuManager: Primary service found
W/McuManager: Requesting new MTU...
W/McuManager: gatt.requestMtu(515)
D/BluetoothGatt: configureMTU() - device: FC:50:6E:F3:B5:AC mtu: 515
D/BluetoothGatt: onConfigureMTU() - Device=FC:50:6E:F3:B5:AC mtu=252 status=0
W/McuManager: MTU changed to: 252
W/McuManager: gatt.setCharacteristicNotification(da2e7828-fbce-4e01-ae9e-261174997c48, true)
D/BluetoothGatt: setCharacteristicNotification() - uuid: da2e7828-fbce-4e01-ae9e-261174997c48 enable: true
W/McuManager: Enabling notifications for da2e7828-fbce-4e01-ae9e-261174997c48
W/McuManager: gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00)
W/McuManager: Data written to descr. 00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
W/McuManager: Notifications enabled
W/McuManager: Sending (10 bytes) Header (Op: 0, Flags: 0, Len: 2, Group: 1, Seq: 0, Command: 0) CBOR {}
W/McuManager: Writing characteristic da2e7828-fbce-4e01-ae9e-261174997c48 (WRITE COMMAND)
W/McuManager: gatt.writeCharacteristic(da2e7828-fbce-4e01-ae9e-261174997c48)
W/McuManager: Data written to da2e7828-fbce-4e01-ae9e-261174997c48, value: (0x) 00-00-00-02-00-01-00-00-BF-FF
D/BluetoothGatt: onConnectionUpdated() - Device=FC:50:6E:F3:B5:AC interval=36 latency=0 timeout=500 status=0
W/McuManager: Notification received from da2e7828-fbce-4e01-ae9e-261174997c48, value: (0x) 01-00-00-86-00-01-00-00-BF-66-69-6D-61-67-65-73-9F-BF-64-73-6C-6F-74-00-67-76-65-72-73-69-6F-6E-65-30-2E-30-2E-30-64-68-61-73-68-58-20-00-DD-D0-C1-31-E9-E7-7C-68-53-FB-92-49-BD-F4-6E-14-95-52-3F-FF-42-00-3D-F3-99-C7-71-2C-F7-C2-69-68-62-6F-6F-74-61-62-6C-65-F5-67-70-65-6E-64-69-6E-67-F4-69-63-6F-6E-66-69-72-6D-65-64-F5-66-61-63-74-69-76-65-F5-69-70-65-72-6D-61-6E-65-6E-74-F4-FF-FF-6B-73-70-6C-69-74-53-74-61-74-75-73-00-FF
W/McuManager: Received Header (Op: 1, Flags: 0, Len: 134, Group: 1, Seq: 0, Command: 0) CBOR {"images":[{"slot":0,"version":"0.0.0","hash":"AN3QwTHp53xoU/uSSb30bhSVUj//QgA985nHcSz3wmk=","bootable":true,"pending":false,"confirmed":true,"active":true,"permanent":false}],"splitStatus":0}
W/UM: onUpgradeCompleted
D/BluetoothGatt: onConnectionUpdated() - Device=FC:50:6E:F3:B5:AC interval=36 latency=0 timeout=42 status=0
W/UM: onUpgradeFailed in state NONE: Transaction 0 timed out without receiving a response
from mcumgr-android.
@philips77 See PR #85 for fix.
from mcumgr-android.
Related Issues (20)
- requiresDefragmentation in McuMgrResponse is lying HOT 3
- Sample app fails to update nrf52840 HOT 3
- Stats may overflow java Integer.
- LogManager response with invalid format HOT 5
- Comprehensive Unit Tests
- Make mcumgr-core a non-android jvm module.
- Complete nullability annotations HOT 1
- About License HOT 1
- NFFS removed from Zephyr HOT 4
- Sample app creates new McuMgrTransport each time MainActivity is recreated
- crashing on FirmwareUpgradeManager start() HOT 2
- Allow saving downloaded file
- No progress info in 0.12.0-beta3 HOT 2
- Errors during RESET step HOT 5
- Sample does not work with Zephyr SMP server HOT 2
- Multi-image support HOT 1
- Sample App fails to update nrf52840 HOT 3
- onUpgradFailed gets called but update continues HOT 5
- Upgrade reverts to old image when device is restarted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcumgr-android.