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

can't discover nRF52832

Hello. Engineers. I'm a beginner in nRF52832, I'm looking for someone who can help me. I have nRF52832 development kit. I tried examples blankly with SDK14.0. It working well. examples are correct. After power on board and then if try to connect immediately, Phone can discover the nRF52832. But After a certain period of time, try to connect again, phone(Android) can't discover and connect the nRF52832. The chip seems to be power off automatically. Only when chip reset again, the phone can connect to chip. What's happens? nRF52832 chip have a sleep mode or idle process? Please teach me. I'm looking forward to helping me. Thank you for reading.

Parents
  • I had found out a solution. The reason is Advertising Timeout. Following Code(define macro) #define APP_ADV_TIMEOUT_IN_SECONDS 180 /**< The advertising time-out (in units of seconds). When set to 0, we will never time out. */ I changed 180 seconds to 0 seconds, Chip(nRF52832) don't stop advertising, and Android can re-connect again. Successful!! Thank you for reading.

Reply
  • I had found out a solution. The reason is Advertising Timeout. Following Code(define macro) #define APP_ADV_TIMEOUT_IN_SECONDS 180 /**< The advertising time-out (in units of seconds). When set to 0, we will never time out. */ I changed 180 seconds to 0 seconds, Chip(nRF52832) don't stop advertising, and Android can re-connect again. Successful!! Thank you for reading.

Children
Related