Skip to content

Deprecate device management in mbed-cli1 (=legacy) #15009

@0xc0170

Description

@0xc0170
Contributor

Description of defect

Reference: #14979 - pelion team removed old requirements that are not relevant anymore. We missed a device management functionality in mbed-cli1: https://github.com/ARMmbed/mbed-cli/blob/master/mbed/mbed.py#L3036-L3046

Shall we deprecate this device command completely in the september release as it's not supported anymore. This is the up to date device management https://developer.pelion.com/docs/device-management/current/connecting/tutorial-pelion-mbedos.html (requires just mbed to build and use manifest tool to do other part).

@teetak01 Is that correct? we should deprecate device management we provided via mbed-cli1 as it's not up to date, and has not been removed from Mbed OS.

Target(s) affected by this defect ?

Any

Toolchain(s) (name and version) displaying this defect ?

Any

What version of Mbed-os are you using (tag or sha) ?

Mbed OS 6.13

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Any

How is this defect reproduced ?

https://github.com/ARMmbed/mbed-cli/blob/master/mbed/mbed.py#L3036-L3046 - device management part in our tools

Activity

changed the title [-]Deprecate device management in mbed-cli1[/-] [+]Deprecate device management in mbed-cli1 (=legacy)[/+] on Aug 17, 2021
teetak01

teetak01 commented on Aug 17, 2021

@teetak01
Contributor

@0xc0170 as far as I know, there is no plans to maintain DM-mode like functionality in CLI2, so we should just remove the remaining legacy features also from CLI1. Otherwise it would require some effort and changes to CLI1 to support manifest-tool v2.

All pelion tutorials have already moved away from using DM-mode (instead they use manifest-tool directly). The manifest-tool v2 provides the easy-to-use features for developers https://github.com/PelionIoT/manifest-tool#manifest-dev-tool

added a commit that references this issue on Aug 30, 2021
0xc0170

0xc0170 commented on Aug 30, 2021

@0xc0170
ContributorAuthor

I created ARMmbed/mbed-os-5-docs#1480 to resolve this. As old tools are frozen, I updated the documentation regarding mbed-cli dm command - deprecate its functionality.

added a commit that references this issue on Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Patater@0xc0170@teetak01@mbedmain

      Issue actions

        Deprecate device management in mbed-cli1 (=legacy) · Issue #15009 · ARMmbed/mbed-os