2024-10-07 05:08 AM - last edited on 2024-10-07 05:51 AM by Andrew Neil
I've interfaced my RFM95 LoRa module with the STM32L476RG Nucleo board, using the I-CUBE-LRWAN library to send uplink messages with dummy data and temperature values. However, I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?
Solved! Go to Solution.
2024-10-07 05:55 AM - edited 2024-10-07 05:55 AM
@Zeeshan123 wrote:I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?
Probably, it just doesn't have one - not all examples do have .ioc files:
Is there any evidence of any other CubeMX-generated code in the project?
2024-10-07 05:55 AM - edited 2024-10-07 05:55 AM
@Zeeshan123 wrote:I can't locate the .ioc file in the library to configure the pinouts for my external sensors. Could you help me find the .ioc file in this library, and let me know which file to modify to add sensor values and customize the payload?
Probably, it just doesn't have one - not all examples do have .ioc files:
Is there any evidence of any other CubeMX-generated code in the project?
2024-10-07 07:24 AM
So, does that mean I can't use that library to interface external real sensors using this library as my end node ?
2024-10-07 07:57 AM
Not at all.
It just means that you'll have to configure the pins, etc, manually.
Or maybe use a separate Cube-MX project to generate configurations, and then manually merge them into the I-CUBE-LRWAN project.
2024-10-07 07:59 AM
So , there is some hope I guess.