-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Unify Automated
committed
Mar 31, 2023
1 parent
f66742e
commit d4f8c9b
Showing
10,095 changed files
with
491,494 additions
and
409,177 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"zap_2022.1.10_amd64.deb" filter=lfs diff=lfs merge=lfs -text | ||
"slc_cli_linux.zip" filter=lfs diff=lfs merge=lfs -text | ||
"zap_apack_linux.zip" filter=lfs diff=lfs merge=lfs -text | ||
"zap-2022.1.10.dmg" filter=lfs diff=lfs merge=lfs -text | ||
"zap_apack_mac.zip" filter=lfs diff=lfs merge=lfs -text | ||
"slc_cli_mac.zip" filter=lfs diff=lfs merge=lfs -text | ||
"zap_apack_mac.zip" filter=lfs diff=lfs merge=lfs -text | ||
"slc_cli_linux.zip" filter=lfs diff=lfs merge=lfs -text | ||
"zap_2022.1.10_amd64.deb" filter=lfs diff=lfs merge=lfs -text | ||
"zap_apack_linux.zip" filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
find_package(GeckoSDK 4.2.0 REQUIRED) | ||
find_package(GeckoSDK 4.2.2 REQUIRED) | ||
|
||
add_subdirectory(components) | ||
add_subdirectory(applications) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
find_package(GeckoSDK 4.2.0 REQUIRED) | ||
find_package(CPCD 4.2.0 REQUIRED) | ||
find_package(Python3 COMPONENTS Interpreter REQUIRED) | ||
find_program(MAKE_EXECUTABLE NAMES make REQUIRED) | ||
|
||
set(BGBUILD ${GeckoSDK_ROOT_DIR}/protocol/bluetooth/bin/gatt/bgbuild.py) | ||
|
||
set(EXPORT_DIR ${CMAKE_CURRENT_BINARY_DIR}/export) | ||
set(AUTOGEN_DIR ${CMAKE_CURRENT_BINARY_DIR}/autogen) | ||
set(BTCONF_DIR ${EXPORT_DIR}/app/bluetooth/example_host/bt_host_empty/config/btconf) | ||
set(BTCONF_FILE ${BTCONF_DIR}/gatt_configuration.btconf) | ||
|
||
set(BT_HOST_EMPTY_SRC_FILES | ||
${EXPORT_DIR}/app/common/util/app_log/app_log.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_log/app_log_cli.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/iostream_mock/sl_iostream_handles.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_signal/app_signal_posix.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_sleep/app_sleep.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/host_comm/host_comm.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/ncp_host/ncp_host.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/tcp/tcp_posix.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/uart/uart_posix.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/cpc/cpc.c | ||
${EXPORT_DIR}/protocol/bluetooth/src/sl_bt_ncp_host.c | ||
${EXPORT_DIR}/protocol/bluetooth/src/sl_bt_ncp_host_api.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/named_socket/named_socket.c | ||
${EXPORT_DIR}/app/bluetooth/common/ncp_gatt/sl_ncp_gatt.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/ncp_version/ncp_version.c | ||
${EXPORT_DIR}/app/bluetooth/common_host/system/system.c | ||
${EXPORT_DIR}/app/bluetooth/example_host/bt_host_empty/app.c | ||
${EXPORT_DIR}/app/bluetooth/example_host/bt_host_empty/main.c | ||
) | ||
|
||
set(BT_HOST_EMPTY_INCLUDES | ||
${EXPORT_DIR}/app/common/util/app_log | ||
${EXPORT_DIR}/app/bluetooth/common_host/iostream_mock | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_log | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_log/config | ||
${EXPORT_DIR}/app/common/util/app_assert | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_assert/config | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_signal | ||
${EXPORT_DIR}/app/bluetooth/common_host/app_sleep | ||
${EXPORT_DIR}/app/bluetooth/common_host/host_comm | ||
${EXPORT_DIR}/app/bluetooth/common_host/host_comm/config | ||
${EXPORT_DIR}/app/bluetooth/common_host/ncp_host | ||
${EXPORT_DIR}/app/bluetooth/common_host/ncp_host/config | ||
${EXPORT_DIR}/app/bluetooth/common_host/system | ||
${EXPORT_DIR}/app/bluetooth/common_host/tcp | ||
${EXPORT_DIR}/app/bluetooth/common_host/uart | ||
${EXPORT_DIR}/app/bluetooth/common_host/cpc | ||
${EXPORT_DIR}/platform/common/inc | ||
${EXPORT_DIR}/protocol/bluetooth/inc | ||
${EXPORT_DIR}/app/bluetooth/common_host/named_socket | ||
${EXPORT_DIR}/app/bluetooth/common/ncp_gatt | ||
${EXPORT_DIR}/app/bluetooth/common_host/ncp_version | ||
${EXPORT_DIR}/app/bluetooth/example_host/bt_host_empty | ||
) | ||
|
||
add_custom_command( | ||
OUTPUT ${BT_HOST_EMPTY_SRC_FILES} ${BTCONF_FILE} | ||
COMMAND ${MAKE_EXECUTABLE} export EXPORT_DIR=${EXPORT_DIR} | ||
WORKING_DIRECTORY ${GeckoSDK_ROOT_DIR}/app/bluetooth/example_host/bt_host_empty | ||
COMMENT "Export project files" | ||
) | ||
|
||
add_custom_command( | ||
OUTPUT ${AUTOGEN_DIR}/gatt_db.c | ||
COMMAND ${Python3_EXECUTABLE} ${BGBUILD} ${BTCONF_DIR} -o ${AUTOGEN_DIR} | ||
DEPENDS ${BTCONF_FILE} | ||
COMMENT "Generate GATT database" | ||
) | ||
|
||
add_executable(bt_host_empty | ||
${BT_HOST_EMPTY_SRC_FILES} | ||
${AUTOGEN_DIR}/gatt_db.c | ||
) | ||
|
||
add_dependencies(bt_host_empty cpc cpcd) | ||
|
||
target_include_directories(bt_host_empty BEFORE PRIVATE | ||
${BT_HOST_EMPTY_INCLUDES} | ||
${cpcd_SOURCE_DIR}/lib | ||
${AUTOGEN_DIR} | ||
) | ||
|
||
target_compile_definitions(bt_host_empty PRIVATE | ||
-DHOST_TOOLCHAIN | ||
-DPOSIX | ||
-DCPC | ||
-DSL_CATALOG_APP_LOG_PRESENT | ||
-DSL_CATALOG_NCP_GATT_PRESENT | ||
-DSL_CATALOG_NCP_VERSION_PRESENT | ||
) | ||
|
||
set_source_files_properties( | ||
${EXPORT_DIR}/app/bluetooth/common_host/host_comm/host_comm.c | ||
PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation | ||
) | ||
|
||
target_link_libraries(bt_host_empty PRIVATE pthread util cpc) | ||
target_link_directories(bt_host_empty PRIVATE ${cpcd_BINARY_DIR}) | ||
|
||
install(TARGETS bt_host_empty RUNTIME DESTINATION "bin" COMPONENT uic-bt-host-empty) | ||
|
||
add_component_to_uic( | ||
uic-bt-host-empty # Package Name | ||
"Universal IOT controller - Bluetooth Host Empty Project" | ||
"${CMAKE_PROJECT_NAME}-bt-host-empty" # Package Debian filename | ||
"${CMAKE_PROJECT_NAME}-cpcd" # Package Depends on | ||
"" | ||
"" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,53 @@ | ||
#!/bin/sh | ||
if type "systemctl" > /dev/null; then | ||
# postinst script for uic-dev-gui | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
UIC_VAR_DIR="${CPACK_PACKAGING_INSTALL_PREFIX}/var/lib/uic/" | ||
|
||
setup_uic_user() { | ||
if ! getent group uic >/dev/null; then | ||
addgroup --quiet --system uic | ||
fi | ||
|
||
if ! getent passwd uic >/dev/null; then | ||
adduser --quiet --system --no-create-home --ingroup uic --home "$UIC_VAR_DIR" --shell /usr/sbin/nologin uic | ||
usermod -a -G dialout uic | ||
fi | ||
} | ||
|
||
fix_permissions() { | ||
mkdir -p "$UIC_VAR_DIR" | ||
chown uic "$UIC_VAR_DIR" | ||
} | ||
|
||
start_services() { | ||
if type "systemctl" > /dev/null; then | ||
systemctl --system daemon-reload || true | ||
systemctl enable uic-dev-gui-api.service || true | ||
systemctl enable uic-dev-gui-client.service || true | ||
systemctl start uic-dev-gui-api.service || true | ||
systemctl start uic-dev-gui-client.service || true | ||
fi | ||
fi | ||
} | ||
|
||
case "$1" in | ||
configure) | ||
setup_uic_user | ||
fix_permissions | ||
start_services | ||
;; | ||
|
||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.8 KB
applications/dev_ui/dev_gui/doc/assets/img/application_monitoring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+78.6 KB
applications/dev_ui/dev_gui/doc/assets/img/commissionable_devices.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+80.5 KB
applications/dev_ui/dev_gui/doc/assets/img/commissionable_devices_add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16.4 KB
(85%)
applications/dev_ui/dev_gui/doc/assets/img/connect.PNG
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9.4 KB
(87%)
applications/dev_ui/dev_gui/doc/assets/img/very_start.PNG
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.