Comments (7)
Thanks you this worked perfectly
from ubxlib.
Hi and thanks for posting, sorry you're having trouble with this.
From the code you have posted above it looks as though your deviceConfig
is not a const
type, which the compiler would naturally zero for you, hence you likely need to set it to 0 first, i.e.:
uDeviceCfg_t deviceConfig = {0};
...otherwise the fields that you are not populating in the structure could contain anything, which could cause U_ERROR_COMMON_INVALID_PARAMETER
.
Give this a try and let us know how it goes.
from ubxlib.
ok i tried that , now i am getting a crash from the error
assert failed: periph_module_enable periph_ctrl.c:58 (periph < PERIPH_MODULE_MAX)
from ubxlib.
assert failed: periph_module_enable periph_ctrl.c:58 (periph < PERIPH_MODULE_MAX)
This is not a ubxlib
file, not something I have ever seen before I'm afraid. Which version of ESP-IDF are you using? We test with version 5.0.3 and we have customers who are using 5.2 successfully with I2C.
You will likely need to find out what the values of periph
and PERIPH_MODULE_MAX
are and where the value for periph
is coming from.
from ubxlib.
i am using the ESP-IDF v5.2.1-dirty
from ubxlib.
Checking the ESP-IDF pages for ESP32C6, it says:
ESP32-C6 has 1 I2C controller (also called port), responsible for handling communication on the I2C bus. A single I2C controller can be a master or a slave.
ESP-IDF usually numbers ports from zero, so it might be that you only have I2C port 0, hence you might need:
deviceConfig.transportCfg.cfgI2c.i2c = 0;
from ubxlib.
I will close this now, please feel free to open a new issue if there is more to discuss.
from ubxlib.
Related Issues (20)
- A good practice proposol HOT 2
- Cellular Callback for Signal Changes HOT 2
- Enable debug log HOT 3
- MQTT Clean Session Support for LARA-R6801D Module HOT 5
- Connecting NEO-6M to ESP32 HOT 3
- PlatformIO PackageException HOT 7
- Config baudrate for NEO-F10 GNSS module using uGnssCfgValSet() HOT 5
- SIM card detection HOT 3
- Mac Address is -1 after ble example script HOT 5
- ESP32: uCellNetConnectStart - stack overflow in task atCallbacks has been detected HOT 11
- Ubxlib / Configuration of the M10 Gnss receiver HOT 7
- SARAR4 Unresponsive HOT 6
- In order to run the Arduino sample on platformio, ubxlib_test.h is included. Please distribute it. HOT 7
- Help needed with integrating ubxlib into ESP-IDF with VS Code HOT 7
- Support for pass through AT commands with ubxlib HOT 2
- Zephyr Nordic NRF52832 device opened with error -256 HOT 3
- Sending Chunks Instead of Large Buffer in uGnssMgaResponseSend() HOT 9
- Guru Meditation Error HOT 1
- stm32u5 CubeIDE + CubeMX project integration issue of ubxlib without test runner HOT 2
- addMgaIniTime() Doesn't Check for Null HOT 1
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 ubxlib.