Max Length of a Settings in Device Driver?

What's the maximum length of a Settings in a Device Driver?

Alan

Just found the SQL Error for this: The field is defined as 255 characters. Possible to get this redefined as "Max" I know I'm weird, but I have a need for about 5000 characters.

At this time, if it has to be manually entered by a user, I believe an App's preferences have a much longer maximum size than a driver's preferences. I had to use an app to hold a very long user supplied text string previously, and thus had to create child devices from the parent app.

A 'state' variable can hold a much longer string than a driver's user preference, if that would help in your specific application.

Realized that the state would solve my issue, just had to get the data in there. That and a few lines of code solved my issue.

Thanks,
Alan

1 Like