Comments (11)
Hi @jlpuma24 , Can you give some more details like which idf version and Android version you are using ?
from esp-idf-provisioning-android.
Thanks for answer @khushbushah2302 i'm using the latest one 2.1.1, and the android version what i'm using are 12 and 13.
Thanks!
from esp-idf-provisioning-android.
Hi @jlpuma24 , can you please install esp-idf v5.0 device firmware and check this ?
from esp-idf-provisioning-android.
Hi @khushbushah2302, i am the firmware engineer on the project with @jlpuma24 that has this issue. I have updated to esp-idf v5.0 and i am running the wifi_prov_mgr example without changes to replicate the issue we are seeing. The issue is still there with the latest esp-idf. i have the example configured to reset provisioning after a esp32 reset (CONFIG_EXAMPLE_RESET_PROVISIONED).
when using the ESP BLE Prov app (App version – v2.1.0 – 7f8108a) i see the issue that we believe to be the same as what happens on our custom app. after a successful bluetooth connection and provision, i click "provision another device". i reset the esp32 and then select it from the device list on the app. it then immediately shows "device disconnected". the message disappears after a few seconds. I can also close the app immediately after a successful bluetooth connection without completing the provisioning, reset esp32, then open app again, and the "device disconnected" message will appear after selecting device.
from esp-idf-provisioning-android.
here is the esp32 device log on a BT failure:
I (0) cpu_start: App cpu up.
I (545) cpu_start: Pro cpu start user code
I (545) cpu_start: cpu freq: 160000000 Hz
I (545) cpu_start: Application information:
I (550) cpu_start: Project name: wifi_prov_mgr
I (555) cpu_start: App version: 1
I (560) cpu_start: Compile time: Dec 30 2022 12:58:38
I (566) cpu_start: ELF file SHA256: c2d93d7fe8640f4c...
I (572) cpu_start: ESP-IDF: v5.0-dirty
I (577) heap_init: Initializing. RAM available for dynamic allocation:
I (584) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (590) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (596) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (603) heap_init: At 3FFC98E0 len 00016720 (89 KiB): DRAM
I (609) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (615) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (622) heap_init: At 4009E748 len 000018B8 (6 KiB): IRAM
I (629) spi_flash: detected chip: generic
I (632) spi_flash: flash io: dio
W (636) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (651) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (765) wifi:wifi driver task: 3ffce400, prio:23, stack:6656, core=0
I (765) system_api: Base MAC address is not set
I (765) system_api: read default base MAC address from EFUSE
I (795) wifi:wifi firmware version: 0d470ef
I (795) wifi:wifi certification version: v7.0
I (795) wifi:config NVS flash: enabled
I (795) wifi:config nano formating: disabled
I (795) wifi:Init data frame dynamic rx buffer num: 32
I (805) wifi:Init management frame dynamic rx buffer num: 32
I (805) wifi:Init management short buffer num: 32
I (815) wifi:Init dynamic tx buffer num: 32
I (815) wifi:Init static rx buffer size: 1600
I (815) wifi:Init static rx buffer num: 10
I (825) wifi:Init dynamic rx buffer num: 32
I (825) wifi_init: rx ba win: 6
I (835) wifi_init: tcpip mbox: 32
I (835) wifi_init: udp mbox: 6
I (835) wifi_init: tcp mbox: 6
I (845) wifi_init: tcp tx win: 5744
I (845) wifi_init: tcp rx win: 5744
I (855) wifi_init: tcp mss: 1440
I (855) wifi_init: WiFi IRAM OP enabled
I (855) wifi_init: WiFi RX IRAM OP enabled
I (865) wifi_prov_scheme_ble: BT memory released
I (905) app: Starting provisioning
I (905) app: Development mode: using hard coded salt
I (905) app: Development mode: using hard coded verifier
I (915) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (1015) wifi:mode : sta (30:c6:f7:b4:57:58)
I (1015) wifi:enable tsf
I (1025) BTDM_INIT: BT controller compile version [8020d24]
I (1265) protocomm_nimble: BLE Host Task Started
I (1275) wifi_prov_mgr: Provisioning started with service name : PROV_B45758
I (1275) app: Provisioning started
I (1275) app: Scan this QR code from the provisioning application for Provisioning.
I (1285) QRCODE: Encoding below text with ECC LVL 0 & QR Code Version 10
I (1295) QRCODE: {"ver":"v1","name":"PROV_B45758","username":"wifiprov","pop":"abcd1234","transport":"ble"}
I (1295) NimBLE: GAP procedure initiated: advertise;
I (1305) NimBLE: disc_mode=2
I (1315) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (1325) NimBLE:
█▀▀▀▀▀█ ███ ▀▄▀▀▀▄▄▄█▄▀▀▄▄▀▀ █▀▀▀▀▀█
█ ███ █ █▄▀█ ▄▄▄█▀▀▀▄▀▀█▄▄ ▄█ █ ███ █
█ ▀▀▀ █ ▄ ▄▄█▀▀▀ ▄▀█▄▀ ▀█▀ █ ▀▀▀ █
▀▀▀▀▀▀▀ ▀▄▀ █ █ █▄▀ ▀▄▀▄▀ ▀▄█ ▀▀▀▀▀▀▀
▀█▄▄▀▀▀▄▄▄▄▀▄▄█▄ ▀█▀▄▀██▀▄ █▀▄ █▄▀▀▀▀
█ ▄▀▀▄▀▀ ▀█▀▀ ▀█▄ ▄▄▄▀▄ ██ ██ ▀█▄█▄
▀▀▄▀▀█▀▀▄▄ ▀ █▀██▀▀▀ ▄▀▄ ▄▀ ▀█▄▀█▄▀
█▀▀▀█▀▀▄▄▄ ▄ █▀██▀▄▀▄██▀▀▄▀ █▄█ █▄
▄ ▄▀ ▀▀▄█▄▄▀▄▀█▄ ▀█▀▀█ █▀▄▄▄▀██▀▄ ▀▀▀
█▀▀███▀▄▄ █▀█▀█▀▄ ▄ █▄▀█ ██ █ █▄▀▄▄▄
▀▀▄ ▀▄█ ▄ ▀█▄▄█▀ ▀▀▀ ▄ ▄ ▄▀██▀▄█▀█▀
█▀█▄█▀ █▀▀ ▄ ▄▀██▀ ▀▄█▀ ▀ █▀█▄▀ █▄▄▄
██▀▄▀█▀▄█▀█▀▄▀▀▄█▀ ▀▀▀█▄█ ▄▄▀▀█▀▄▀▀ ▀
▄▀█ ▀ ▄▀██▀█▀▀ ▄ ▄ ██▀ ▀▀▀█ █▄█▄█▀▄
▀▀▀ ▀▀▀▀██ ▀█▄█▄▀▄▀██▀█▄▄▄ █▀▀▀█ ▀▄
█▀▀▀▀▀█ ▄ ▄ ▄ ▄███▄▄ ▄ ▀ ▄▀█ ▀ ██▄▄▄
█ ███ █ ▀█▄▀▄▀▀▄██▄ ▄▀█▄█ ▄▄████▀▄█▄▄
█ ▀▀▀ █ ▄███▀█▀▀▄▄▀▄ ████ █ ▄ ▀▄██▄
▀▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀ ▀▀▀ ▀ ▀ ▀▀ ▀▀▀
I (1595) app: If QR code is not visible, copy paste the below URL in a browser.
https://espressif.github.io/esp-jumpstart/qrcode.html?data={"ver":"v1","name":"PROV_B45758","username":"wifiprov","pop":"abcd1234","transport":"ble"}
I (7335) NimBLE: GAP procedure initiated: advertise;
I (7335) NimBLE: disc_mode=2
I (7335) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (7345) NimBLE:
from esp-idf-provisioning-android.
Hi @jlpuma24 ,
We have fixed the issue in app and firmware (esp-idf v5.0). But app is still in beta stage. Can you install ESP BLE Prov beta app (version - v2.1.2 - 661f84d) and check this ?
from esp-idf-provisioning-android.
Hi @khushbushah2302 i didn't see that commit, or branch, or tag in the tree. Can you clarify how can i got the access to this version? Thanks!
from esp-idf-provisioning-android.
Hi @jlpuma24 ,
The app side commit is not available on GitHub yet. It will be available soon.
For installing beta version of app, you need to join the beta program from PlayStore as shown in screenshot. You can install beta app by updating current app after sometime of joining beta.
from esp-idf-provisioning-android.
Hi @jlpuma24 , app is released now. Please check with new app.
from esp-idf-provisioning-android.
Hi @khushbushah2302, I have tested the new app and it still shows the "device disconnected" message every other provisioning attempt. For the custom android app that @jlpuma24 is developing, which also has this problem, we have found that the issue is only happening on samsung devices.
from esp-idf-provisioning-android.
@adamlehotay I have same issue with samsung devices. did you resolve this issue?
from esp-idf-provisioning-android.
Related Issues (20)
- Do you support to get IPwifi in kotlin ?
- Intermitent issue when try to provision device
- How to I get wireless network IP4 address (of ESP with Wifi, not phone with Wifi) after successful provision in Android HOT 6
- Error protobuf when in release HOT 2
- Provision Issue - java.lang.RuntimeException: Characteristic is not available for given path. HOT 2
- Jitpack Dependency Unavailable HOT 10
- Android Espblufi app have a issue with Chinese Wifi SSID HOT 4
- Unable to call ProvisionListener in Kotlin Android HOT 6
- How to disable the automatic disconnection of BLE when device provisioning success? HOT 3
- How to test sending custom data from this app
- AES encryption for profile Security1 HOT 2
- Qrcode is not valid
- 'IllegalArgumentException' error regarding ble, uuid
- Espdevice.provision
- EspDevice.provision, debug app no problem, but release app callback with createSessionFailed HOT 7
- EventBus SDK warning HOT 2
- Incorrectly reports provisioning failure
- Unterminated string at character 600
- can not config wifi success
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-idf-provisioning-android.