Skip to content

Commit

Permalink
Release ver_1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unify Automated committed Sep 21, 2022
1 parent 37b8225 commit d26badb
Show file tree
Hide file tree
Showing 8,854 changed files with 2,335,672 additions and 56,196 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .gitattributes
@@ -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
"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.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
17 changes: 10 additions & 7 deletions CMakeLists.txt
Expand Up @@ -24,11 +24,13 @@ project(

# Set shared version string to use in filenames (deb packages etc.)
set(FILE_NAME_VERSIONING "${CMAKE_PROJECT_VERSION}")
if (VERSION_PATCH)
string(APPEND FILE_NAME_VERSIONING "-${VERSION_PATCH}")
if(VERSION_PATCH)
string(APPEND FILE_NAME_VERSIONING "-${VERSION_PATCH}")
endif()
set(FILE_NAME_VERSIONING_ARCH "${FILE_NAME_VERSIONING}_${CMAKE_SYSTEM_PROCESSOR}")
set(FILE_NAME_VERSIONING_ARCH
"${FILE_NAME_VERSIONING}_${CMAKE_SYSTEM_PROCESSOR}")

include(cmake/include/zap.cmake)
include(cmake/include/target_interface_libraries.cmake)
include(cmake/include/compiler_options.cmake)
include(cmake/include/compatible_platform.cmake)
Expand All @@ -37,10 +39,11 @@ include(cmake/include/doxygen.cmake)
include(cmake/include/package-helper.cmake)
include(cmake/include/uic_helper.cmake)


if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT OR NOT DEFINED CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "/usr"
CACHE PATH "default install path" FORCE)
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
OR NOT DEFINED CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX
"/usr"
CACHE PATH "default install path" FORCE)
endif()

enable_language(Rust)
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

143 changes: 0 additions & 143 deletions Earthfile

This file was deleted.

2 changes: 1 addition & 1 deletion applications/CMakeLists.txt
@@ -1,6 +1,6 @@
# Fetch dependencies if forced
if(FETCH_GSDK MATCHES ON)
find_package(GeckoSDK 4.1 REQUIRED)
find_package(GeckoSDK 4.1.1 REQUIRED)
endif()

# Build options will determine if the applications will be included and build
Expand Down
2 changes: 1 addition & 1 deletion applications/aox/CMakeLists.txt
@@ -1,4 +1,4 @@
find_package(GeckoSDK 4.1 REQUIRED)
find_package(GeckoSDK 4.1.1 REQUIRED)

add_subdirectory(components)
add_subdirectory(applications)
@@ -1,19 +1,14 @@
# ZAP is required here
find_program(ZAP_EXECUTABLE "zap" REQUIRED)
run_zap(zap/gen-templates.json)

# Library
add_library(
aox_locator_configuration
src/aox_locator_configuration.c
${CMAKE_CURRENT_BINARY_DIR}/src/aox_locator_configuration_attributes.c
)
${ZAP_CURRENT_OUTPUT_DIR}/src/aox_locator_configuration_attributes.c)

target_include_directories(
aox_locator_configuration
PUBLIC
include
${CMAKE_CURRENT_BINARY_DIR}/include/
PUBLIC include ${ZAP_CURRENT_OUTPUT_DIR}/include/
PRIVATE src)

target_link_libraries(
Expand Down
@@ -0,0 +1,138 @@
/******************************************************************************
* # License
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
******************************************************************************
* The licensor of this software is Silicon Laboratories Inc. Your use of this
* software is governed by the terms of Silicon Labs Master Software License
* Agreement (MSLA) available at
* www.silabs.com/about-us/legal/master-software-license-agreement. This
* software is distributed to you in Source Code format and is governed by the
* sections of the MSLA applicable to Source Code.
*
*****************************************************************************/

// This file is generated by ZCL Advanced Platform generator. Please don't edit manually.

/**
*
* @defgroup aox_locator_configuration_attributes Configuration attributes
* @ingroup aox_locator_configuration
*
* @brief This component provides type definitions and helpers for the
* supported configuration of the AoXLocator cluster.
*
* @{
*/

#ifndef AOX_LOCATOR_CONFIGURATION_ATTRIBUTES_H
#define AOX_LOCATOR_CONFIGURATION_ATTRIBUTES_H

#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>

#include "sl_status.h"
#include "uic_typedefs.h"
#include "zap-types.h"

typedef struct aox_locator_attributes_ {
bool position_and_orientation_valid;
CoordinateAndOrientation position_and_orientation;
size_t azimuth_mask_count;
MinMaxPair* azimuth_mask;
size_t elevation_mask_count;
MinMaxPair* elevation_mask;
size_t allow_list_count;
char** allow_list;
uint8_t cte_mode;
} aox_locator_attributes_t;


#ifdef __cplusplus
extern "C" {
#endif // __cplusplus


/**
* @brief Reads in the AttributeStore/Datastore if AoXLocator attributes are
* present and loads them into the configuration.
*
* @returns SL_STATUS_OK on success, any other status codes otherwise
*/
sl_status_t aox_locator_load_attributes_from_attribute_store(void);

/**
* @brief Stores AoXLocator attributes in the AttributeStore/Datastore
*
* @returns SL_STATUS_OK on success, any other status codes otherwise
*/
sl_status_t aox_locator_store_attributes_in_attribute_store(void);

/**
* @brief Publishes AoXLocator attributes to MQTT
*
* @returns SL_STATUS_OK on success, any other status codes otherwise
*/

sl_status_t publish_aox_locator_attributes_to_mqtt();


/**
* @brief Sets the AoXLocator PositionAndOrientationValid Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_position_and_orientation_valid_attribute(
bool position_and_orientation_valid
);
/**
* @brief Sets the AoXLocator PositionAndOrientation Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_position_and_orientation_attribute(
CoordinateAndOrientation position_and_orientation
);
/**
* @brief Sets the AoXLocator AzimuthMask Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_azimuth_mask_attribute(
size_t azimuth_mask_count,
const MinMaxPair* azimuth_mask
);
/**
* @brief Sets the AoXLocator ElevationMask Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_elevation_mask_attribute(
size_t elevation_mask_count,
const MinMaxPair* elevation_mask
);
/**
* @brief Sets the AoXLocator AllowList Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_allow_list_attribute(
size_t allow_list_count,
const char** allow_list
);
/**
* @brief Sets the AoXLocator CTEMode Attribute
*
* @returns SL_STATUS_OK if successful, any other status code in case of error
*/
sl_status_t aox_locator_set_cte_mode_attribute(
uint8_t cte_mode
);


#ifdef __cplusplus
}
#endif // __cplusplus

#endif // AOX_LOCATOR_CONFIGURATION_ATTRIBUTES_H
/** @} end aox_locator_configuration_attributes */

0 comments on commit d26badb

Please sign in to comment.