Serial Port Service Profile

11 posts / 0 new
Last post
sonym
Offline
Last seen:6 years 1 month ago
加入:2014-08-26 16:48
Serial Port Service Profile

Hi,

I need some clarification on section 7.1 (DK to DK connection setup) of the user manual (UM-B-038).

In item 11, what does it mean when it says "the host device should have discovered and connected to
the peripheral."? Do the two devices connect to each other automatically? What happens if there is a third device within proximity?

Thanks.

WI_Dialog
Offline
Last seen:2 days 17 hours ago
工作人员
加入:2014-01-03 16:21
Hi,

Hi,
The SPP service can only support single instance data transfer. To ease the demonstration, the host application is preset to search for the peripheral, pair and then start the data connection session immediately. The 3rd device within proximity will be ignored.
Regards,

sonym
Offline
Last seen:6 years 1 month ago
加入:2014-08-26 16:48
Can you provide info on what

Can you provide info on what the host is searching for?

jpreston
Offline
Last seen:5 years 10 months ago
加入:2014-10-30 23:24
I've tried to run the DK to

I've tried to run the DK to DK connection setup exactly as stated in the manual. When I try to run the Keil project for the central device, it stops almost immediately and I am unable to send data back and forth on the two terminals.

I have gotten the SPP service example to work with an android device and one DK without issue. My thought right now is that Keil is having issues running two different instances on the DK to DK example. Is there something I'm missing or does it need to be run on two different computers?

JE_Dialog
Offline
Last seen:4 days 12 hours ago
工作人员
加入:2013-12-05 14:02
Hello jpreston, I'll check

Hello jpreston, I'll check wth the SW team and get abck to you . Can you confrim which version of Keil you are using ?

BR JE_Dialog

jpreston
Offline
Last seen:5 years 10 months ago
加入:2014-10-30 23:24
JE_Dialog,

JE_Dialog,
I am using Keil V5.12.0.0

JE_Dialog
Offline
Last seen:4 days 12 hours ago
工作人员
加入:2013-12-05 14:02
Thanks - we are looking into

Thanks - we are looking into this. I have submitted to the developer and will be back when i have an answer.

BR JE_Dialog

JE_Dialog
Offline
Last seen:4 days 12 hours ago
工作人员
加入:2013-12-05 14:02
Hello jpreston, here is the

Hello jpreston, here is the feedback i have :

"It seems that the same target JLink is selected for both central and peripheral projects. If both JLinks are connected at one PC the normally in the JLink configuration window 2 SN must be displayed. The one must be selected for the central project and the other for the peripheral. We usually run both central and peripheral applications on the same PC."

BR JE_Dialog

sonym
Offline
Last seen:6 years 1 month ago
加入:2014-08-26 16:48
我理解没有睡觉

我理解没有睡觉been implemented in the initial release of the SPS, but is there a reason why I am unable to have the code load from flash using SPI on the basic kit? I was able to get the proximity project to work fine. Thanks.

imalamoud
Offline
Last seen:5 days 6 hours ago
加入:2014-11-16 21:34
Hello,

Hello,

Can you please provide information:

Can you provide info on what the host is searching for?

What is required for a DK-DK automatic pairing?

MHv_Dialog
Offline
Last seen:5 days 8 hours ago
工作人员
加入:2013-12-06 15:10
Hi Imalamoud,

Hi Imalamoud,

Please seehttp://support.dialog-semiconductor.com/dk-dk-sps-connectionfor the answer to your question.