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-semicondiondiondum/forums/post/dialog-smartbond-bluetooth-low-energy-%2%80%93-software/OTa-lux.
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.支持Suota的唯一客户端是位于在68x板上运行的SDK中的客户端,这是它为什么它实现并显然它没有与其他设备完全测试,因为没有支持COC功能的操作系统。
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?
它'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,
它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