[Ovmsdev] Command prompt in secure mode
Michael Balzer
dexter at expeedo.de
Mon Mar 19 02:20:31 HKT 2018
Greg,
you need to set the secure flag as required on your command registration:
OvmsCommand* OvmsCommand::RegisterCommand(const char* name, const char* title, void (*execute)(int, OvmsWriter*, OvmsCommand*, int, const char* const*),
const char *usage, int min, int max, *bool secure*)
Everything else is handled by the system.
Regards,
Michael
Am 18.03.2018 um 17:47 schrieb Greg D.:
> Colored banner is fine. Nice touch.
>
> Do I need to do anything in the obdii code to fix the security issues,
> or is that taken care of in the command parser?
>
> Greg
>
>
> Stephen Casner wrote:
>> I'm fine with not setting a color on the prompts. Perhaps the color
>> should also be removed from the welcome banner?
>>
>> -- Steve
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180318/9c4994f4/attachment.htm>
More information about the OvmsDev
mailing list