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

Connection lost

Hi, I am trying to connect N51422 server to anther vendor's client... the devices always disconnect after 30 seconds of connection. I found that the reason of the disconnection in the N51422 is: BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION 0x13

Also, I checked the log of client and master connection form the different vendor, and I saw some events that not happen when I try to connect Nordic - other Vendor. The events are: SCPC - Client Enable Complete, SCPS - Server Enable Complete

Slave(Server): Nordic N51422 with s110_nrf51822_7.1.0 softdevice, nrf51_sdk_v6_1_0_b2ec2e6 SDK,Using the template application. Master(Client): Renesas RL78, Using my application. For some reason when I am connecting Renesas with Nordic I don't get the RBLE_SCP_Clinet_Enable event in the Master(Renesas). But I see that event when I connect Renesas to Renesas. The Renesas - Nordic connection is dropped after 30sec.

RBLE_SCP_Clinet_Enable: This function is used to enable the SCP Client role. When connecting to the SCP Server device for the first time, set con_type to RBLE_SCP_CON_CFG, and perform the configuration connection to discover service on the SCP Server device. The result is notified by the client role enable completion event RBLE_SCP_EVENT_CLIENT_ENABLE_COMP, save the obtained service information at this time. When connecting to the SCP Server device for the second or subsequent time, set con_type to RBLE_SCP_CON_NORMAL, and perform the normal connection by using saved service information. The service discovery is skipped and the Client role can be enabled in shorter time.

Thanks,

Parents Reply Children
No Data
Related