Hello,
我需要一个Linux应用程序更新the device software over the air
My development environment is Linux and I don't want to transfer the bin file to an Android device every time I need to update the device software.
问题的第一部分是:是否有可用于构建Linux应用程序的源代码?
或者
If I have to write it myself:
I found this linkhttps://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/ota-linux
Which mentions a document for the DA14580 (AN-B-003 : DA14580 Software Patching over the Air.pdf) (I can't find it BTW) on the correct procedures to do a SUOTA.
DA1468x有这样的文件吗?
谢谢,
Robert.
Keywords:
Device:
Hi Myken,
No, there is no central application for Linux that implements SUOTA, regarding the document it does exists (in the path mentioned in the post that you have referenced) but you will have to search it at the documentation of the 580 and not 680. There is no documentation for the 68x and the SUOTA but the procedure is quite identical since both familes work with the same android/ios application.
Thanks MT_dialog
哦,那我得自己写了。
In the end I did find the document in the 580 section BUT under the "Discontinued application notes, SDK3 documents". If it is discontinued is it still valid?
谢谢,Robert
Hi Myken,
The document is valid.
Thanks MT_dialog
Hello,
Just to be sure:
The document describes SUOTA 1.1 (image transferred over GATT).
As far as I can understand it, it doesn't describe SUOTA 1.2 (image transferred over L2CAP CoC). Correct?
If the answer is "yes" then I would like to ask for a document that describes the SUOTA 1.2 (image transferred over L2CAP CoC) protocol.
谢谢。
Hi Myken,
Yes that is correct, but there are no documents that describes the SUOTA over the L2CAP CoC protocol, since as far as i am aware its not supported from the current android and iOS devices.
Thanks MT_dialog
OK, good to know.
But it leaves me with two questions:
很抱歉有这么多问题,谢谢大家的支持。
Hi Myken,
1唯一一个通过CoC支持SUOTA的客户机是位于68x板上运行的SDK中的客户机,这就是为什么它被实现了,而且显然没有在其他设备上进行完全测试,因为没有任何设备具有支持CoC功能的OS。
2. I dont think that there is anything hidden in the host side of the SUOTA, all the steps are in the source code of the ble_suota_client.
Thanks MT_dialog
Hello Dialog,
I'm running Linux (with Bluez) and I'm working on a 68x project so I have the right combination, I'll try to make it work.
FYI. Bluez is available as an Android library in case Dialog would decide to add an other client for SUOTA 1.2 :-)
Thanks for the support, Robert.
Hello,
Can I know where you got the projects/dk_apps/features/ble_suota_client/ file?
我不明白你的意思。它is in the SDK/projects/dk_apps/features/ble_suota_client directory ?!?!
Myken,
Did you manage to implement SUOTA support from Linux (Bluez)? If that's the case, would you mind sharing your sourcecode?
It's incredible that Dialog doesn't provide a spec of the service and just Anadroid/iOS implementations you need to reverse engineer in order to know how the SUOTA server works.
谢谢,
Fons
Hello Fons,
It is work in progress. At the moment I'm stuck in or because of Bluez.
In defence of Dialog, the Bluez documentation isn't great or even fine, so debugging an application that uses the Bluez library/API in a none standard way is like a trip through the jungle in the dark.
If I ever survive and get it working I'll post it here.
Regards, Robert