Wio Link: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


API: [[http://seeed-studio.github.io/Wio_Link/ http://seeed-studio.github.io/Wio_Link/]]
API: [[http://seeed-studio.github.io/Wio_Link/ http://seeed-studio.github.io/Wio_Link/]]
Advance User Guide: [[https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide]]


===Command Line===
===Command Line===
Line 44: Line 46:
curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q
curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q
</pre>
</pre>
== Repair Bricked Wio Link ==
* Download files:
        Firmware: user1.bin user2.bin
        Bootloader binary and other binaries: https://github.com/SeeedDocument/Wio_Link/blob/master/resource/esp8266sdk1.4.1.zip?raw=true
* Unzip files, put all the .bin files in one folder
* Install esptool.py. Open your terminal application and execute command - pip install esptool (https://github.com/themadinventor/esptool)
* Install the driver for CP2102. Download the driver from here.
* Open your terminal application and enter the directory of step 2, and execute the following command. Please Windows users note that the serial port number of Windows isn't "/dev/tty.SLAB_USBtoUART", it should be "COMx" whose full name looks like "Silicon Labs CP210x USB to UART Bridge" in Device Manager.
<pre> esptool.py -p /dev/tty.SLAB_USBtoUART -b 230400 write_flash --flash_size 32m-c1 0x0000 bootloader.bin 0x1000 user1.bin 0x101000 user2.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin</pre>

Revision as of 03:00, 15 August 2021

General

Web site:[https://www.seeedstudio.com/]

App: [Wio]

Server: [https://us.wio.seeed.io/login]

API: [http://seeed-studio.github.io/Wio_Link/]

Advance User Guide: [https://github.com/Seeed-Studio/Wio_Link/wiki/Advanced-User-Guide]

Command Line

installation

pip install wio-link

Wio commande line

  • wio
Commands:
  call    Request api, return json.
  config  Change setting of device.
  delete  Delete a device.
  list    Displays a list of your devices.
  login   Login with your Wio account.
  setup   Add a new device with USB connect.
  state   Login state.
  udp     Sends a UDP command to the wio device.

API

Create User

curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/create

Login

curl -d email=[email here] -d password=[password here] https://us.wio.seeed.io/v1/user/login

Retreive password (send by Email

curl -d email=[new email here] https://us.wio.seeed.io/v1/user/retrievepassword

Change password

curl -d password=[new password here] https://us.wio.seeed.io/v1/user/changepassword?access_token=9L0_ofzPHnan91UQbtcCS4KzCI8BGQk6-OgMOtmnI3q

Repair Bricked Wio Link

  • Download files:
       Firmware: user1.bin user2.bin
       Bootloader binary and other binaries: https://github.com/SeeedDocument/Wio_Link/blob/master/resource/esp8266sdk1.4.1.zip?raw=true
  • Unzip files, put all the .bin files in one folder
  • Install esptool.py. Open your terminal application and execute command - pip install esptool (https://github.com/themadinventor/esptool)
  • Install the driver for CP2102. Download the driver from here.
  • Open your terminal application and enter the directory of step 2, and execute the following command. Please Windows users note that the serial port number of Windows isn't "/dev/tty.SLAB_USBtoUART", it should be "COMx" whose full name looks like "Silicon Labs CP210x USB to UART Bridge" in Device Manager.
 esptool.py -p /dev/tty.SLAB_USBtoUART -b 230400 write_flash --flash_size 32m-c1 0x0000 bootloader.bin 0x1000 user1.bin 0x101000 user2.bin 0x3fc000 esp_init_data_default.bin 0x3fe000 blank.bin