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

Why i can't debug Nordic supply nRF UART App source code in my Google nexus 7 II ?

I tried to debug Nordic provided Uart App code on the Google Nexus 7 II device.

But I found a problem, when I remove: LocalBroadcastManager.getInstance(this).registerReceiver(UARTStatusChangeReceiver, makeGattUpdateIntentFilter()); function, I can debug, but after connecting to the device, APP will crash.

If not removed, then at a start of the operation, it can not debug.

Parents
  • Hi Michael,

    Could you be more specific on what happens when you start debugging without removing the line of code ?

    Have you been able to debug other examples ? Sometimes, I have trouble connecting the Nexus 7 to PC, I have to chose connecting the device as Camera (PTP) to be able to run app and debug.

    If you remove the line of code, most likely you will not receive any event from the UART service.

Reply
  • Hi Michael,

    Could you be more specific on what happens when you start debugging without removing the line of code ?

    Have you been able to debug other examples ? Sometimes, I have trouble connecting the Nexus 7 to PC, I have to chose connecting the device as Camera (PTP) to be able to run app and debug.

    If you remove the line of code, most likely you will not receive any event from the UART service.

Children
No Data
Related