Hi everybody
I make an application which combine ANCS and NUS services on my device (nrf51 SDK 9.0.0,softdevice 8.0) This application works properly when I use IOS device . when I try to connect to an Android phone to test only NUS, but android phone cann't connect to my device, I can saw log by Master Control Panel in the following:
111649;15:57:43.9469 [480106844][ScriptMethodCallThread] ----------------------------
111650;15:57:43.9469 [480106844][ScriptMethodCallThread] Connected to device
111651;15:57:43.9469 [480106844][ScriptMethodCallThread] Role: 0
111652;15:57:43.9469 [480106844][ScriptMethodCallThread] PeerAddressType: 1
111653;15:57:43.9469 [480106844][ScriptMethodCallThread] PeerAddress (MSB): E68DC55AFED2
111654;15:57:43.9469 [480106844][ScriptMethodCallThread] Connection Interval: 20.0ms
111655;15:57:43.9469 [480106844][ScriptMethodCallThread] Connection Latency: 0
111656;15:57:43.9479 [480106844][ScriptMethodCallThread] Supervision Timeout: 3000ms
111657;15:57:43.9479 [480106844][ScriptMethodCallThread] Clock Accuracy: (1)
111658;15:57:43.9479 [480106844][ScriptMethodCallThread] ----------------------------
111659;15:57:43.9479 [480106844][ScriptMethodCallThread] Connected to address: E68DC55AFED2
111660;15:57:43.9479 [480106844][ScriptMethodCallThread] Starting a Read Information Request on the whole remote DB
111661;15:57:43.9489 [480106844][ScriptMethodCallThread] WRITE DATA PACKET:05-00-04-00-04-01-00-FF-FF
111662;15:57:43.9489 [480106844][ScriptMethodCallThread] Sending packet: AttFindInformationRequest, 04-01-00-FF-FF, StartHandle: 0x0001, EndHandle: 0xFFFF
111663;15:57:43.9509 [480106844][ScriptMethodCallThread] Serial port write: 02-00-00-09-00-05-00-04-00-04-01-00-FF-FF
111664;15:57:43.9509 [480106844][ScriptMethodCallThread] Data buffer queue length (+1): 1
111665;15:57:43.9509 [480106844][ScriptMethodCallThread] Number of data packets sent: 2
111666;15:57:44.0259 [480106844][ReadPacketQueueThread] Serial port read: 04-05-04-00-00-00-3E
111667;15:57:44.0259 [480106844][ReadPacketQueueThread] HCI event: BTLE_EVENT_DISCONNECTION_COMPLETE ConnectionHandle: 0x0000, Reason: BTLE_CONN_FAILED_TO_BE_ESTABLISHED
111668;15:57:44.0279 [480106844][ReadPacketQueueThread] Received LL Connection Termination Event, reason 3E
111669;15:57:44.0299 [480106844][ScriptThread] Lost connection to device. Reason: BTLE_CONN_FAILED_TO_BE_ESTABLISHED
111670;15:57:44.0509 [480106844] SERVER: Received packet <HciEvent: eventCode=0x0A> - <HciEvent: eventCode=0x0A>
111671;15:57:44.0509 [480106844] SERVER: Received Link Loss
111672;15:57:44.0649 [480106844][ScriptMethodCallThread] Wait canceled: no connection.
111673;15:57:44.0649 [480106844][ScriptMethodCallThread] Discovering all attribute UUIDs
111674;15:57:44.0659 [480106844][ScriptMethodCallThread] Lost connection before service discovery was complete
Could you please tell me what should I do to make this application work properly both with IOS and android
Thank you very much !!