Skip to content

Need help with ADL Serializer for my driver. #4330

Closed Answered by jcracine-cimeq
jcracine-cimeq asked this question in Q&A
Discussion options

You must be logged in to vote

Update:
I managed to fix all of my crashes! I had multiple things that prevented my JSON file to be properly parsed.
First, the enum I tried to serialized weren't serialized properly because I tried to do it while inside my namespace. But the enums are from the ESP IDF WiFi driver and are not part of my namespace, so to fix it I needed to move them out of the namespace for it to be serialized properly.
Then, another of the fields wasn't being parsed correctly as it tried to parse a uint8_t array, but that's an oversight I made because I fixed this issue earlier with the SSID and password fields using memcpy.
@gregmarr Thanks for your help!

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@jcracine-cimeq
Comment options

@gregmarr
Comment options

@jcracine-cimeq
Comment options

@jcracine-cimeq
Comment options

Answer selected by jcracine-cimeq
@gregmarr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants