In my last post regarding the Electron.js, we were able to fix the issues thanks for the help! Now during the testing, with a photon (v0.7.0), the usb commands are not working. The error is
IN control transfer failed: LIBUSB_TRANSFER_STALL. The commands we tried are
particle usb dfu and
particle usb start-listening.
After updating the system firmware, the usb commands are working fine. The
particle serial wifi --file wifiCred.json command stopped working with v1.2.1.
The physical access to the buttons is not possible. Setting the baud rate to put the device in dfu mode also not working with ubuntu.
It would be great if you guys could help with putting the device in DFU mode through CLI and setting WiFi credentials through JSON. We are using ubuntu 18.04, nodejs version 10.16.3 and particle-cli 1.43.3.