Need Help in Making UART connection

28 posts / 0 new
最后一篇
Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
Need Help in Making UART connection

Hello ,
I Have a PAN1740 and a DA14580DEVKT-B modules. i need to set this both modules acting like a UART bridge.in the sense connect PAN1740 to one PC and DEVK to another PC. and exchange data from both. I know,SPP is not supported in BLE. however my data is <=20 bytes per TX or RX. i dont know where to start. Please help me configure like Uart bridge. Thank u

Ingo
Offline
最后一次露面:3 months 3 weeks ago
Guru 松下
加入:2014-01-16 11:19
Hello,

Hello,

do you want to use these two devices for evaluation or in the final application?
For the PAN1740 is it the USB dongle you have or just the module and you want to place the module into your application?
The design guide is the best way to start with the module:
http://pideu.panasonic.de/files/Documents/WM%20Documents/PAN1740/PAN1740...

Regards,
Ingo

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
Hello,

Hello,
非常感谢您的回复。现在我有pan1740 usb dongle.first我需要尝试使用易于使用的USB模块和对话框Devk,最后我将稍后替换模块.help我在哪里开始实现UART样式20bytes ascii tx和rx之间的2个设备.thank你

Ingo
Offline
最后一次露面:3 months 3 weeks ago
Guru 松下
加入:2014-01-16 11:19
我们将有一个串行港口

我们将在几周内为DA14580提供串行端口服务,如DA14580。
直到然后请从设计指南中从示例开始。

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
嗨,先生,非常感谢你。we

嗨,先生,非常感谢你。我们随着时间的推移,我们需要在本周结束之前或之前完成这一点。所以请为我们提供一些帮助。我们完全没有耐心地忍受了这一点,就像Bluegiga脚本一样,是关于对话框的东西。项目非常令人困惑,包含这么多的文件..我不明白在哪里开始。我检查了吞吐量和接近级别,我不明白在哪里编辑以定制它......我需要只添加要添加的配置文件(服务,特征)并需要调用UART发送和接收..i不明白什么开始。请恳求我。谢谢你

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
嗨,先生,非常感谢你。we

嗨,先生,非常感谢你。我们随着时间的推移,我们需要在本周结束之前或之前完成这一点。所以请为我们提供一些帮助。我们完全没有耐心地忍受了这一点,就像Bluegiga脚本一样,是关于对话框的东西。项目非常令人困惑,包含这么多的文件..我不明白在哪里开始。我检查了吞吐量和接近级别,我不明白在哪里编辑以定制它......我需要只添加要添加的配置文件(服务,特征)并需要调用UART发送和接收..i不明白什么开始。请恳求我。谢谢你

Ingo
Offline
最后一次露面:3 months 3 weeks ago
Guru 松下
加入:2014-01-16 11:19
Which profile do you want to

Which profile do you want to use? They are all ready build and you can find them in the SDK e.g. - DA14580_SDK_3.0.2.1\dk_apps\src\ip\ble\hl\src\profiles
也许StreamData配置文件是您需要的配置文件?
There is no scripting available, you have to use the already build in Keil projects. Scripting is not an option if you want to achive good performance in terms of power consumption.
如所说,请从设计指南开始,让我知道您有任何问题。不要指望一周内有一个正在运行的项目。如果您需要AT命令样式模块,则必须选择另一个选项。DA14580可在许多方面可配置,这意味着您将无法与您在Keil中的项目和示例一起使用。

You may also email towireless@eu.panasonic.com.如果有任何问题

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
非常感谢你的回复。我可以了解这一点,没有什么可以做一夜之间。由于每个项目的许多文件,令人困惑地开始和该做什么。我会换ethrough设计指南和软件architechture指南,但仍然混淆到哪里开始。根据我的承诺,BLE需要一个配置文件编辑,自定义应用程序代码来处理Pheripheral,并且需要更新配置文件结构上的值。但我需要帮助添加自定义代码的位置。

