YITechnology / YIOpenAPI

YI Open API provides mobile SDKs and reference designs for software developers and hardware makers to build cool apps and products with YI 4K Action Cameras
Other
345 stars 76 forks source link

how to configure 360DEMO for connecting cameras #81

Open qdkid opened 6 years ago

qdkid commented 6 years ago

Hi,

I am able to load firmware.bin and sta.conf to 2 YI action 4k cameras. Both of them get IP to local router. I also get YI360Demo compile and load into android phone which connects to the same local router. However, when I run the app with phone, I got message" WifiHotspot is not enabled. Please enable it. How can I connect the app to those 2 cameras through WIFI? Is there a config file? Thank you

" screenshot_20180524-232433 screenshot_20180524-232441

qdkid commented 6 years ago

I figured out that the demo uses the local hotspot instead of a router. 1) turn on your wifi hotspot from your android phone 2) change the sta.conf and copy firmware.bin together into camera 3) connect your cameras to the android phone 4) start the demo app screenshot_20180525-000103 I think the demo codes could be changed to search local network through a router instead of hotspot which can only support up to 8 connections.