1. 19 Dec, 2018 1 commit
  2. 13 Dec, 2018 1 commit
  3. 12 Dec, 2018 1 commit
    • Ken A. Redergård's avatar
      Consolidate SoftDevice APIs (#176) · 236d10fc
      Ken A. Redergård authored
      Changes:
      * Consolidate SoftDevice API v2, v3, v5 and v6
      
      We've had feedback from users telling us that it is not easy to
      know what version of pc-ble-driver to use towards a given SoftDevice
      API version.
      
      We have also experienced that it is time consuming when maintaining
      the pc-ble-driver project to have separate releases of pc-ble-driver for
      different major versions.
      
      This commit starts a strategy where we release all
      SoftDevice API versions in every release of pc-ble-driver.
      
      It also reuse parts of the codecs from the nRF5 SDK for SoftDevice
      API v3 and onwards since parts of those are backwards compatible.
      
      * Port connectivity firmware build script to cmake (#136, ++)
      
      New build system for connectivity firmware
      The previous way of building the connectivity firmware was a lot of manual steps supported by Windows .bat files and Cygwin/msys bash scripts.
      
      The new build system has the following changes:
      - uses a directory structure convention to automatically determine what and how to build the connectivity firmware
      - supports Windows, Linux and macOS
      
      The build system does the following:
      - Downloads nRF5 SDK
      - Applies patches to nRF5 SDK
      - Searches for connectivity firmware projects
      - Compiles connectivity firmware for combinations of SoftDevice API version, nRF family and transports (usb, 115k2, 1m)
      - Merges connectivity with SoftDevice (by invoking mergehex)
      - Creates DFU packages where relevant (by invoking nrfutil)
      
      * Replace boost::asio with ASIO and remove boost dependency (#131)
      
      The boost library is large and only the serial port
      part is used. This commit removes the boost
      dependency by using ASIO instead of pulling
      in large portions of the boost library.
      
      * Add custom SD RPC error codes (#146)
      
      Previously NRF_ERROR_INTERNAL was returned for all errors.
      Adding a custom range of error codes for SD RPC errors makes it easier to triage bugs.
      
      This is a breaking change to the API since NRF_ERROR_INTERNAL is not returned on SD RPC errors.
      
      * Add clang tidy and format configuration
      
      * Remove union name in structs
      
      SWIG has a bug that when using a named union in a struct,
      see swig/swig#1305.
      
      * Automatically setup and run integration tests (#134)
      
      This adds the ability to run the integration tests
      automatically with the use of CMake targets.
      
      The CMake targets program the development kits with the correct
      connectivity firmware and then runs the relevant tests
      for the development kit type and SoftDevice API version.
      
      * Upgrade connectivity to nRF5 SDK 15.2 (#149, ++)
      * Add non-standard baud-rates on macOS (#152)
      * Add support for 64-bit architecture on app side
      
      Bug fixes:
      * Fix nRF52840 open close reset issue (#162)
      * Fix bugs in GAP state when using two or more BLE adapters:
       - BLE security keys are overwritten
       - Advertisement data received are blocked (SDv6)
       - Invoking a different adapter in another adapter's callback make encoding/decoding confused
      * Fix/SEGGER J-Link-OB hardware flow control detection (#172)
      * Fix deadlock issue that may happen if open/close is called successively
      * Fix segfault on reception of ACK packet
      * Handle packets states without exit criteria (#144)
      236d10fc
  4. 29 Sep, 2017 1 commit
  5. 02 May, 2017 1 commit
  6. 30 Mar, 2017 2 commits
  7. 19 Jan, 2017 2 commits
  8. 17 Jan, 2017 1 commit
  9. 20 Dec, 2016 2 commits
  10. 18 Nov, 2016 1 commit
  11. 16 Nov, 2016 1 commit
  12. 02 Nov, 2016 2 commits
  13. 27 Oct, 2016 1 commit
  14. 25 Oct, 2016 1 commit
  15. 23 Sep, 2016 1 commit
  16. 05 Sep, 2016 2 commits
  17. 07 Jul, 2016 2 commits
  18. 28 Jun, 2016 1 commit
  19. 27 Jun, 2016 2 commits
  20. 17 Jun, 2016 1 commit
  21. 16 Jun, 2016 2 commits
  22. 15 Jun, 2016 1 commit
  23. 14 Jun, 2016 2 commits
  24. 13 Jun, 2016 2 commits
  25. 12 Jun, 2016 2 commits
  26. 10 Jun, 2016 2 commits
  27. 08 Jun, 2016 1 commit
  28. 06 Jun, 2016 1 commit