I am currently trying to add extra fields to the position module to have solar panel readings (captured through GET REST calls) tacked on to the protobuf position message. I am new to protobufs and cant seem to find any documentation for adding custom protobufs to meshtastic. Can someone point me to some documentation or tell me the high level process of customized protobufs?
What I have tried so far is making changes to the mesh protobuf header file by updating the position msg struct as well as the struct field encoding specification for nanopb. I then added the extra logic in the position module to handle the extra fields. Am I on the right track?