Seeed-Studio / Wio_Link

Wio_Link 8266
http://seeed-studio.github.io/Wio_Link/
182 stars 64 forks source link

Pressed the 'Got Ready' button and the app should list the WIO to connect to. #5

Closed luwii closed 8 years ago

luwii commented 8 years ago

Not sure if this is the same issue as no 4, it could be...

Received my WIO link two days ago, was super excited, but got stuck very early on. :-(

Using the App V2.1.2 on Andriod V5.0.1 on a Galaxy S4.

After pressing the Config button for 4 seconds, the blue light is mostly (dimly) lit with the odd flash, pressed the 'Got Ready' button and the app should list the WIO to connect to. But nothing happens. Pulling up and down seems to trigger a refresh, but still nothing appears.

I can see the WIO in list of Wifi networks on the phone (if you held down the config button on the WIO). I tried connecting to the WiFi first, as well as during the time I was running the app. The phone connects, WIO gives me an IP, but then I get a 'connect server failure' message in the App when I press the 'Got Ready' button.

Rebooted the phone, 'forgot' the WIO network settings.. Followed the instruction to re-flash the WIO, and that process worked, but no change in getting the phone connected. I ran out of ideas to try .... any suggestions?

luwii commented 8 years ago

I tried the firmware proposed in issue #4 .. and monitored the serial port at 74880 baud. The WIO provides the normal (readable) data, then after holding the config button for 4 seconds, I get a long line of gibberish (as if the baud rate is now different) Pressing buttons on the phone does not add anything to the serial output.

I then set the baud rate to 115200. Initially you get gibberish as expected, but then after holding in the config button I was presented with the normal data and what appears to be an error:

... jump to run user1 @ 1000

don't use rtc mem data rlûSSID: WioLink_0D2F6E

Hope this helps.

KillingJacky commented 8 years ago

Hi luwii,

Which UART port are you connecting to? Pin 2 within the Digital 2 port?

luwii commented 8 years ago

Hi KillingJacky,

I was just looking at the USB port, did not know about Digital port 2. Here is what i get AFTER holding down the config button.

Boot reason: SOFT_RESTART Node name: esp8266_node FW version: 1.1 Chip id: 0x000d2f6e Free heap size: 25816 Private key: ################################ Node SN: ################################ Data server: 255.255.255.255 OTA server: 255.255.255.255 OTA result flag: 255 enter AP mode ... SSID: WioLink_0D2F6E

awong1900 commented 8 years ago

Hi luwii,

I can see the WIO in list of Wifi networks on the phone (if you held down the config button on the WIO). I tried connecting to the WiFi first, as well as during the time I was running the app. The phone connects, WIO gives me an IP, but then I get a 'connect server failure' message in the App when I press the 'Got Ready' button.

Reason: The app need get some information from the wio server when press the 'Got Ready' button. But the phone connected on wio AP. So pop 'connect server failure' message.

Back the issue. If your android version is 6.0. i should suggest you open the location server, cause the new Permission require on Android 6.0 (Scan the wifi list need location permission).

Ten

luwii commented 8 years ago

Hi Awong,

Thanks for the help! Making sure location services is enabled for the application made it work. Let the fun begin!