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.
First part of the question is: is there source code available to build a Linux application?
OR
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.
Is there such a document available for the DA1468x?
Thanks,
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
Oh well, I have to write my own then.
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?
Thanks, 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.
Thanks.
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:
Sorry for the many questions, thanks for all the support.
Hi Myken,
1. The only client that supports the SUOTA via CoC is the client located in the SDK running on the 68x board and thats why its implemented and apparently its not fully tested with other devices since no device with OS that supports the CoC feature.
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?
Don't know what you mean. It 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.
Thanks,
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