I experienced a small issue connecting to our Emerald EMS because the paring code starts with a zero.
Something in the stack between the YAML input and the generated C++ seems to have interpreted this a an octal literal.
Looking at the generated C++, I saw a different five digit number instead of the correct six digit code.
The workaround I found was to make the pairing_code YAML element a string, then it connects fine.
Perhaps it would be worth updating the sample .yml file to pairing_code: "123123" - might save a bit of bother for ~10% of users:)
I experienced a small issue connecting to our Emerald EMS because the paring code starts with a zero.
Something in the stack between the YAML input and the generated C++ seems to have interpreted this a an octal literal.
Looking at the generated C++, I saw a different five digit number instead of the correct six digit code.
The workaround I found was to make the pairing_code YAML element a string, then it connects fine.
Perhaps it would be worth updating the sample .yml file to
pairing_code: "123123"- might save a bit of bother for ~10% of users:)