This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Android-Image-Transfer-Demo with NEXUS 6P

Greetings,

NEXUS 6P I am trying to run the Android-Image-Transfer-Demo with a nexus 6P. So the application compiles and loads fine into the phone, but whenever i try to attempt a connection to the NRF board, the NRF immediately disconnects the connection. Is there potentially a different setting i need for changing timeouts and/or the amount of data that is allowed to be transferred. When debugging, I do see a method exceeds compiler instruction which makes me think that is the problem, any thoughts?

debug trace from android studio:

I/lbs_tag_service: Connected to GATT server.
D/BluetoothGatt: discoverServices() - device: E6:3E:72:F7:B1:96
D/image_transfer_main: UART_CONNECT_MSG
I/lbs_tag_service: Attempting to start service discovery:true
I/zygote64: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.<init>()
D/BluetoothGatt: onConnectionUpdated() - Device=E6:3E:72:F7:B1:96 interval=6 latency=0 timeout=500 status=0
D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=6 device=E6:3E:72:F7:B1:96
I/lbs_tag_service: Disconnected from GATT server.
D/image_transfer_main: UART_DISCONNECT_MSG
W/lbs_tag_service: mBluetoothGatt closed
D/BluetoothGatt: close()
D/BluetoothGatt: unregisterApp() - mClientIf=6
D/BluetoothAdapter: stopLeScan()
D/BluetoothAdapter: scan not started yet

SAMSUNG S6 I was able to borrow a co workers samsung S6 and the application and nrf5 board worked just fine.

Parents
  • well on the NRF side

    when i connect with a nexus i only get one ATT MTU exchange

    Connected Data len is set to 0xF4(244), or maybe 247 ATT MTU exchange completed. central 247 peripheral 247 Disconnected Change resolution to mode: 1

    with a samsung it goes through the entire operation, with two ATT MTU exchanges

    Connected Data len is set to 0xF4(244), or maybe 247 ATT MTU exchange completed. central 247 peripheral 247 ATT MTU exchange completed. central 247 peripheral 247 Con params updated: CI 6, 6 T1Con params updated: CI 39, 39 S1Stream mode enabled TWIM: Close - Interface closed SPIM - Spi master interface created Con params updated: CI 9, 9 Stream mode disabled

Reply
  • well on the NRF side

    when i connect with a nexus i only get one ATT MTU exchange

    Connected Data len is set to 0xF4(244), or maybe 247 ATT MTU exchange completed. central 247 peripheral 247 Disconnected Change resolution to mode: 1

    with a samsung it goes through the entire operation, with two ATT MTU exchanges

    Connected Data len is set to 0xF4(244), or maybe 247 ATT MTU exchange completed. central 247 peripheral 247 ATT MTU exchange completed. central 247 peripheral 247 Con params updated: CI 6, 6 T1Con params updated: CI 39, 39 S1Stream mode enabled TWIM: Close - Interface closed SPIM - Spi master interface created Con params updated: CI 9, 9 Stream mode disabled

Children
No Data
Related