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

Bluetooth door lock

Hi

I have a custom who is using 52832 to develop a Bluetooth door lock, including a NB-iot module, The door lock is unlocked via app Bluetooth.

the question is : There is a certain probability that Bluetooth can't connect to the mobile phone, or after using the app to unlock, there is a certain probability that Bluetooth will be disconnected. At this time, Bluetooth can't be found by using another mobile phone, and other mobile phones can't find Bluetooth until the Bluetooth of the first mobile phone is turned off.

Test approach:
① Separate NB from Bluetooth power supply;
② no shell is installed and FPC antenna is used to lead out;
③ Disconnect the power supply of the motor;
None of the above test methods solve the problem.

the app log is as below:

and I don't know what the line 466 means

Best Regards!!!

  • log2020103.zip

    Hi, the Attachment is log files, please help me to search problem, thx!!!

  • Hi,

    Are there any application logging on the slave?

    Anyway to see if a reset has occurred on the device?

    Looks like most of the logs are ok, but I found a couple of strange disconnects:

    In log 5 packet 4466, the slave stops responding. timeout after 4 seconds, but the slave does not start to advertise again after timeout (should have been 4s). Application error?

    In log 5 packet 191. Seems to be a crc error, might be a mic error (in case it would be ok to drop the connection), but here the slave starts to advertise again after 5.3seconds, timeout is 5 seconds in this case.

    In log 5 packet 2527. This is a terminate ind from the master. most likely the master did not receive the ack as it retries the terminate ind until timeout. RSSI is low on the previous packet from the slave. out of range?

    Unfortunately I cannot see what is happening on the slave. And it seems you have tried to disconnect other devices that can affect the power supply, have you tried to measure the voltage on supplied to the nrf52832? note that to large fluctuations can reset the chip by triggering tyhe power fail circuitry.

Related