Commit Graph

31 Commits

Author SHA1 Message Date
Javier Viguera 79bd5559bf connectcore-demo-example: add support for ccimx95-dvk
https://onedigi.atlassian.net/browse/DEL-9809

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2025-11-11 17:56:54 +01:00
Gabriel Valcazar 453479e548 connectcore-demo-example: remove "#top" href from sidebar "collapse" button
This href causes issues when running the demo on a target with WebKit's
non-HTTP(S) process swap enabled. When clicking the "collapse" button, the
sidebar collapses, but the page is loaded again due to WebKit's process swap,
and the sidebar reverts back to its original state.

Removing the href fixes this, and the sidebar collapse functionality still
works as expected.

https://onedigi.atlassian.net/browse/DEL-9498

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2025-04-08 12:25:46 +02:00
David Escalona 893bd689c0 connectcore-demo-example: avoid pjax to cache npu page and force redraw
This is required so that we can show an overlay black screen over the full application
when an NPU demo is launched.

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-19 16:49:34 +02:00
David Escalona 5113d8e340 connectcore-demo-example: add NPU section to display and run NPU demos
https://onedigi.atlassian.net/browse/CCS-10

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-09-10 18:11:29 +02:00
David Escalona a1ecbfb119 connectcore-demo-example: add support for the ConnectCore 91
While on it, add a missing entry for the cc93 in the 'network.html' file.

https://onedigi.atlassian.net/browse/CCS-8

Signed-off-by: David Escalona <david.escalona@digi.com>
2024-08-26 10:22:58 +02:00
Arturo Buzarra 5d801b0386 connectcore-demo-example: add support to a third ethernet interface
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-25 12:18:07 +02:00
Arturo Buzarra a326832902 ccmp25: add support for the ConnectCore MP2 platform
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
2024-07-22 23:09:55 +02:00
David Escalona 0d599e8de9 connectcore-demo-example: add support for 'ccimx6sbc' and 'ccimx6qpsbc' platforms
https://onedigi.atlassian.net/browse/DEL-8719

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-11-09 12:03:30 +01:00
David Escalona cf8b2b0412 connectcore-demo-example: dashboard: add a mechanism to determine the color of the panels
Most of device boards have blue PCBs, but there are some products with green PCBs. In these cases,
the green panels have very poor contrast, so the color needs to be changed dynamically. This commit
adds a mechanism to automatically change the color of the dashboard panels based on the new device
property "PCB_COLOR".

https://onedigi.atlassian.net/browse/DEL-8719

Signed-off-by: David Escalona <david.escalona@digi.com>
2023-11-09 12:03:25 +01:00
Tatiana Leon 323f53cf56 connectcore-demo-example: update dashboard refresh timeout
Increase the dashboard refresh timeout to be 15s.
Uploading every 5s is too much for some platforms, ConnectCore MP15, with really
high CPU load.

https://onedigi.atlassian.net/browse/DEL-8508
https://onedigi.atlassian.net/browse/DEL-8509

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-05-15 15:06:44 +02:00
Tatiana Leon 17ec656b71 connectcore-demo-example: reduce the text in the dashboard labels
Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-15 13:10:16 +01:00
David Escalona 6ff808bc80 connectcore-demo-example: add support for ccimx93-dvk board
Signed-off-by: David Escalona <david.escalona@digi.com>
2023-02-08 18:07:20 +01:00
Tatiana Leon 1bb220793e connectcore-demo-example: set Digi logo link to 'index.html'
The original destination ('/') opens the root of the file system to browse.

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2023-02-06 18:24:30 +01:00
David Escalona 4f9717a2d3 connectcore-demo-example: add network configuration section
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-10-19 18:12:38 +02:00
David Escalona a8f6d228e6 connectcore-demo-example: add play and stop music feature
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-10-06 09:45:19 +02:00
David Escalona 252c3544cb connectcore-demo-example: add support for ccmp133-dvk board
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-09-29 11:40:40 +02:00
David Escalona 4e2f032267 connectcore-demo-example: add support for ccmp157-dvk board
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-13 16:53:25 +02:00
David Escalona 597e940bf1 connectcore-demo-example: add mechanism to remove available demo sections
While on it, remove multimedia section for the 'ccimx6ulsbc'.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-06 10:29:13 +02:00
David Escalona 9e5eb27132 connectcore-demo-example: general fixes and tweaks
- Removed CPU core sections from 'index.html'
- Fixed missing div in 'index.html'
- Added missing 'errno' import in 'demoserver.py'
- Reposition components when new data is received in 'dashboard.js'
- Improved display resolution read for multiline files.

Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-06 10:29:13 +02:00
David Escalona ab0be5c698 connectcore-demo-example: add support for ccimx6ulsbcpro board
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-06 10:29:13 +02:00
David Escalona 3babd87902 connectcore-demo-example: add dual ethernet support
Signed-off-by: David Escalona <david.escalona@digi.com>
2022-07-05 10:30:21 +02:00
Tatiana Leon a391b209e3 connectcore-demo-example: dashboard: get device info until everything is initialized
Ethernet and Wi-Fi IPs may not be assigned when the demo is launched.
Ask for its values everytime the status is requested until they are initialized.

https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 5c9b4f752e connectcore-demo-example: use local javascripts and css resources
Download all required javascript and stylesheets not to need Internet access
to properly run the demo locally.

https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 2bfc4d728d connectcore-demo-example: multimedia: add multimedia section
While on it remove 'History data' section.

https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon e34b7c2c43 connectcore-demo-example: dashboard: implement file system calls
https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 0943812956 connectcore-demo-example: dashboard: implement get device status and info
https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 0e6d64b499 connectcore-demo-example: dashboard: remove console access
Console is not going to be supported at this moment.

https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon b359ef3d43 connectcore-demo-example: remove not needed stuff for local management
https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 28319f0988 connectcore-demo-example: remove csrftoken cookie
https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 59cb0dd752 connectcore-demo-example: set relative path for static resources
https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:57:02 +02:00
Tatiana Leon 3a2d37f8e1 connectcore-demo-example: initial dashboard and management pages
Generated from repo https://github.com/digidotcom/digi-iot-web-apps at commit
95cb32f39f2fafd7bde7fb02c47bc966d8f75916 and directory 'connectcore'.

https://onedigi.atlassian.net/browse/DEL-7742

Signed-off-by: Tatiana Leon <Tatiana.Leon@digi.com>
2022-06-03 13:56:24 +02:00