Steve, very good to read and spot on now in my opinion. Regarding command options: for my latest command addition (obdii requests) I checked if we can use getopt_r(). Problems are a) it's not in the newlib included in esp-idf, and b) we also would need to change all handler signatures to allow getopt to modify the argv array. I also checked if some clever C++ getopt class is available but found none. I returned to implementing the option scanning the classical way, but took a note to implement a support class for this later on. Regards, Michael Am 30.12.20 um 03:23 schrieb Stephen Casner:
Michael,
OK, I've added a couple of paragraphs about duplicate registrations and unregistering. I also added code exerpts for the two source references and did some more wordsmithing and annotation cleanup. I think this is finished for now, but let me know if you see something that needs attention.
-- Steve
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26