[Ovmsdev] Wifi with spaces in the SSID

Mark Webb-Johnson mark at webb-johnson.net
Sun Nov 19 21:46:19 HKT 2017


Nasty. The config system currently uses a space as a the separator between the instance and it’s value.

I’ve changed it to a tab character, in what I think is a backwards compatible way.

Please try with latest.

Regards, Mark.

> On 19 Nov 2017, at 11:14 AM, Tom Parker <tom at carrott.org> wrote:
> 
> Observant readers will notice that I made a spelling mistake in the wifi mode client call to demonstrate the problem, it doesn't work with the same error even if you spell the ssid correctly.
> 
> 
> On 19/11/17 16:12, Tom Parker wrote:
>> It appears that you cannot set a configuration value with a name containing spaces. It almost works, but it doesn't seem to store them correctly:
>> 
>> OVMS > config set wifi.ssid "Wifi With Spaces" secretpassword
>> OVMS > config list wifi.ssid
>> wifi.ssid
>>   AndroidAP
>>   Wifi With Spaces
>> OVMS > wifi mode client "Wifi with spaces"
>> Error: SSID password must be defined in config wifi.ssid
>> 
>> So it thinks it has a configuration value for that network but it doesn't work. When you reboot the OVMS you find that the configuration item was stored with only the first word of the SSID:
>> 
>> OVMS > config list wifi.ssid
>> wifi.ssid
>>   AndroidAP
>>   Wifi
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> 
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev




More information about the OvmsDev mailing list