adafruit / Adafruit_nRF52_Arduino

Adafruit code for the Nordic nRF52 BLE SoC on Arduino
Other
601 stars 489 forks source link

NRF52840 UART Problem #732

Open bromic1 opened 2 years ago

bromic1 commented 2 years ago

Describe the bug: I cannot send data from the device to my mobile using UART.

Set up

To Reproduce

Expected behavior

Sometimes it already doesnt work without the reset. Sending from the App to Controller always works. Strange is that when I comment out the blebas lines it works as exprected When you leave Uart mode in the App and go back to Uart it also works even with blebas. But the red LED is blinking twice. It seem that there is an interference with blebas.

hathach commented 2 years ago

could you provide the following info for analysis

  1. your mobile device: specific model + OS version
  2. If you have another device, maybe try to see if it is specific to that mobile
  3. the BSP Core version
  4. attached your compile log as txt file
  5. with un-modified bleuart example, set debug level 2 and post your Serial output log here as txt file image
bromic1 commented 2 years ago

I found out, that the problem only occurs when the mobile phone and controller are paired/bonded. My devices were still bonded. So maybe better take the example pairing_pin to reproduce. When I unbond the device from mobile phone / tablet it works. Do you still need the other information?

hathach commented 2 years ago

@bromic1 thanks for the extra info, though I still need all the information 1-5 as mentioned in above post for reproducing.