Implements a command which resembles the linux ifconfig command that shows information about the network interfaces and their states
This is only possible on Gen2 because the USB control requests to request this information are guarded by HAL_PLATFORM_IFAPI which is enabled only for Gen3 and above.
How to Test
Check out this branch and from the particle-cli root directory, run npm start -- usb network-interfaces
Description
Implements a command which resembles the linux
ifconfig
command that shows information about the network interfaces and their statesThis is only possible on Gen2 because the USB control requests to request this information are guarded by
HAL_PLATFORM_IFAPI
which is enabled only for Gen3 and above.How to Test
Check out this branch and from the particle-cli root directory, run
npm start -- usb network-interfaces
Expected Outcome
Related Issues / Discussions
https://github.com/particle-iot/particle-usb/pull/102
Completeness