- Sep 18, 2020
-
-
Vivien Nicolas authored
-
doru91 authored
Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com>
-
- Sep 17, 2020
-
-
Michael Spang authored
* Remove the Android automake build GN build is tested & working for Android, so remove automake. fixes #2251 * Restyled by prettier-markdown * Restyled by shellharden * Restyled by shfmt * Update docs * Update docs Co-authored-by:
Restyled.io <commits@restyled.io>
-
- Sep 08, 2020
-
-
yunhanw-google authored
Problem CHIP don't have ChipOverBluez Build gn compilation support Summary of Changes -- Add Build gn support for ChipOverBluez -- Clean unused variables and warning -- Fix couple of warnings -- Disable ChipOverBluez support in automake fixes #2441
-
doru91 authored
* [K32W] Code refactor * remove invalid reference to IPAddress; * fix typos. Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Enable Thread Joining Using the SW4 button on the Expansion board, the user can initiate a Thread session to a Border Router. Thread Commissioning parameters are hard-coded for the moment but in a future PR these parameters will be send via BLE. Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * Restyled by clang-format * Restyled by prettier-markdown Co-authored-by:
Restyled.io <commits@restyled.io>
-
- Aug 28, 2020
-
-
doru91 authored
* [K32W] Sync Project CHIP with SDK 2.6.1-MR1 Make possible to build Project CHIP using a publicly available SDK which can be downloaded from mcuxpresso.com. Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Use OT submodule instead of prebuilt libs Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Add NXP Smart Lock Build Instructions Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * Restyled by prettier-markdown Co-authored-by:
Restyled.io <commits@restyled.io>
-
- Aug 20, 2020
-
-
Rob Walker authored
* add gn stuff for ios * restyled * rebase, use target_default config for cflags, cxxflags, defines, ldflags instead of getenv() * chugga * sheesh * restyled * re-restyled * fixup where we expect to find encoder.h * restyle * move app stuff around more * restyle * use <app/chip-zcl...> everywhere * restyle
-
doru91 authored
* [K32W] Add original k32w-app.mk makefile Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix k32w061-app.mk makefile Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Add original k32w061-chip.mk makefile Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix k32w061-chip.mk makefile Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Add rules for building device layer files Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Rename k32w-weave-mbedtls-config.h -> k32w-chip-mbedtls-config.h Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Remove not needed code Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Add K32W demo lock app and Makefile system Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fixes for app compilation Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fixes for app compilation ROund 2 - AppTAsk.{c.h} Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix app compilation issues Round 3 - At this moment we have linker issues. Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix Linker issues App compiles and links. Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix LEDWidget Animate Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] Fix Lock/Unlock LED Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * [K32W] App codying style fixes Signed-off-by:
Doru Gucea <doru-cristian.gucea@nxp.com> * Restyled by whitespace * Restyled by clang-format Co-authored-by:
Restyled.io <commits@restyled.io>
-
- Aug 14, 2020
-
-
kangping authored
* [thread] enable Thread SLAAC by default * enable slaac * enable SLAAC for examples
-
- Aug 12, 2020
-
-
Boris Zbarsky authored
-
- Aug 07, 2020
-
-
Boris Zbarsky authored
-
- Jul 31, 2020
-
-
Yufeng Wang authored
* [linux] Add dbus gen for CHIP Linux device layer to talk to wpa_supplicant * Generate wpa_supplicant GDBus interface for ConnectivityMgr. * Add configuration option to enable WiFi support for wpa_supplicant
-
- Jul 29, 2020
-
-
Vidhi Shah authored
* Echo client (over IP) in Android demo app. 1. Adding the JNI bridge for ChipDeviceController 2. Adding a screen to take in the IP address of the CHIP device and message to echo Demo: https://drive.google.com/file/d/15jIrB8Cz6k9MNixhhdeJEAWj6fmNCAJR/view * Restyled by google-java-format * Restyled by clang-format * Adding documentation. Co-authored-by:
Restyled.io <commits@restyled.io>
-
yunhanw-google authored
fixes #741
-
- Jul 21, 2020
-
-
Vivien Nicolas authored
* Create a new BleConnectionDelegate interface for BleLayer * Add BlePlatformDelegate, BleApplicationDelegate, BleConnectionDelegate code to src/platform/Darwin The delegates use CoreBluetooth which, unlike Network, is not directly available as C++ headers. As a result the mentioned delegates are implemented using Objective-c++. * Enable BleLayer to be built for standalone-apps * Remove c++11 extension from src/platform/Darwin/CHIPPlatformConfig.h since it is unused and create a warning when using Objective-c++ * Remove conflicting define from src/platform/Darwin/BlePlatformConfig.h that override BLE_CONNECTION_OBJECT default type * Expose BleLayer via a new ConnectivityManager::GetBleLayer method * Add Transport::BLE to src/transport It is a first version that directly use ChipDeviceController for callbacks. Transport::BLE is referenced as a friend class of ChipDeviceController to access some private members that may be better not accessible. Hopefully this dependency will be removed at some point. The current code also uses BleLayer->NewBleConnection which directly creates a BLE_CONNECTION_OBJECT from a given device name. * Add a new ChipDeviceController::ConnectDevice API dedicated for Ble devices The current API takes a name instead of an IP and a Port. Once PeerAddress has a better support of Ble this particular ConnectDevice api and the previous one (which uses IP/port) should likely be removed by a new API that takes a PeerAddress directly. This will obviosuly only be possible if Transport::BLE uses the SessionManager instead of beeing directly instantiated from the ChipDeviceController * Add .m and .mm to the set of compiled files by config/standalone-app.mk * Add 'echo-ble' to the list of commands supported by examples/chip-tool The patch reformats a little bit chip-tool in order to allow other commands that does not rely on IP. * Use the new platform BLE support from the iOS app
-
yunhanw-google authored
-- Add BlueZ in Third-party for CHIP Linux device layer BLE manager integration Issue: #741 Test: local compilation Co-authored-by:
Justin Wood <woody@apple.com>
-
Vivien Nicolas authored
-
Boris Zbarsky authored
* Add initial Silicon Labs ZCL data model files. All except type_stubs.h come from https://github.com/project-chip/connectedhomeip/pull/1164 types_stub.h comes from https://github.com/project-chip/connectedhomeip/issues/1425#issuecomment-656345511 and https://github.com/project-chip/connectedhomeip/issues/1425#issuecomment-657764550 * Add generated files from the Silicon Labs sample app provided by Ezra Hale. The sample app only implements the On/Off cluster. Most of the files have the same exact name as in the sample app, with the following exceptions: * endpoint_config.h was originally ZigbeeMinimalSoc_endpoint_config.h * gen_config.h was originally ZigbeeMinimalSoc.h * gen_tokens.h was originally ZigbeeMinimalSoc_tokens.h * Fix compile errors in types_stub.h This corrects various obvious problems in the file that prevent files that include it from compiling. * Fix #includes in the imported Silicon Labs code to not include nonexistent things. There are a few categories of fixes here: * Adjusting paths to match out directory structure (which is not identical to the one Silicon Labs apps normally use). * Commenting out includes of headers that we don't think we actually need. * Hardcoding some header names that are represented by preprocessor macros in the Silicon Labs build system. * Include various missing headers to allow the Silicon Labs code to compile. * Comment or ifdef out various calls to Silicon Labs functions we are not pulling in. For some of these we are not even pulling in the declaration. For some, we have a declaration, but no definition. At first glance, all of these are either there to solve problems that we will solve in a different way in CHIP, or the callsites are in code that CHIP is almost certainly not going to use. * Copy declaration of emberAfPluginOnOffClusterServerPostInitCallback from the zll-color-light sample app in the SiLabs ZCL code. * Restyle the Silicon Labs files to CHIP style * Add utilities for encoding and decoding messages that the Silicon Labs ZigbeePro implementation can handle. The actual encoding we are using is not quite the APS encoding, but it's still a throwaway, so that does not matter too much. * Switch the echo server to using the new On/Off implementation. We no longer compile the Dotdot-based ZCL data model files into libCHIP, because those have symbols whose names conflict with the new ZigbeePro-based ZCL data model files. * Switch command-line chip-tool to using the new On/Off implementation. * Switch iOS CHIPTool to using the new On/Off implementation. Co-authored-by:
Bhaskar Sarma <bhaskar@Bhaskars-MacBook-Pro.local>
-
- Jul 20, 2020
-
-
Damian Królik authored
* Add CMake module for building CHIP examples with Nordic NCS Currently Nordic platform layer of CHIP is based on nRF5 SDK. This commit is the first step needed to replace it with nRF Connect SDK based on Zephyr RTOS. While the old platform layer remains unchanged, add a CMake helper file which allows to build the entire CHIP using the NCS/Zephyr build system. * Port part of the door-lock example to Nordic Connect SDK Rewrite everything which doesn't depend on the CHIP platform layers using the NCS/Zephyr API. This includes functionality of the sample app related to LEDs, buttons, timers, message queues and logging. * Implement PlatformManagerImpl for nRF Connect SDK Implement PlatformManagerImpl for nRF Connect SDK based on generic implementation for Zephyr RTOS. Also provide initial implementation of functions to retrieve system time using Zephyr API and add Zephyr-based logging backend. The code compiles, but it requires other components to be tested. * Add empty stubs for nRF Connect platform layer This commit adds empty implementations of base platform functions. * Add ThreadStackManager implementation and enable OT This commit enables the OT stack in the Zephyr application. The ThreadStackManager allows the CHIP stack to control the state of the stack embedded into the Zephyr. It is required that all calls to this class are to be made from a cooperative task priority. * Adapt Inet layer to Zephyr networking API Make necessary changes to build CHIP Inet library using Zephyr networking API. Zephyr provides BSD-like socket interface, however a few things are missing: - some socket-related functions are not available, e.g. getsockname, recvmsg etc. Implement required replacements. - some constants are not available. In particular, some options passed to the setsockopt function must have been made optional. In case e.g. explicit multicast group management is needed we will have find another ways to implement that in Zephyr. - the whole ifaddrs library doesn't exist in Zephyr, so all the interface/address enumeration code must have been implemented for Zephyr. - disable TCP end point for nRF Connect SDK platform for now as it will require further changes. * Add ConnectivityManager for nRF Connect * Add README.md * Add ZCL server to the door-lock example for nRF Connect Co-authored-by:
Rafał Kuźnia <rafal.kuznia@nordicsemi.no> * Apply code-review suggestions * Restyled by whitespace Co-authored-by:
Rafał Kuźnia <rafal.kuznia@nordicsemi.no> Co-authored-by:
Restyled.io <commits@restyled.io>
-
- Jul 16, 2020
-
-
Vivien Nicolas authored
-
- Jul 15, 2020
-
-
Yufeng Wang authored
* [linux] Add GDBus support in PlatformMgr to drive DBUS communication. * Add GDBus support in PlatformMgr to drive DBUS: Thread, BLE, WiFi. * Add dedicated I/O thread for DBUS. * Define build flag CHIP_WITH_GIO based on if gio-2.0 lib is available
-
- Jul 14, 2020
-
-
Yakun Xu authored
This commit adds support to build with internal OpenThread on the Nordic platform.
-
Yufeng Wang authored
-
- Jul 08, 2020
-
-
Vivien Nicolas authored
-
Jiacheng Guo authored
* [linux] add ThreadStackManager for Linux Device layer * new configure logic * add role check in tests * Revert "new configure logic" This reverts commit d9660a40183181bcdc868f79800d17f05caa68ff. * fixes * fix ci * fix comments * use updated docker image * move dbus event loop to implementation
-
- Jul 07, 2020
-
-
Vidhi Shah authored
Adding the JNI bridging C++ and Java code to setup_payload package for use in Android apps.
-
- Jul 01, 2020
-
-
Justin Wood authored
* Cleanup * Updating text * Updating files * Removing this for now * Removing these placeholders * Updating based on feedback * Updating license text * Removing this config * Updating CLA * Removing tests * Adding CircleCI badge * Shield style
-
- Jun 23, 2020
-
-
Pankaj Garg authored
-
- Jun 19, 2020
-
-
Zang MingJie authored
* Disable maintainer mode by default When maintainer mode is enabled, `make` will not try to run `aclocal`/`autoconf`/`automake` when corresponding `configure.ac` or `Makefile.am` is changed. It is very inconvenient for daily development that these files are changing everyday. Developers are force to re-run bootstrap and configure when these files are changed. With maintainer mode disabled, changes of these files will be handled by `Makefile` automatically, `make` will re-run corresponding commands when changes of these files are detected. The purpose of maintainer mode is to prevent updating `Makefile.in` and `configure` after release. Because CHIP doesn't release these files, there is no reason to enable maintainer mode. * Update comments
-
- Jun 18, 2020
-
-
Vivien Nicolas authored
* Use --with-target-network=Network.framework as a build target. Does nothing so far * UDPEndpoint basic client working in order to send a message to a server * UDPEndPoint basic client can send/receive message from a server * UDPEndPoint basic client can send from a different port than the remote server * Add missing methods to EndPointBasis.h and move some code from UDPEndpoint to IPEndPoint * Prepare the client code to support multiple connections * UDP basic client can connect to a different server after the first connection * UDP Basic server over Network.framework * Restyle the code and add a IPEndPointBasis::GetEndPoint method * Map error code to INET_ERROR codes * Configure the protocol stack accordingly to the requested address type (ipv4/ipv6) * Fix some crashes and deadlocks into the Network.framework backend * Remove printf from IPEndPointBasis.cpp and use ChipLogging instead
-
- Jun 17, 2020
-
-
Yufeng Wang authored
* Add initial Linux platform DeviceLayer ConfigurationMgr module. * Implement ChipStorage using inipp for both durable and ephemeral settings. * Add unit tests * Restyled by whitespace * Restyled by clang-format * Address review comments
-
- Jun 11, 2020
-
-
Yakun Xu authored
* [nrf5] enable Thread on lock app This commit enables OpenThread in the lock-app. The UART provides access to OpenThread CLI. * use with-openthread * condition new code * use IsIPv6GlobalUnicast()
-
- Jun 10, 2020
-
-
Martin Turon authored
* [shell] Adds a generic, portable shell library. - Command line interface (cli) registration, parsing, and dispatch. - Retargetable streamer object for input / output. - Stdio-based streamer implementation for posix platforms. - Default commands: help, echo. Other changes during review: - Build stdio streamer on UNIX only. ASF attribution. - Mark nRF5 as embedded. Reorder includes. - Add shell app to CI and VSCODE. - Add missing build script. - Fix standalone linker to use c++. Added base64 command. - Converted all sources to C++ and wrapped in namespace chip::Shell. - Fix shell_command naming consistancy. Shorten type names. - Extend shell to support hierarchical subcommands. - Added Doxygen. Plus PR comment resolution: - Moved location to `src/lib/shell`. - Use test driver pattern for TestShell - Use .cpp extension rather than .cc * [shell] Review comments -- improve tokenizer space handling and unit tests.
-
- Jun 01, 2020
-
-
Rob Walker authored
-
- May 30, 2020
-
-
Yakun Xu authored
This commit change the lock-app to use prebuilt mbedtls for OpenThread.
-
- May 28, 2020
-
-
Andrei Litvin authored
Will include messabe framing and TCP/UDP/BLE/Thread/... transports as required.
-
- May 26, 2020
-
-
Martin Turon authored
* [linux] Add initial Linux platform DeviceLayer. - Adds Device Layer for Linux. - Uses SystemLayer Sockets. - Entropy and time implementations. - Stub out ble, connectivity, and configuration / storage for follow-on PR. - Uses pthreads for mutex and tasks. - Uses std::chrono for monotonic system time. * [linux] Add PlatformMgr tests. * [linux] Add CircleCI target for linux device layer. * [linux] Add fixme reference to LWIP ifdef. * Restyled by clang-format * [linux] fix header order; fix build After the latest rebase, the following error was coming up: ``` ../../src/include/platform/ConnectivityManager.h:252:40: fatal error: platform/CHIP_DEVICE_LAYER_TARGET/ConnectivityManagerImpl.h: No such file or directory 252 | #define CONNECTIVITYMANAGERIMPL_HEADER <platform/CHIP_DEVICE_LAYER_TARGET/ConnectivityManagerImpl.h> ``` Though CHIP_DEVICE_LAYER_TARGET=Linux is set using AC_SUBST in configure.ac, the definition, which was working fine before, was mysteriously getting lost. It turns out the header re-ordering PR was the root cause of the issue. The fix was to change all sources in src/platform/Linux to move this include first: #include <platform/internal/CHIPDeviceLayerInternal.h> The error did not lead to the fix in an obvious way, so the issue is being documented here. * [linux] Update linux-embedded target to follow circleci matrix template. * [linux] Fix naming nits. Co-authored-by:
Restyled.io <commits@restyled.io>
-
Rob Walker authored
* move zap to CHIP build system * missed subdir * fix make distcheck * indentation nit * test driver rename, compiler warning * fix LocateAttribute * comment out internal functions until we have more dispatch info
-
- May 20, 2020
-
-
Justin Wood authored
* Cleaning out dead code, and renaming * Cleaning up more constants * More cleanup * Fixing build * Updating end periods * Update src/lib/core/CHIPError.h Co-authored-by:
Yakun Xu <xyk@google.com> Co-authored-by:
Yakun Xu <xyk@google.com>
-
shana-apple authored
* CHIP QRCode command line tool implementation * PR Feedback + restyle * Fix styling - Restyled by clang-format * Fix device build Co-authored-by:
Bhaskar Sarma <bhaskars@apple.com> Co-authored-by:
Restyled.io <commits@restyled.io>
-