Developing with "CodeLess" AT-Command Firmware

Learn MoreFAQsTutorials

9 posts / 0 new
Last post
kotaromatsukubo
Offline
Last seen:3 weeks 3 days ago
Joined:2019-08-31 05:13
Developing with "CodeLess" AT-Command Firmware

Hi. 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.

My plan is like an attached image.

In that case, can I develop the sensor product using CodeLess SDK?

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

My concern is the BLE Service between them.

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

Device:
PM_Dialog
Offline
Last seen:6 hours 50 min ago
Staff
Joined:2018-02-08 11:03
Hi kotaromatsukubo,

Hi kotaromatsukubo,

First of all thanks for your question online and for your interest in our BLE solutions.

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-semiconductor.com/UM-140-DA145x-CodeLess/introduction.html

Can if you are planning to develop your own mobile application?

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:

//www.xmece.com/products/connectivity/bluetooth-low-energy/products/da14531

  • Future proof, compliant with Bluetooth 5.1 (core)
  • Optimized for disposable products in connected health, connected consumer
  • Designed to work with disposable, even printed batteries
  • Works well with smallest capacity 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
  • In bypass mode no DC-DC inductor required
  • No boost converter required when working with 1.5V batteries
  • Production Line Tool for accelerated production ramp up, resulting in faster time to market and shortest production test time per device

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

>>>My concern is the BLE Service between them.

Could you please clarify this question> What is your requirement regarding the BLE Services?

Thanks, PM_Dialog

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

Hi. Thank you for your kind support.

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:1 month 6 days ago
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?

Best regards,
Dvir

kotaromatsukubo
Offline
Last seen:3 weeks 3 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:1 month 6 days ago
Joined:2020-04-18 12:13
Hi,

Hi,

所以我做了一些研究,发现源有限公司de for the SmartConsole app here:

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

under software resources.

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

public static final 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.

Best regards,

Dvir

PM_Dialog
Offline
Last seen:6 hours 50 min 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:2 weeks 2 days 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:6 hours 50 min ago
Staff
Joined:2018-02-08 11:03
Hi robelhk,

Hi robelhk,

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

Thanks, PM_Dialog