particle-iot / particle-cli

Command Line Interface for Particle Cloud and devices
Apache License 2.0
212 stars 92 forks source link

use serial identify in case the device does not support control request #732

Closed hugomontero closed 5 months ago

hugomontero commented 5 months ago

Description

This PR will add compatibility for serial identify in order to be used by older DVOS. This will allow us to retrieve again IMEI and ICCID for cellular devices

How to Test

  1. Pull down the branch: git pull && git checkout bug/sc-127690/imei-missing-from-particle-identify
  2. Install dependencies: npm i
  3. Test serial command: npm start -- serial identify on this follow platforms/DVOS:
    • Electron / 2.3.1 : (device in listening mode)
    • Boron / 4.2.0: (device in listening mode)
    • Boron / 6.x: (device in normal mode/listening mode)
    • MSOM / 5.x (device in listening mode)

outcome In every test you will be able to see the IMEI and ICCID data as part of the printed device info

Related Issues / Discussions

Story details: https://app.shortcut.com/particle/story/127690

Completeness