Developing with "CodeLess" AT-Command Firmware

⚠️
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.
9个帖子/ 0新
Last post
kotaromatsukubo
Offline
Last seen:1周9小时前
Joined:2019-08-31 05:13
Developing with "CodeLess" AT-Command Firmware

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

首先,我的项目的拓扑是DA14585将成为传感器产品的外设侧,智能手机将是核心作用。

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.

设备:
PM_Dialog
Offline
Last seen:14小时41分钟前
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:1周9小时前
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:3周2天前
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:1周9小时前
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:3周2天前
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");

公共静态最终UUID辅助_outbound_command_uuuid = 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:14小时41分钟前
Staff
Joined:2018-02-08 11:03
Hi kotaromatsukubo,

Hi kotaromatsukubo,

我们已经要求当地的Disti直接联系到您。

Thanks, PM_Dialog

罗贝尔克
Offline
Last seen:6 days 23 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:14小时41分钟前
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