-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to provision #18
Comments
It is trying to find BLE devices. Most common reasons why that would fail is a lack of permissions such as "exact position". I suggest running it with the Android debugger attached to your phone. What Android version is your phone on? |
Thanks for getting back to me. This is an old phone of mine, so having to drag back memories of how to use it! However, the permissions appear to be good in that I can see nothing is denied and location is permitted while using app. The is no option to have it on all of the time. The phone is a Samsung S9 and says it has the latest (for it) version. Android version 10. I enabled developer on the phone and downloaded, installed and connected ADB. Unfortunately, I'm now struggling to find out how to get the debug information. I created a file called dumpstate.zip which 'adb bugreport' produced, but I'm not qualified to glean meaning from it. It does mention some buffering stats and opnpool BLEprovisioning. No idea if it's important though. |
On its way thanks. |
Sorry for the long delay. I had to travel to help care for a family member.
It might be easier for you to statically configure the esp32 code for your
WiFi.
/C
Op wo 22 nov 2023 00:40 schreef nickshew ***@***.***>:
… On its way thanks.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKIDGRVNTKAINO6QJPX5HLYFU3V5AVCNFSM6AAAAAA7EBTELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRHA3DMMBRG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No problem, I hope everything is OK. I originally went for the precompiled files as I was having difficulty understanding the compile method as I don't use the tools very often. I will revisit them. Thanks for taking a look. Regards |
Sorry to bother you again. I have followed the instructions to statically configure the WiFi and MQTT. I have run into a problem when building that ota_update_task.h is missing when processing C:/OPNpool/interface/main/main.c. I have included the build output below. I have also had C:/OPNpool/interface/main/mqtt_task.c:38:10: fatal error: coredump_to_server.h: No such file or directory I feel I'm missing an important step. Regards [0/1] Re-running CMake... ESP-IDF Partition TableName, Type, SubType, Offset, Size, Flagsnvs,data,nvs,0x9000,16K, [638/1077] Performing build step for 'bootloader'
|
I have the same issue. 3 header files are missing but are included in interface/main.c Any idea where to get these files? I could not find them in the repo. It looks like the headers are required since main.c is trying to call functions like wifi_connect_init and ota_update_task Thanks for your help. |
Did you specify "--recursive" when cloning?
…On Fri, Dec 20, 2024 at 10:15 AM amichael ***@***.***> wrote:
I have the same issue. 3 header files are missing but are included in
interface/main.c
#include "ota_update_task.h"
#include "wifi_connect.h"
#include "factory_reset_task.h"
Any idea where to get these files? I could not find them in the repo. It
looks like the headers are required since main.c is trying to call
functions like wifi_connect_init and ota_update_task
Thanks for your help.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKIDGQMQIB6OTAB3URLHBT2GRNDVAVCNFSM6AAAAABT7TL4VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJXGQ4TQMJUGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
/c
|
I did use the recursive flag when cloning but it looks like there is a permission issue that is preventing the whole repo from being cloned. I'll try to dig in further.
|
Git clone --recursive fails when trying to access submodules via https. |
I just fixed two git module paths. Can you verify that this helped?
…On Sat, Dec 21, 2024 at 10:39 PM amichael ***@***.***> wrote:
Git clone --recursive fails when trying to access submodules via https.
I tried cloning via ssh but also received "Permission denied" despite
using ssh keys associated with my github account.
GitHub Desktop was able to successfully clone the submodules.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACKIDGTIJACZ4SV6GWZTLO32GZNCLAVCNFSM6AAAAABT7TL4VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGM2TANJVG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
/c
|
Hi Coert,
Thanks for the project. I have built one of the boards and flashed your standard code. I then used the apk to install OPNpool on a Samsung S9.
When I attempt to provision by pressing Continue after Selecting Provision Device from the upper right menu the screen flashes up a very brief message and then returns to the blank page with the Continue button.
I used a slow-mo video recording to see what the text said:
To provision your device please make sure that your Phone's Bluetooth is turned on and within range of your new device.
Scanning for OPNpool devices
console.txt
IMG_0209.MOV
Attached is the console output from the LOLIND32 and a very short video of the S9.
Any help would be greatly appreciated.
Regards
Nick Shew
The text was updated successfully, but these errors were encountered: