oneshot
Overview
OneShot is a one-button network distribution function developed by WinnerMicroelectronics. It also supports wechat AIRKISS
one-button network distribution. Since the compatibility between the mobile phone and the AP cannot be guaranteed at present, coupled with the uncertainty of the wireless network environment, the success rate of WiFi one-touch distribution network cannot reach 100%. So at present, it is more recommended to use BLE + SoftAP
to distribute the network.
Requirements
Connect the phone to an available 2.4GHz AP.
Download the
oneshot
mobile app,or follow “联盛德微电子”, “产品应用”->”Airkiss 配网” in our wechat official account.One-click distribution network.
Building and flashing
Example Location: examples/wifi/oneshot
compile, burn, and more, see: get started
Running result
Successfully running will output the following logs
D/main [0.002] boot reason 0
D/main [0.004] heap size 269104(262.80KB)
D/fls [0.010] flash size 0x200000(2MB)
D/ptb [0.014] partition table base 0x800e000
D/ft [0.020] ft_0 base 8000000, ft_1 base 8001000
D/ft [0.026] ft init too
D/ft [0.030] ft init error
E/nvs [0.034] use new hash entry num=53
I/ota_http [0.040] 0.3.0 build at Jun 13 2024 14:53:32
D/wifi [1.834] distribution event 0
D/wifi [1.838] scan finish number 14
I/oneshot_example [1.844] Scan done
D/wifi [1.846] distribution event 9
I/oneshot_example [1.858] WiFi Connected to ap