Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFU Device with Zephyr & MCUboot over SMP #184

Open
eshaulx opened this issue Apr 21, 2021 · 0 comments
Open

DFU Device with Zephyr & MCUboot over SMP #184

eshaulx opened this issue Apr 21, 2021 · 0 comments

Comments

@eshaulx
Copy link

eshaulx commented Apr 21, 2021

question here,
I am using nRF52840 device with zephyr application & MCUboot + SMP service
the DFU is now done using: https://github.com/apache/mynewt-mcumgr-cli using actual CLI commands.
(or using Nordic connect mobile application)
the connection is done via BLE - so far so good,
now I want to integrate the DFU process into my proprietary GO application running on a Linux machine.
I am new at GO, and trying to understand how to integrate that with my GO application.
I understand that the CLI is a wrapper of the actual library :
Do i need to add the https://github.com/apache/mynewt-newtmgr as go module and use it? if yes, how can i use it?

I took a look in the code & documentation but still have no understanding of how should i use the library as it is built on CLI interface - commands are built & executed using the arguments given from the CLI command, for example:
resetRunCmd from newtmgr/cli/reset.go is not exposed outside so i don't really understand how to use it...
I feel that i am missing something here...
I found no other examples or other cases in which users used the library in their own applications.
Thanks in advance guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant