Frequently Asked Questions
This page contains FAQs for developers and the technically inclined. It is also intended to address any common problems or "known issues". Last Updated 8/16/22.
-
If I write blocking code by accident in the main sketch, will it affect gesture recognition? No, GyroPalm's gesture system operates on its own AI-engine onboard in a parallel task. In most case, your code will not affect the performance of the gesture callback functions. However, it may affect the end-user's experience of your application if it appears to be frozen.
-
How can I save power and make the device last longer? It is highlighly recommended that you turn off the display and put the device to sleep mode when it is not in use. A way to do that would be to set a timestamp variable that marks the last time the user was active. If the timestamp exceeds the threshold, then run the sleep routine.
-
Can I add graphics to the GyroPalm? The graphics in GyroPalm can be added via an image-converter built into GyroPalm Studio. Upload a file, and click the
Convert to Icon
button. -
In the
void showApp(int page)
function, how can I use an LVGL widget outside of GyroPalmLVGL? GyroPalm understands that users want to take advantage of all LVGL elements. To implement a widget not covered byGyroPalmLVGL
, set the parent of the widget toform[curScreen]._screen
instead oflv_scr_act()
. For example:cpp lv_obj_t * label1 = lv_label_create(form[curScreen]._screen, NULL);
-
Can I use LVGL without GyroPalmLVGL elements? Yes, by simply including the
GyroPalmLVGL.h
library, developers do not necessarily have to use the wrappers provided by GyroPalm but can also use core LVGL functions. -
My GyroPalm wearable shows "Invalid License" after uploading from GyroPalm Studio. What happened?
By default, GyroPalm provides a genuine license provisioned in each wearable to ensure full compatibility and authenticity. This effort is made to prevent people from using counterfeit devices with GyroPalm Studio or uploading GyroPalm programs to a device other than a GyroPalm Encore. GyroPalm, LLC reserves the right to deny service for users who attempt to reverse-engineer the framework, tamper with the physical device, or buy devices from any distributor not authorized by GyroPalm.
In the rare event that a GyroPalm hardware license expires or becomes invalidated, the wearable device will cease to operate. If you believe this occurence is a mistake, you are welcome to submit a ticket at https://support.gyropalm.com so that our staff may help you resolve the issue. Be sure to provide proof of purchase and the ID number shown on the error screen.
-
I am getting a "runtime error" or "panic error" when I try to call a GyroPalmEngine or GyroPalmCloud method in a GyroPalmLVGL callback. What can I do?
By default, all
GyroPalmLVGL
callbacks such as button, slider, msgbox events are written on astatic void
basis. However, thestatic
keyword must not be declared if the developer wishes to called aGyroPalmEngine
orGyroPalmCloud
method. Static means "not global" and will isolate the scope of code within the static function.