1.what are the files needed for any type of BLE application, which dont need any config or changes..i mean generic code part...
2.我需要自定义的文件是什么
就像那种友好提供一些帮助。一些榜样。很少分享你的邮件ID.谢谢你

je_dialog.
Offline
最后一次露面:1个月1周前
职员
加入:2013-12-05 14:02
你好Chandra2sekhar2000,我

你好Chandra2sekhar2000,我问了其中一个团队来看看你的问题。与此同时,您可能会发现以下线程可从非常相似的问题中了解。

http://support.dialog-semicondiondiondiondum/sdk-program-datastructure.

BR JE_DIALOG.

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
谢谢你的回复。我经历了abouve link.but现在我的问题是,基本BLE应用程序需要常见的文件,这不需要任何改变,以及需要更改的文件。例如..这些要求是实现一个设备,其可以根据输入开关位置或来自UART的命令作为中央或通信路面。它需要连接到另一个模块。将20个字节符合在连接的设备之间insimple 20字节,使用通知将在两个应用程序之间进行交换,我应该在哪里开始,我应该以哪个项目作为基础,哪些项目需要修改,我应该使用哪种配置文件等,我需要帮助。如果可能的是,可以给我们提供技术开发人员的邮件ID,谁可以帮助我完成这个过程...谢谢你

py_dialog.
Offline
最后一次露面:2 years 10 months ago
职员
加入:2014-08-25 09:59
嗨chandra2sekhar2000,

嗨chandra2sekhar2000,

Fully understand your urgency. Since you are looking for some low data rate app like function, I would like to suggest you refer to our sample128 reference. It's inside our sdk and there is an application note on that which you can download from our website.
In general the sample128 profile have two very simple characters which allow write and a notification character. You can reuse those two writable characters to transmit data. As I remember, Each character only have one writable byte but obviously you can change it. Then you will have a most simple spp in BLE layer. The application note is about our software architecture, you can search this key words to find it. There is very detailed steps tell you which file need to change and how. However, you still need to build two application level files app_sample128.c and app_sample128_task.c. Those files handle BLE profile messages like database build, write indication and notification etc. above application note mentioned how to create these two files. If you feel hard to create these files from scratch, you can also refer to some simple profile application code like App_diss.c and app_diss_task.c.
最后,您需要处理UART。您可以使用DA14580将Prod_Test项目引用到托架和RX下。
Hope this helps you! Good luck and hope you can made!

Regards!
PY

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
非常感谢你,给出一个很好的解释..我将虽然你提到的步骤......在介于任何疑问和澄清之间,我回到了U.谢谢你..

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
我一直在尝试获取Sample128的应用笔记......但我无法找到它....今天..我们今天已经改变了一些规格..请引导我需要做些什么来实现以下内容和到底何处开始
1.带外部主机控制器的击球设备
2.通过每1秒发送40个字节的数据...(我需要澄清关于实现这个机制的数据包......我是否应该使用来自中央设备的通知或SHAR。。在我尝试读取句柄时,它应该回复内容),它应该转到低功耗模式
3.the data should be sent via UART ...
4.on external Host controller ..what are the HCI commands and prtotocol formats to be followed?

for pheripheral where should i start to achive the above application.

5.一个PC侧,我打算使用任何USB BLE Con​​gles。从编程PC侧应用程序,在哪里可以获得标准协议数据或在VB.NET中使用的任何示例

感谢你..

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
我一直在尝试获取Sample128的应用笔记......但我无法找到它....今天..我们今天已经改变了一些规格..请引导我需要做些什么来实现以下内容和到底何处开始
1.带外部主机控制器的击球设备
2.通过每1秒发送40个字节的数据...(我需要澄清关于实现这个机制的数据包......我是否应该使用来自中央设备的通知或SHAR。。在我尝试读取句柄时,它应该回复内容),它应该转到低功耗模式
3.the data should be sent via UART ...
4.on external Host controller ..what are the HCI commands and prtotocol formats to be followed?

for pheripheral where should i start to achive the above application.

