Lua serial parity stopbits
Adds Lua scripting support to configure UART parity and stop bits through the AP_Scripting_SerialAccess interface.
Changes Added configure_parity(uint8_t) and set_stop_bits(uint8_t) methods to AP_Scripting_SerialAccess
Updated bindings.desc with proper type validation and range limits
Updated docs.lua for Lua API documentation
Needs further testing. If someone can test on my behalf I would be very grateful, as I am on vacation now.
Patches do look likely.
Should be a single commit with title something like , AP_Scripting: provide bindings for parity and stop bits
@tpwrules is this likely to work as-is?
Patches do look likely.
Should be a single commit with title something like ,
AP_Scripting: provide bindings for parity and stop bits@tpwrules is this likely to work as-is?
Noted. I'll try to squash the commits and chance the message.
OK. Squashed the commits into 1 commit and added correct format for commit message as requested.
Looks good overall, tested on Cube Orange that at least all the parity settings work.
Please clean up the return values and then we can merge. Be sure to squash your fix into the original commit.
Noted. Changes have been made. Thank you so much for testing, @tpwrules !