Looking for a program RX->BLE, BLE->TX

⚠️
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.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
Dvir12L123
Offline
Last seen:1 month 3 weeks ago
加入:2020-04-18 12:13
Looking for a program RX->BLE, BLE->TX

Dear Dialog,

I am currently working on a project that requires a BLE communication between a non-BLE module and an android application.

In order to achieve that I am using the DA14531 in order to make the communication possible by receiving the data from the non-BLE module through DA14531's UART RX port and transmiting it through BLE, receiving the data transmited by the android app with DA14531's BLE and sending it through UART TX port to the non-BLE module (please see the illustration below).

[1]non-BLE module -------sending "X" data using UART-------->[2]DA14531 ----------sending "X" data using BLE--------->[3]android application ------ sending "Y" data using BLE --------->[4]DA14531 -------sending "Y" data using UART ---------->[1]......[2]......[3].....[4]....[1]..

So back to my point,

I was wondering if there is any ready to use program that:

1) Receives data from the UART and sends it through BLE.

2) Receives data from the BLE and sends it through UART.

Thanks in advance,

Dvir

Device:
PM_Dialog
Offline
Last seen:57 min 1 sec ago
工作人员
加入:2018-02-08 11:03
Hi Dvir12L123,

Hi Dvir12L123,

According to your description, you are using the DA14531 device, so let me chamge the device selection from DA14580 to DA14531. Are you using the DA14531 TINY module or the other DA14531 DKs? My suggestion would be to check the following projects, namely CodeLess and Dialog Serial Port Service (DSPS)

CodeLess

The CodeLess allows you to quickly get started with wireless IoT applications with a set of AT Commands. The CodeLess AT commands platform allows control over a local UART connected device as well as a remote device via BLE. You can create simple demos / applications / proof of concepts without any code development or build you own application on top! Additionally, the CodeLess can be configured in “Binary mode”, for the purpose of data pumps wherein the Bluetooth CodeLess device transfers data without examining it contents, which is the preferred method for end to end raw data transfer.

在这里你可以找到所有available documentation:

//www.wsdof.com/products/smartbondtm-codeless-commands

Dialog Serial Port Service (DSPS)

The DSPS emulates a serial cable communication. It provides a simple substitute for RS-232 connections, including the familiar software flow control logic via Bluetooth low energy. The SPS software distribution includes the application and profile source codes and supports GAP Central/Peripheral roles. Keep in mind the HW Flow control is also required. (2 additionally signals for the UART – RTS/CTS).

在这里你可以找到所有available documentation:

//www.wsdof.com/products/dialog-serial-port-service-dsps

Thanks, PM_Dialog

Dvir12L123
Offline
Last seen:1 month 3 weeks ago
加入:2020-04-18 12:13
Dear PM_Dialog,

Dear PM_Dialog,

Thank you very much for the fast response, I really appreciate this.

I am using DA14531 DK.

I will take a look at those projects and hopefully find what I need.

Thank you,

Dvir

PM_Dialog
Offline
Last seen:57 min 1 sec ago
工作人员
加入:2018-02-08 11:03
Hi Dvir,

Hi Dvir,

Thanks for accepting my answer. Please go through both projects, and if you have any follow up question please create a new forum thread.

Thanks, PM_Dialog