5.一个PC侧,我打算使用任何USB BLE Con​​gles。从编程PC侧应用程序,在哪里可以获得标准协议数据或在VB.NET中使用的任何示例

感谢你..

py_dialog.
Offline
最后一次露面:2 years 10 months ago
职员
加入:2014-08-25 09:59
Hi chandra2sekhar2000,

Hi chandra2sekhar2000,

应用笔记UM-B-015_DA14580软件架构将指导您在示例128项目上。
从您描述中,它看起来仍然像SPP透明通信项目,对吧?那么这里将是我的建议:
1. On peripheral side, you put all BLE stack and profile in DA14580 and only leave uart communication to host MCU, just like what we talked before. Dont' use HCI because you may need to separate BLE stack and profile and need to handle all message exchanging between and state machine as well. I'm not saying you can't do this but absolutely will need more time. Then you just need to customize your SPP like profile based on current profile example(sample128 or DISS etc.) and hand UART communication(please refer to prod_test project in our SDK). Even though I think you will spend week time on this, anyway it's the fastest way I can think of. If you really hope to use HCI, you can refer to paper UM-B-017 and RW-BLE-HOST-IS. In prod_test project you can also find reference code(we actually not open HCI interface to end user).
2.在PC方面,很难提供你的建议,因为我不知道你将拥有什么样的加密狗以及它将拥有的固件。如果您无法编制加密狗,您将无法将您的专有配置文件放在里面。所以也许你可以在里面购买DA14580的Dailog BLE加密狗,你可以以同样的方式编程。然后你将有最大的灵活性。Dailog Ble Dongle是我们的入门套件。
Finally, this may not be a very short project as you expected. Hope this help!

Regards!
PY

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
先生,你好,

先生,你好,
后strugling很多. .在软件的帮助下,developer guide ,i cloned and completed steps up to diss adding. how ever after spending so many hours clearing path errors , it compiled succesfully. i programmed to the kit. when i used BLE monitor along with CC2540 based BLE USB dongle..actually it is supposed to show the manufacture name and other parameters as stated in the developer guide..but i am able to scan and connect it.but the names or services or not getting displayed ...simply 3 attributes are listed with handle numbers 1,12,16..but its values are not able read...

how ever when i try to connect a USB dongle pan1740 with connection manager, boot as central..i am able read the values. why is it so..the BLE monitor tool works with regular BLE devices.then why it not worked of Dialog product. i checked with proximity profile also..same results..why is it so?

py_dialog.
Offline
最后一次露面:2 years 10 months ago
职员
加入:2014-08-25 09:59
Hi chandra2sekhar2000,

Hi chandra2sekhar2000,

很高兴知道你在两天内的进步!
你说USB加密狗Pan1740工作正常。而且如果您可以在iPhone中尝试一些应用程序,您可以轻松连接到DA14580接近配置文件,读取和写入值。我认为这些应用程序还将与您自己的项目合作。我过去没有尝试使用DA14580套件的TI CC2540监视器。所以很难说出的问题是什么。也许关于CC2540固件存在一些限制。对不起,我无法帮助您了解该设备。

Regards!
PY

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
Hi Sir,

Hi Sir,
非常感谢你的回复。我做了一个关于sample128的添加..有史以来,我需要帮助您进一步的步骤来创建app_sample128.c和任务文件等。进一步的UART步骤。谢谢你

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
尊敬的先生,

尊敬的先生,
if u have app_sample128.c &app task c & header files,kindly mail me atchandra2sekhar2000@yahoo.co.uk.。。。i will try to extend it from 1 char to 20 char .and also i need 2 packets to be send....i need your valuable help as our completion dead line date is tommorow.hope you can help us.Thank u

py_dialog.
Offline
最后一次露面:2 years 10 months ago
职员
加入:2014-08-25 09:59
Hi chandra2sekhar2000,

Hi chandra2sekhar2000,

对不起,我下班了,现在是23点。无论如何,让我看看我是否能找到方法可以帮助你。

Regards!
PY

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
尊敬的先生,

尊敬的先生,
非常感谢您。我已经从一个朋友中收到了一些app_sample128文件。似乎与Sample128榜样无关。您的朋友发送的文件是针对某些邻近应用程序的自定义文件。先生,请友好地帮助我,通过发送示例128应用程序文件......发送一个char ..发送一个char ..和我也引导我如何扩展它以及如何将UART添加到它......我们持续我们的时间范围......请帮助我。谢谢你先生..Today是印度的节日,但考虑到Hoiliday,我甚至在星期天工作也是/ ......但没有进展。

py_dialog.
Offline
最后一次露面:2 years 10 months ago
职员
加入:2014-08-25 09:59
Hi chandra2sekhar2000,

Hi chandra2sekhar2000,

抱歉,无法从对话框中释放app_sample128文件。我们只是指导客户建立应用程序级别文件的方式(我们认为这不难但真的需要一些时间)。每个客户都有自己的方式基于其目标建立应用级别代码。我自己没有撰写app_sample128。在这里,我只能发送由我拥有的其他人组成的自定义app_sample128代码。请注意,此代码只能用于您的参考,因为它们不是对话框版本。
Come back to your application, I believe you still need to understand our software structure if you need to build up customized profile as well as customized low level driver, this is the same for every vendor. If you have specified question related to our SDK, I would be very happy to help you.

Regards!
PY

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
Hi...sir

Hi...sir
关于您的SPP配置文件的任何更新。

je_dialog.
Offline
最后一次露面:1个月1周前
职员
加入:2013-12-05 14:02
Hello, we have just put the

Hello, we have just put the first versio of this reference design page to download...

谢谢&br.
je_dialog.

Nater
Offline
最后一次露面:6 years 3 months ago
加入:2014-09-24 15:40
嗨,大家好,

嗨,大家好,
我只是想评论这个线程。我也trying to develop something similar here. To start, Dialog and Panasonic, you guys are giving some really good help here. From this thread and related documents I've been able to connect most of the dots. The chain loading of profiles after the GAPM in the init process is pretty smart. (I used a similar state machine through system messages in another project I designed years ago). One caveat I'd mention when trying to debug any of the apps created using the PAN1740 module (and procedure for running code, found in the related guide). You can't use the debugger to run the compiled code for the Cortex-M0 because it gets stuck in a while loop that waits for the debugger to be turned off. I was only able to advertise (the proximity example, fully hosted) by using the connection manager utility.
I'm still using the software guide to build up from the template example and pull from the other project code bases the necessary components and profiles to utilize a bi-directional spp. The big problem I foresee after this is the creation of the profiles on the opposite side of the link. Since Bluetooth developers don't seem to have an SPP for BLE, I'm thinking there wont a default profile I can program the dialog to mimic (thus saving me time coding the profiles to run a series of smart phones, ubuntu and windows). I could be wrong here.

Thanks!
- 诞..

je_dialog.
Offline
最后一次露面:1个月1周前
职员
加入:2013-12-05 14:02
你好Nate,我们刚刚发布

您好Nate,我们刚刚发布了我们的串行端口服务自定义配置文件,使用Android APK Wtih一个iOS应用程序稍后在Q4稍后。Q4稍后还将有一个更新,以增加扩展的睡眠支持和硬件流量控制,但它应该是好的 - 今天是为了让你运行。它可以为Android Central角色执行14580至14580或14580或14580。

您可以在此处下载它:注意Android APK位于二进制文件夹中...用户手册探讨所有其余的。

http://support.dialog-semicondiondiondum/ref-designs.

谢谢Je_Dialog.

Chandra2sekhar2000
Offline
最后一次露面:6年4个月前
加入:2014-05-11 10:47
非常感谢你的意志

非常感谢你的sir.i会经历并回复你,再次谢谢你

Nater
Offline
最后一次露面:6 years 3 months ago
加入:2014-09-24 15:40
谢谢你们!你真棒!

谢谢你们!你真棒!

主题锁定