检测到:中文 » 英语 自动翻译 人工翻译 Connection state how to disconnect the DSPS device and a mobile phone

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
zhangtinglu8888
Offline
Last seen:5 months 3 days ago
加入:2015-06-15 07:20
检测到:中文 » 英语 自动翻译 人工翻译 Connection state how to disconnect the DSPS device and a mobile phone

As title, now use DSPS device and mobile phone connection is established, because there is verify the login, if login authentication failure, need to take the initiative to disconnect, DSPS device needs to call the function, can take the initiative to disconnect with cell phones

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi zhangtinglu8888,

Hi zhangtinglu8888,

I am not sure i get the question, if you are using security the device will disconnect by default if the authentication fail (if the user enters a wrong pass key), if you would like the device to disconnect under specific circustances that will be defined by the use case, then you can invoke the app_easy_gap_disconnect() function with the appropriate reason (CO_ERROR_REMOTE_USER_TERM_CON) in order for your peripheral to trigger a disconnection from the central.

Thanks MT_dialog

zhangtinglu8888
Offline
Last seen:5 months 3 days ago
加入:2015-06-15 07:20
thanks

thanks