After making a few adjustments to the Pebble weather example program, I encountered an issue. I included some app_log calls for debugging purposes, and I decided to utilize a configuration screen instead of an app to transmit data. However, the app_log calls indicate that no variables are being updated from the configuration.
Here is the main weather.c file for the app:
#include "pebble.h"
// Rest of the code follows...
(Please note that the code remains unaltered except for the app_log calls.) Below is the associated javascript file:
// JavaScript code for the configuration screen
// More code follows...
Lastly, here is the HTML file for the configuration settings:
<!DOCTYPE html>
<html>
<head>
<title>Configurable</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
// Additional HTML code for the configuration screen...
</head>
<body>
// More HTML code for the configuration screen...
</body>
</html>
And finally, example logs showcasing the issue:
[PHONE] pebble-app.js:?: weathertest__1/pebble-js-app.js:9 showing configuration
[PHONE] pebble-app.js:?: {'runhost client uuid' = bec5b2fa-eb94-407b-8296-08e0b5c5fa22}:{'webapp uuid' = bec5b2fa-eb94-407b-8296-08e0b5c5fa22}: ++_JS_LIFECYCLE_++:KILLED
[DEBUG] icon:1: precedes
[DEBUG] temperature:0: 1234°C
[PHONE] pebble-app.js:?: weathertest__1/pebble-js-app.js:14 configuration closed
// More log entries indicating the issue...