Suitable profile/service for making point to point connection between 2 DA14583 EVB

8 posts / 0 new
Last post
jackiechau
Offline
Last seen:3年5个月前
Joined:2016-01-15 01:32
Suitable profile/service for making point to point connection between 2 DA14583 EVB

My target is to make a point to point connection between 2 DA14583 EVB with pin code for security, a client sends battery level and particular ID to the host periodically. Please kindly advise which profile/service template I should use as my starting point.

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi jackiechau,

Hi jackiechau,

There aren't many examples where the da is used as central in fully hosted mode, most of the examples are peripherals. In order how to setup the functionallity between two 580, i would suggest to have a look at the DSPS project, the project includes two projects one for the host and one for the peripheral side in SDK 3. You can extract the functionallity from that project as far as the central is concern and implement it in an SDK 5 project. As far as the battery service there is an implementation of the profile in the proximity example. About the PIN code implementation when the time comes for the implementation please check some of the following posts.

http://support.dialog-semiconductor.com/implement-peripheral-obligated-s...

http://support.dialog-semiconductor.com/static-hard-coded-pin-pairing-sdk-5

Thanks MT_dialog

jackiechau
Offline
Last seen:3年5个月前
Joined:2016-01-15 01:32
Hi MT_dialog,

Hi MT_dialog,

Does proximity example have 2 separate host and peripheral projects? If so, does the peripheral device transmit data to host in connected mode?

Thanks

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi jackiechau,

Hi jackiechau,

The proximity example has the following implementations in the new SDK:

- prox_monitor_ext : the external monitor application, the fw that you download to your 580 in order to work with your monitor windows application.

- prox_reporter : the fully hosted reporter implementation (the application and the BLE stack operate in the 580).

- prox_reporter_ext : the external reporter application, the fw that you download to your 580 in order to work with your reporter windows application.

- prox_reporter_ext_spi: the external reporter application that uses SPI interface to trasfer data with the external application.

So its 3 peripherals (2 fully embedded-UART/SPI and 1 fully hosted) and one monitor. The peripheral device has a few services as DIS, TX, PROXIMITY services etc (check the UM-B-050 for more info about the services in the proximity reporter) and the host can initiate write or read to those services also to some services the host can enable the notification characteristic so that the peripheral can initiate a transaction (for example tha battery service). Please check the UM-B-010 document for the proximity application.

Thanks MT_dialog

jackiechau
Offline
Last seen:3年5个月前
Joined:2016-01-15 01:32
Hi MT_dialog,

Hi MT_dialog,

1. I would like to know whether your side can release the source code of "DSPS Dialog Serial Port Service - Android APK - Beta" because I plan to use Dialog as peripheral device and linux platform as host.
2. In the project of prox_monitor_ext, can host send propriety commands or strings to peripheral device?

Thanks.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi jackiechau,

Hi jackiechau,

1. A mail has been sent to the registered address for the DSPS source code.

2. The 580 doesnt support all of the HCI commands only the 581 does, in the proximity reporter the communication is over GTL. Please check the UM-B-010 Proximity application .pdf for more information.

Thanks MT_dialog

jackiechau
Offline
Last seen:3年5个月前
Joined:2016-01-15 01:32
Hi MT_dialog,

Hi MT_dialog,

Any central(master) example implementing the pin code functionality? Thanks.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi jackiechau,

Hi jackiechau,

We dont have any official reference example, although there are some posts that refer to that implementation. Please have a look at this one, it will give you some insight.

http://support.dialog-semiconductor.com/static-hard-coded-pin-pairing-sdk-5

Thanks MT_dialog