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:
Hi kotaromatsukubo,
First of all thanks for your question online and for your interest in our BLE solutions.
是的,你可以从外部发送的命令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
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
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?
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
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.
Hi,
So I did a little research and found the source code 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");
公共静态最终UUID CODELESS_INBOUND_COMMAND_UUID = UUID.fromString("914f8fb9-e8cd-411d-b7d1-14594de45425");
公共静态最终UUID CODELESS_OUTBOUND_COMMAND_UUID = UUID.fromString("3bb535aa-50b2-4fbe-aa09-6b06dc59a404");
公共静态最终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
Hi kotaromatsukubo,
We have asked the local disti to reach out to you directly.
Thanks, PM_Dialog
I am having the same issue. Did you guys figure this out?
Hi robelhk,
Thanks for your comment. Would it be possible to raise a new forum post with your issue?
Thanks, PM_Dialog