Hi, Dialog,
When I run DSPS on a custom board with ARCH_SLEEP_OFF,the mobile App scanner can correctly list the service information after connection.However, if I run it with ARCH_EXT_SLEEP_ON,the service information can not be listed(the code of app_on_connection is called), the device disconnected with error code 62. What might be the problem.
Thank you!
liaobme
Keywords:
Device:
Hi liaobme,
Your description is quite generic, if you have extended sleep activated i suppose that you see that the device is advertising, and since the app_on_connection is triggered then you can connect, the error code that you mention 62 doens't help, check the reason on the disconnection callback in order to check the reason the the 580 reported for the disconnection.
Thanks MT_dialog
Hi, Dialog,
Actually, the 62(0x3E) is the reason obtained at disconnection callback, what does that mean?
Thank you
liaobme
Hi liaobme,
The 0x3E is just a generic message, it corresponds to CO_ERROR_CONN_FAILED_TO_BE_EST, which just states that the connection has failed to be established. If you are able to establish a connection with no sleep but not when implement sleeping i suppose that this indicates issues with your low power clock, do you use the RCX or an XTAL32 as LP clock ?
Thanks MT_dialog
Hi, Dialog,
The problem solved when DA14580 powered from battery instead of USB line.
Thank you.