motamman
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
This is outta my league. I can't figure it out. I posted an issue on git.
14 replies
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
not so far. still exploring
14 replies
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
I think it is a bug in the C6 implention of wifi. And it's more of an issue than I thought. Nothing resolves,. I can't hit the mqtt broker or any other local hostnames. Everything needs to be ip based. If I use wifi with anything other than an IP address it kcks that error.
I agree that is probably an IPv6 issue but I i don't know enough yet to dive in.
14 replies
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
Since I have your ear. I am struggling with an issue that seems related to the C6 integration and maybe you have some ideas. In Arduino, I have a library that grabs some initializing json and html for my sensors. I ported that library to platformio and it compiles as expected, regardless of the chip (I am also using the S3.)
Using platformio, with the c6, however, it will not resolve the domain name but will work the ip address.
On the S3, it works exactly as expected.
Here is the error:
E (7515) OPENTHREAD: esp_openthread_task_switching_lock_acquire(38): Failed to acquire the lock because the mutex is not ready
E (7515) OPENTHREAD: esp_openthread_task_switching_lock_release(46): Failed to release the lock because the mutex is not ready
E (7526) OT_DNS64: Cannot find NAT64 prefix
[ 7225][E][NetworkManager.cpp:136] hostByName(): DNS Failed for 'mizzen.zennora.sv' with error '-54'
NB: the DNS is mosdef resolving the domain and i also tested with 8.8.8.8. I am not using thread and don't plan to, at least for now.
Here is a distilled version of offending function:
bool ZennoraCore::initializeSystemConfig(InitializationStatus& status) {
const char* configPath = "/config/systemConfig.json";
const char* remoteUrl = "http://<path to file>/systemConfig.json";
if (loadSystemConfig()) {
status.systemConfigLoaded = true;
return true;
}
Serial.println("System config not found locally. Attempting to fetch from remote server...");
if (fetchAndSaveSystemConfig(remoteUrl, configPath)) {
status.systemConfigFetched = true;
// Try loading the newly saved config
if (loadSystemConfig()) {
status.systemConfigLoaded = true;
return true;
} else {
Serial.println("Failed to load system config after fetching.");
}
} else {
Serial.println("Failed to fetch system config from remote server.");
}
return false;
}
Any ideas?
Pax,
Mo
14 replies
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
I will dive into sensesp this weekend, I hope. I am particularly interested in your nmea 2000 work.
14 replies
SKSignal K
•Created by motamman on 12/18/2024 in #sensesp
motamman - Esp32-c6 Arduino support, in a manne...
I finally got around to testing it last night, and yes, works fine with the C6. (I didn't test sensesp. I just converted a couple of Arduino projects that use my own libraries.)
14 replies
SKSignal K
•Created by motamman on 10/17/2024 in #sensors
motamman - I posted this on the Arduino group b...
Thank you. I had an extra ICM20948 that I bought as a spare for my MacArthur Hat. I hooked that up to the system, reworked the code, and, bobs your uncle, it is working flawlessly. I didn't have to play when the resistors either.
Still, that link and the process have been illuminating. Thank you.
6 replies
SKSignal K
•Created by motamman on 10/17/2024 in #sensors
motamman - I posted this on the Arduino group b...
And I didn't remove any pull-up resistors. I didn't think that was necessary given they have different addresses. (And I have never done that.)
Would that cause one sensor to behave erratically and the other flawlessly?
6 replies
SKSignal K
•Created by motamman on 10/17/2024 in #sensors
motamman - I posted this on the Arduino group b...
Thank you muchly for all of that. I am pretty new to this space so I appreciate the offerings.
6 replies
SKSignal K
•Created by motamman on 9/25/2024 in #sensors
motamman - I have been happily coding various s...
I am old enough to avoid seduction. Maybe I will wait until you fall in love. And thanks for explaining what's going on. I didn't know.
2 replies