Developing with "CodeLess" AT-Command Firmware

Learn MoreFAQsTutorials

9个帖子/ 0新
Last post
kotaromatsukubo
Offline
Last seen:3 weeks 5 days ago
Joined:2019-08-31 05:13
Developing with "CodeLess" AT-Command Firmware

嗨。I'm considering to develop the product with DA14585.

First, the topology of my project is that DA14585 is going to be Peripheral side as sensor product, and Smartphone will be Central role.

I just want to get a sensing data from Peripheral as serial data communication.

And I'd like to use AT-Command as "CodeLess" with external MCU on my sensor product in order to make the development easy.

我的计划就像一个附加的图像。

在这种情况下,我可以使用无附带的SDK开发传感器产品吗?

I mean, is it possible to use AT-Command from external MCU on peripheral to connect with Smartphone?

我的关注是它们之间的BLE服务。

I really appreciate it if somebody could teach me the way of most recommendable in this case.

Device:
PM_Dialog
Offline
Last seen:1 day 14 hours ago
Staff
Joined:2018-02-08 11:03
Hi kotaromatsukubo,

Hi kotaromatsukubo,

首先感谢您在线的问题,并欣赏我们的BLE解决方案。

Yes, you could send AT Commands from the external MCU to our BLE device over UART. Please check section 1 from the CodeLess user manual. For your convenience, link is provided below:

http://lpccs-docs.dialog-semondile.com/um-140-da145x-codeless/introduction.html.

如果您计划开发自己的移动应用程序,可以吗?

I would like to let you know that CodeLess is also available for DA14531

Please check our newest module named DA14531 TINY module. Please find details in our support website:

https://www.dialog-seminile.com/produ雷电竞官网登录cts/connectivity/bluetooth-low-energy/products/da14531

  • Future proof, compliant with Bluetooth 5.1 (core)
  • 针对连接的健康,连通的消费者进行一次性产品优化雷电竞官网登录
  • Designed to work with disposable, even printed batteries
  • 适用于最小容量电池,<< 30MAH
  • Supports multiple years of shelf life
  • Inrush current can be limited for disposable batteries with high internal resistance
  • Package design allows for low cost manufacturing with smallest possible footprint
  • Only requiring a single 32MHz crystal
  • 在旁路模式下,无需DC-DC电感器
  • No boost converter required when working with 1.5V batteries
  • 加速生产加速的生产线工具,导致更快的时间到市场和最短的生产测试时间

If you don’t want spend time for the DA14531 schematic/layout, please consider and the DA14531 module solution!

>>>我的担忧是它们之间的BLE服务。

您能否澄清这个问题>您对BLE服务的要求是什么?

Thanks, PM_Dialog

kotaromatsukubo
Offline
Last seen:3 weeks 5 days ago
Joined:2019-08-31 05:13
嗨。Thank you for your kind

嗨。谢谢你的支持。

First, I have to choose the module product as PAN1740A. So I need to go developing with DA14585.

Also, I need to develop my own mobile application to connect the sensor product from a smartphone.

In this case, which kind of BLE service can I use between CodeLess and mobile application?

Any specific services can be chosen?

Dvir12L123
Offline
Last seen:5个月1日前
Joined:2020-04-18 12:13
Hi,

Hi,

I have just came across the same problam, I am writing my own mobile app to communicate with the BLE module and I have been looking for those services.
Can you please share them with me as well?

最好的祝福,
Dvir

kotaromatsukubo
Offline
Last seen:3 weeks 5 days ago
Joined:2019-08-31 05:13
Hi,

Hi,

I have not found the way for that yet.

Some Dialog's distributors contacted me but they only can support chip solution, not module product.

I just want to know which kind of BLE service can be used on CodeLess AT-command firmware with DA14585, to connect my own mobile app.

Dvir12L123
Offline
Last seen:5个月1日前
Joined:2020-04-18 12:13
Hi,

Hi,

所以我做了一点研究,找到了SmartConsole应用程序的源代码:

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

在软件资源下。

After I downloaded it I found the Services they use for both DSPS and Codeless communication, they are located under :

....\smartconsole_app_android\codelesslib\src\main\java\com\diasemi\codelesslib\CodelessProfile.java

There you can see all the services they use, I didnt figure out yet when they use each one.

Those are some variables declarations I copied from CodelessProfile.java file

Here you can clearly see the services for both DSPS and Codeless


                      

// Codeless

公共静态最终UUID CODELESS_SERVICE_UUID = UUID.fromString("866d3b04-e674-40dc-9c05-b7f91bec6e83");

public static final UUID CODELESS_INBOUND_COMMAND_UUID = UUID.fromString("914f8fb9-e8cd-411d-b7d1-14594de45425");

public static final UUID CODELESS_OUTBOUND_COMMAND_UUID = UUID.fromString("3bb535aa-50b2-4fbe-aa09-6b06dc59a404");

public static final UUID CODELESS_FLOW_CONTROL_UUID = UUID.fromString("e2048b39-d4f9-4a45-9f25-1856c10d5639");

// DSPS

公共静态最终UUID DSPS_SERVICE_UUID = UUID.FROMSTRING(0783B03E-8535-B5A0-7140-A304D2495CB7);

public static final UUID DSPS_FLOW_CONTROL_UUID = UUID.fromString("0783b03e-8535-b5a0-7140-a304d2495cb9");

public static final UUID DSPS_SERVER_RX_UUID = UUID.fromString("0783b03e-8535-b5a0-7140-a304d2495cba");

public static final UUID DSPS_SERVER_TX_UUID = UUID.fromString("0783b03e-8535-b5a0-7140-a304d2495cb8");

Hope you find it helpful.

And please let me know if you figure out where I should put those services in my mobile app.

最好的祝福,

Dvir

PM_Dialog
Offline
Last seen:1 day 14 hours ago
Staff
Joined:2018-02-08 11:03
Hi kotaromatsukubo,

Hi kotaromatsukubo,

We have asked the local disti to reach out to you directly.

Thanks, PM_Dialog

robelhk
Offline
Last seen:4 days 5 hours ago
Joined:2020-10-19 05:50
I am having the same issue.

I am having the same issue. Did you guys figure this out?

PM_Dialog
Offline
Last seen:1 day 14 hours ago
Staff
Joined:2018-02-08 11:03
嗨Robelhk,

嗨Robelhk,

Thanks for your comment. Would it be possible to raise a new forum post with your issue?

Thanks, PM_Dialog