Angus Gratton
d7f251aef3
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-07-03 09:13:46 +00:00
Angus Gratton
200fa4abeb
legacy provisioning: Always try to reconnect when disconnected
...
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-07-03 09:13:46 +00:00
Angus Gratton
822b6986aa
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-03 09:13:46 +00:00
Angus Gratton
6787718e1b
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-03 09:13:46 +00:00
Angus Gratton
388522a886
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-07-03 09:13:46 +00:00
Roland Dobai
14c978b54f
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-13 15:26:22 +02:00
He Yin Ling
6e05a79536
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-11 15:57:49 +11:00
Mahavir Jain
70af759dd2
examples: change default build instructions in docs to CMake
2019-08-06 17:25:25 +05:30
Anurag Kar
61923d37b6
esp_prov : Minor refactoring in argument dependent logic
...
Other changes:
* Command line argument name and descriptions updated and formatted
* Some exception messages updated for clarity
* READMEs updated for tool and all provisioning examples
* Minor update in example test scripts due to change in esp_prov.get_transport() API
* Transport_HTTP now forces connect on initialization
2019-07-04 15:02:07 +05:30
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
suda-morris
d156f0fc0f
replace strncpy with strlcpy in wifi examples for safety's sake
2019-06-17 11:25:50 +08:00
Anurag Kar
a8d19e6638
Provisioning Examples : Bugfix in copying Wi-Fi SSID and Passphrase
2019-06-12 05:42:46 +00:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Anurag Kar
15be5e47a1
softap_prov_test : example script updated to accomodate for changes in logs
2019-04-15 10:19:29 +00:00
Anurag Kar
d784fbb314
examples/provisioning : Call esp_wifi_init() only in main function before starting provisioning
...
Removed all other instances of call to esp_wifi_init(), because every time this is called it
will override its previously set default event handler and hence cause numerous warnings.
Also, call nvs_flash_init() only once, that is before calling esp_wifi_init() in main function
2019-04-15 10:19:29 +00:00
Anurag Kar
3608f9bde4
examples/provisioning : use esp_event library to handle WiFi/IP events
2019-04-15 10:19:29 +00:00
Anurag Kar
f4f3b6088a
provisioning examples : typos fixed and minor change in timer callback execution
...
Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.
2019-02-15 10:45:34 +00:00
Anurag Kar
59b10709d1
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated
...
Closes https://github.com/espressif/esp-idf/issues/2874
2019-02-15 10:45:34 +00:00
Piyush Shah
3804c458c7
softap_prov: Changes in the example code as per changes to protocomm_httpd
...
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-02-04 18:22:43 +05:30
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anurag Kar
2bb669cfbd
Docs : Provisioning docs and READMEs updated with links to GitHub repositories of Android and iOS apps
2018-10-18 18:23:03 +05:30
Anurag Kar
84f094453b
Examples : Added provisioning examples, tests and client tool.
...
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30