I get the following error on my watch (Venu 2)
Error: Symbol Not Found Error
Details: "Could not find symbol 'find'"
Time: 2023-04-11T20:56:53Z
Part-Number: 006-B3703-00
Firmware-Version: '12.13'
Language-Code: fre
ConnectIQ-Version: 4.2.1
Filename: TeslaLink
Appname: Tesla Link
Stack:
- pc: 0x10000227
File: 'C:\Users\Sylvain\git\Tesla-Link\source\ServiceDelegate.mc'
Line: 178
Function: onReceiveVehicleData
And the code at that line is
var pos = responseData.find("battery_level");
Same line runs fine in the simulator. anybody know how to fix this? I must specify that that responseData variable contains a string of about 6000 characters, if it matters.
Thanks.