Commit Graph

14 Commits (91f0be6ac3a602c6f177eebb6a418f53bdf55175)

Author SHA1 Message Date
Cruz Monrreal 7ea50f1fe4
Merge pull request #8334 from theotherjimmy/error-missing-payload
mbed dm: Check for missing payload and give a better error message
2018-10-12 08:00:41 -05:00
Cruz Monrreal 43cf16d0f1
Merge pull request #8167 from JammuKekkonen/change_update_format_to_binary
Change update file format to binary for all targets
2018-10-08 10:10:01 -05:00
Jimmy Brisson eb86233a11 mbed dm: Check for missing payload and give a better error message
### Description

The error message when you invoke `mbed dm update prepare` without a payload
is particularly obtuse, and provides a user with no indication that the
payload is missing. This change makes that error message not stink.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-05 13:21:55 -05:00
Martin Kojtal 0f1075cbd8
Merge pull request #8104 from theotherjimmy/mbed-dm-help
`mbed dm`: Remove references to internal script from help
2018-09-19 11:21:15 +02:00
Jammu Kekkonen 49572d570a Change update file format to binary to all targets
- Change the default file format to binary for all targets, even though some targets need hex as app format, updater always needs bin for now
- Unify the file name generation from generator side and usage side for the update bin
2018-09-18 12:13:29 +03:00
Cruz Monrreal 77e073038d
Merge pull request #8063 from theotherjimmy/mbed-dm-api-key
`mbed dm`: Accept api key and host on the command line
2018-09-14 14:44:29 -05:00
Jimmy Brisson 4f1c1d90e5 `mbed dm`: Remove references to internal script from help
### Description

Now that we are delegating the help text to `device_managment.py`,
it should print out help as if it's invoked with `mbed device-management`.
This PR changes the argument parser and the help text to do just that.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-12 11:05:42 -05:00
Brendan Moran 989f3947c3
Remove trailing reference to user.full_name 2018-09-11 18:42:17 +01:00
Brendan Moran f8cd593c6e
BUGFIX: Remove account management API calls
Developer API keys don't have the privileges required to get information about their owners. To correct for this, remove user name reporting and use the API key `owner_id` directly.

Fixes: IOTAUTH-1686
2018-09-11 12:10:58 +01:00
Jimmy Brisson e67a2c7692 `mbed dm`: Accept api key and host on the command line
### Description

`mbed dm` will now accept the Pelion Device Management API Key and
Host on the command line with the following switches:
 * `-a`, `--api-key` accepts the API Key
 * `-S` (note capitol), `--server-address` accepts the Host

 This is consistant with manifest tool parameters
 Resolves https://github.com/ARMmbed/mbed-cli/issues/745

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-10 11:49:06 -05:00
Jimmy Brisson a6163cb14f Clean up formatting of device_management.py 2018-08-21 10:51:26 -05:00
Jimmy Brisson 93309cd134 Extend init to maybe create and always DL dev cert 2018-08-21 10:51:26 -05:00
Jimmy Brisson 563ee0d871 Implement device management subcommand 2018-08-21 10:51:26 -05:00
Jimmy Brisson ebb016e270 Create a "device-management" subcommand 2018-08-21 10:51:26 -05:00