[06/12] incubator-mynewt-core git commit: nimble/controller: Cleanup PHY symbols names

2017-05-18 Thread andk
nimble/controller: Cleanup PHY symbols names To avoid confusion which phy-value goes where, let's use following terms in LL code: - phy = numeric PHY value (1M, 2M, Coded => 1, 2, 3) - phy_mask = PHY bitmask (1M, 2M, Coded -> 0x01, 0x02, 0x04) - phy_mode = actual PHY used in radio (1M, 2M, Coded S

[04/12] incubator-mynewt-core git commit: nimble/phy: Cleanup PCNF0 settings

2017-05-18 Thread andk
nimble/phy: Cleanup PCNF0 settings This patch makes PCNF0 settings explicit to make code easier to read: - always set S1LEN (even though it is predefined to 0) - set PLEN in ble_phy_mode_set for each case (do not make "implicit" set to 8bits in ble_phy_init) Project: http://git-wip-us.apache.o

[09/12] incubator-mynewt-core git commit: nimble/phy: Ugly hack for TX/RX transition timing

2017-05-18 Thread andk
nimble/phy: Ugly hack for TX/RX transition timing Calculated RX time after TX/RX transition seems to be too short for Coded PHY - not sure why, but adding extra 32us solves the problem. This is temporary fix until we figure out what is really wrong. Project: http://git-wip-us.apache.org/repos/a

[01/12] incubator-mynewt-core git commit: nimble/controller: Fix applying PHY update

2017-05-18 Thread andk
Repository: incubator-mynewt-core Updated Branches: refs/heads/bluetooth5 2446dcb64 -> e84df52dd nimble/controller: Fix applying PHY update New m_to_s and s_to_m PHYs shall be applied before converting them to bitmasks. This works now only because bitmasks for 1M and 2M are the same as numeric

[05/12] incubator-mynewt-core git commit: nimble/phy: Fix CRC configuration

2017-05-18 Thread andk
nimble/phy: Fix CRC configuration The SKIPADDR field has allowed values 0, 1 and 2 - for unknown reason it works even if set to 3 as we do, but better have this configured properly. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/r

[08/12] incubator-mynewt-core git commit: nimble/phy: Fix access address configuration

2017-05-18 Thread andk
nimble/phy: Fix access address configuration Currently logical address 0 was preconfigured for advertising and address 1 was used for connection. This works fine for 1M and 2M PHYs but for unknown reason nRF52 does not receive anything when using logical address 1 on Coded PHY. Althoough it works

[11/12] incubator-mynewt-core git commit: nimble/phy: Fix CRC poly configuration

2017-05-18 Thread andk
nimble/phy: Fix CRC poly configuration It works now probably because 8 MSb in CRCPOLY registers are unused in nRF52 (for now). Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/aa387add Tree: ht

[12/12] incubator-mynewt-core git commit: This closes #283.

2017-05-18 Thread andk
This closes #283. Merge branch 'bt5_phy' of https://github.com/andrzej-kaczmarek/incubator-mynewt-core into bluetooth5 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/e84df52d Tree: http://gi

[02/12] incubator-mynewt-core git commit: nimble/controller: Fix checking PHY Options in LE Set PHY

2017-05-18 Thread andk
nimble/controller: Fix checking PHY Options in LE Set PHY We need to check complete value here, then we can store only lsb since msb will be zero anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-co

[10/12] incubator-mynewt-core git commit: nimble/controller: Add access address constraints for LE Coded PHY

2017-05-18 Thread andk
nimble/controller: Add access address constraints for LE Coded PHY Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/1f5c04d2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tr

[07/12] incubator-mynewt-core git commit: nimble/controller: Fix setting LE Coded PHY feature flag

2017-05-18 Thread andk
nimble/controller: Fix setting LE Coded PHY feature flag Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b07f4a7f Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b07f4a7

[03/12] incubator-mynewt-core git commit: nimble/controller: Add configuration for LE Coded PHY

2017-05-18 Thread andk
nimble/controller: Add configuration for LE Coded PHY This patch adds nRF52 configuration for LE Coded PHY. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/24131d55 Tree: http://git-wip-us.apa

[16/43] incubator-mynewt-core git commit: hw: bsp: pic32mz2048_wi-fire: Set UART4 pins

2017-05-17 Thread andk
hw: bsp: pic32mz2048_wi-fire: Set UART4 pins Specify the pins of UART4 (default console output) at initialization: RF8 -> U4TX RF2 -> U4RX Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/i

[03/43] incubator-mynewt-core git commit: jlink.sh; pass extra jtag command line arguments to JLinkExe.

2017-05-17 Thread andk
jlink.sh; pass extra jtag command line arguments to JLinkExe. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/9cec0957 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/9c

[27/43] incubator-mynewt-core git commit: nimble/gap: Fix lock issue

2017-05-17 Thread andk
nimble/gap: Fix lock issue Make sure proper cleaning is done when return error on connect and discovery Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f0518518 Tree: http://git-wip-us.apache.

[10/43] incubator-mynewt-core git commit: hal: nrf51 spi1 fix

2017-05-17 Thread andk
hal: nrf51 spi1 fix Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f42bc724 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/f42bc724 Diff: http://git-wip-us.apache.org/

[07/43] incubator-mynewt-core git commit: Add back the 2nd explict COMSPEC /C. Simon's msys2 environment doesn't work without it. My msys2 works with and without the 2nd explicit COMPSEC /C/ Looks lik

2017-05-17 Thread andk
Add back the 2nd explict COMSPEC /C. Simon's msys2 environment doesn't work without it. My msys2 works with and without the 2nd explicit COMPSEC /C/ Looks like the only fix that was needed is to move the opening " Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[37/43] incubator-mynewt-core git commit: MYNEWT-748 SensorAPI: Add BME280 support

2017-05-17 Thread andk
MYNEWT-748 SensorAPI: Add BME280 support - SensorAPI support for pressure, temperature and humidity - Check for validity of values - Fix calculations - Add BME280 shell support - Fix sensors_test app - cleanup Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: ht

[14/43] incubator-mynewt-core git commit: This closes pull request #266.

2017-05-17 Thread andk
This closes pull request #266. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4c4ae1c9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4c4ae1c9 Diff: http://git-wip-us.

[34/43] incubator-mynewt-core git commit: Merge branch 'windows_debug_script' of https://github.com/cwanda/incubator-mynewt-core

2017-05-17 Thread andk
Merge branch 'windows_debug_script' of https://github.com/cwanda/incubator-mynewt-core This closes #268. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/afc404f8 Tree: http://git-wip-us.apach

[20/43] incubator-mynewt-core git commit: various fixes

2017-05-17 Thread andk
various fixes Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/56e5f25d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/56e5f25d Diff: http://git-wip-us.apache.org/repos/

[19/43] incubator-mynewt-core git commit: This closes pull request #271.

2017-05-17 Thread andk
This closes pull request #271. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5c343f58 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5c343f58 Diff: http://git-wip-us.

[30/43] incubator-mynewt-core git commit: This closes #276

2017-05-17 Thread andk
This closes #276 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d96b6015 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/d96b6015 Diff: http://git-wip-us.apache.org/rep

[21/43] incubator-mynewt-core git commit: nimble/ll: Fix sending features xchange PDUs

2017-05-17 Thread andk
nimble/ll: Fix sending features xchange PDUs We only set single octet of CtrData field so need to clear other octets as otherwise we can send some random value there. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incuba

[15/43] incubator-mynewt-core git commit: hw: bsp: pic32mz2048 wi-fire: Fix ifdef to include uart.h

2017-05-17 Thread andk
hw: bsp: pic32mz2048 wi-fire: Fix ifdef to include uart.h Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/9d7b29d1 Tree: http://git-wip-us.apache.org/repos/asf/

[26/43] incubator-mynewt-core git commit: bletiny: Remove not needed includes

2017-05-17 Thread andk
bletiny: Remove not needed includes Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5ea502ca Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/5ea502ca Diff: http://git-wi

[28/43] incubator-mynewt-core git commit: bletiny: Fix printing uuid

2017-05-17 Thread andk
bletiny: Fix printing uuid Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/652b4590 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/652b4590 Diff: http://git-wip-us.apac

[32/43] incubator-mynewt-core git commit: This closes #275

2017-05-17 Thread andk
This closes #275 Merge remote-tracking branch 'jacobrosenthal/semis' * jacobrosenthal/semis: fix double semicolons Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5ccaebb1 Tree: http://git-

[39/43] incubator-mynewt-core git commit: MYNEWT-748 SensorAPI: Add BME280 support

2017-05-17 Thread andk
MYNEWT-748 SensorAPI: Add BME280 support - Make OIC observe rate configurable - Use the OIC observe rate as the LED blink rate in the app Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f2a8e6

[38/43] incubator-mynewt-core git commit: MYNEWT-748 SensorAPI: Add BME280 support

2017-05-17 Thread andk
MYNEWT-748 SensorAPI: Add BME280 support - SensorAPI pressure, temperature and humidity support - OIC support - ruuvi_tag_revb2 bsp, create sensor device - nrf52840pdk bsp, create sensor device - Add BMP280 sensor device support since BME280 and BMP280 are pin to pin compatible Project: http:/

[41/43] incubator-mynewt-core git commit: This closes #269.

2017-05-17 Thread andk
This closes #269. Merge remote-tracking branch 'ccollins476ad/sim-no-signals' * ccollins476ad/sim-no-signals: MYNEWT-745 Make native sockets nonblocking. MYNEWT-745 Sim - deadlock involving system calls Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http

[04/43] incubator-mynewt-core git commit: Fix problems with starting debuggers on MSYS2/MINGW 1) Fixed launch hanging problem for openocd and jlink gdbserver when newt debug is run from mingw/bash (in

2017-05-17 Thread andk
Fix problems with starting debuggers on MSYS2/MINGW 1) Fixed launch hanging problem for openocd and jlink gdbserver when newt debug is run from mingw/bash (installed with msys2). openocd now starts in a new cmd prompt window. 2) Fixed to start gdb in a new cmd prompt when newt debug is run from mi

[40/43] incubator-mynewt-core git commit: This closes #273

2017-05-17 Thread andk
This closes #273 Merge remote-tracking branch 'fork/sensor_bme280' * fork/sensor_bme280: MYNEWT-748 SensorAPI: Add BME280 support MYNEWT-748 SensorAPI: Add BME280 support MYNEWT-748 SensorAPI: Add BME280 support MYNEWT-748 SensorAPI: Add BME280 support MYNEWT-748 SensorAPI: Add BME280 s

[08/43] incubator-mynewt-core git commit: MYNEWT-745 Sim - deadlock involving system calls

2017-05-17 Thread andk
MYNEWT-745 Sim - deadlock involving system calls This commit splits sim into two separate implementations: * "signals" * "no-signals" The user chooses which implementation to use via the MCU_NATIVE_USE_SIGNALS syscfg setting (defined in hw/mcu/native). The two implementations are describ

[23/43] incubator-mynewt-core git commit: nimble/ll: Change LL PDU name to match spec

2017-05-17 Thread andk
nimble/ll: Change LL PDU name to match spec The LL_CONNECTION_UPDATE_REQ is renamed to LL_CONNECTION_UPDATE_IND in the latest versions of spec, so let's follow this. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubat

[31/43] incubator-mynewt-core git commit: fix double semicolons

2017-05-17 Thread andk
fix double semicolons Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4e06eb5d Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4e06eb5d Diff: http://git-wip-us.apache.or

[35/43] incubator-mynewt-core git commit: MYNEWT-748 SensorAPI: Add BME280 support

2017-05-17 Thread andk
MYNEWT-748 SensorAPI: Add BME280 support - SensorAPI pressure, temperature and humidity support - Compiles Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ad7cdf09 Tree: http://git-wip-us.apac

[01/43] incubator-mynewt-core git commit: bsp: wifire: Implement hal_bsp_hw_id

2017-05-17 Thread andk
Repository: incubator-mynewt-core Updated Branches: refs/heads/bluetooth5 958bce0a5 -> 2446dcb64 bsp: wifire: Implement hal_bsp_hw_id This function reads the DEVID register which contains the revision (upper 4 bits) and the device id (lower 28 bits). Signed-off-by: Francois Berder Project:

[22/43] incubator-mynewt-core git commit: nimble/ll: Add option to schedule connection with non-zero WindowOffset

2017-05-17 Thread andk
nimble/ll: Add option to schedule connection with non-zero WindowOffset Devices based on TI CC254x with older stack version have bug where connection parameters are not updated properly on slave device if transmitWindowOffset in CONNECT_IND was set to 0 (and apparently this applies to 1 as well).

[12/43] incubator-mynewt-core git commit: This closes pull request #263.

2017-05-17 Thread andk
This closes pull request #263. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/850b9cb9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/850b9cb9 Diff: http://git-wip-us.

[17/43] incubator-mynewt-core git commit: hw: mcu: pic32mz2048efg100: Configure pins in hal_uart_config

2017-05-17 Thread andk
hw: mcu: pic32mz2048efg100: Configure pins in hal_uart_config Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/bdd92f70 Tree: http://git-wip-us.apache.org/repos/

[18/43] incubator-mynewt-core git commit: hw: mcu: pic32mz2048efg100: Add Peripheral Pin Select wrapper

2017-05-17 Thread andk
hw: mcu: pic32mz2048efg100: Add Peripheral Pin Select wrapper This wrapper make it easier to configure pins as peripheral input or output. Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/i

[29/43] incubator-mynewt-core git commit: This closes #257

2017-05-17 Thread andk
This closes #257 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/fe9bf2cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fe9bf2cd Diff: http://git-wip-us.apache.org/rep

[33/43] incubator-mynewt-core git commit: This closes #274

2017-05-17 Thread andk
This closes #274 Merge remote-tracking branch 'jacobrosenthal/sensors-fix' * jacobrosenthal/sensors-fix: various fixes Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5ac00053 Tree: http://

[06/43] incubator-mynewt-core git commit: hw: hsp: pic32mz2048_wi-fire: Define LED pins

2017-05-17 Thread andk
hw: hsp: pic32mz2048_wi-fire: Define LED pins Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/1191e7da Tree: http://git-wip-us.apache.org/repos/asf/incubator-my

[05/43] incubator-mynewt-core git commit: Merge branch 'jlink_extra_cmds' of https://github.com/mkiiskila/incubator-mynewt-core

2017-05-17 Thread andk
Merge branch 'jlink_extra_cmds' of https://github.com/mkiiskila/incubator-mynewt-core Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/cb23f34e Tree: http://git-wip-us.apache.org/repos/asf/incu

[36/43] incubator-mynewt-core git commit: MYNEWT-748 SensorAPI: Add BME280 support

2017-05-17 Thread andk
MYNEWT-748 SensorAPI: Add BME280 support SensorAPI support for pressure, temperature and humidity - Add temperature, pressure, humidity support - change temperature handling for bno055 - fix bugs with register values Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Com

[11/43] incubator-mynewt-core git commit: This closes #270

2017-05-17 Thread andk
This closes #270 NRF_SPIM1 didnt appear to exist. I believe its supposed to be NRF_SPI1 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d5cfc5cd Tree: http://git-wip-us.apache.org/repos/asf/in

[02/43] incubator-mynewt-core git commit: hw: pic32mz2048efg100: Remove unused variables in hal_gpio

2017-05-17 Thread andk
hw: pic32mz2048efg100: Remove unused variables in hal_gpio Signed-off-by: Francois Berder Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/8c999d5d Tree: http://git-wip-us.apache.org/repos/asf

[13/43] incubator-mynewt-core git commit: This closes pull request #261.

2017-05-17 Thread andk
This closes pull request #261. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/21d4cf07 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/21d4cf07 Diff: http://git-wip-us.

[25/43] incubator-mynewt-core git commit: nimble/controller: Use scansm from function parameter

2017-05-17 Thread andk
nimble/controller: Use scansm from function parameter Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ef1b67ff Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ef1b67ff D

[42/43] incubator-mynewt-core git commit: Merge branch 'master' into bluetooth5_master

2017-05-17 Thread andk
Merge branch 'master' into bluetooth5_master Conflicts: net/nimble/controller/src/ble_ll_ctrl.c net/nimble/controller/src/ble_ll_sched.c Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-co

[09/43] incubator-mynewt-core git commit: MYNEWT-745 Make native sockets nonblocking.

2017-05-17 Thread andk
MYNEWT-745 Make native sockets nonblocking. This prevents deadlock in the "no-signals" sim implementation. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/71811d43 Tree: http://git-wip-us.apac

[24/43] incubator-mynewt-core git commit: nimble/ll: Check peer features for LE Connection Update

2017-05-17 Thread andk
nimble/ll: Check peer features for LE Connection Update We should use Connection Parameters Request procedure only if both master and slave support this feature so we need to check features masks of both sides. In other case, we can do Connection Update procedure only if we're master. Project:

[43/43] incubator-mynewt-core git commit: This closes #282.

2017-05-17 Thread andk
This closes #282. Merge branch 'bluetooth5_master' of https://github.com/sjanc/incubator-mynewt-core into bluetooth5 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/2446dcb6 Tree: http://git-

[1/2] incubator-mynewt-core git commit: MYNEWT-723: Fix creating LL_PHY_REQ

2017-04-27 Thread andk
Repository: incubator-mynewt-core Updated Branches: refs/heads/bluetooth5 230462f8f -> ad980ee8a MYNEWT-723: Fix creating LL_PHY_REQ Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ad980ee8

[2/2] incubator-mynewt-core git commit: MYNEWT-723: Fix setting current PHY

2017-04-27 Thread andk
MYNEWT-723: Fix setting current PHY If new PHY is set to 0 (no change), we should just leave current PHY without change and not set it to 0. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/aeb

[07/14] incubator-mynewt-core git commit: nimble/controller: Add support for Channel Selection Algorithm #2

2017-04-11 Thread andk
nimble/controller: Add support for Channel Selection Algorithm #2 When both sides indicate support for CSA #2 (by setting ChSel bit in respective PDUs) it is used for channels selection. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.

[12/14] incubator-mynewt-core git commit: nimble/controller: Allow to configure CSA #2 support

2017-04-11 Thread andk
nimble/controller: Allow to configure CSA #2 support This allows to enable/disable CSA #2 support in Nimble controller. By default it is disabled. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/comm

[04/14] incubator-mynewt-core git commit: nimble/controller: Add initial unit tests for controller

2017-04-11 Thread andk
nimble/controller: Add initial unit tests for controller This adds unit tests boilerplate and initial unit tests for controller. Currently only tests for Channel Selection Algorithm #2 are implemented. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git

[06/14] incubator-mynewt-core git commit: nimble/controller: Improve CSA #2 channel identifier calculation

2017-04-11 Thread andk
nimble/controller: Improve CSA #2 channel identifier calculation Channel identifier is fixed for connection (calculated from access address) so there is no need to calculate it every time algorithm function is called. The drawback is extra 2 bytes in ble_ll_conn_sm structure. Project: http://git

[13/14] incubator-mynewt-core git commit: This closes #224.

2017-04-11 Thread andk
This closes #224. Merge branch 'csa2' of https://github.com/sjanc/incubator-mynewt-core into bluetooth5 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/ebd6189a Tree: http://git-wip-us.apache

[02/14] incubator-mynewt-core git commit: nimble/controller: Add Channel Selection Algorithm #2 implementation

2017-04-11 Thread andk
nimble/controller: Add Channel Selection Algorithm #2 implementation This adds implementation of Channel Selection Algorithm #2 as specified in Core Specification 5.0 Vol 6 Part B 4.6.14. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache

[14/14] incubator-mynewt-core git commit: This closes #226.

2017-04-11 Thread andk
This closes #226. Merge branch 'bluetooth5' of https://github.com/rymanluk/incubator-mynewt-core into bluetooth5 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/6fba2048 Tree: http://git-wip-

[11/14] incubator-mynewt-core git commit: nimble/controller: Move latency calculations to ble_ll_conn_calc_dci

2017-04-11 Thread andk
nimble/controller: Move latency calculations to ble_ll_conn_calc_dci This is to localize CSA #2 related code in order for easier compile time configuration. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt

[09/14] incubator-mynewt-core git commit: nimble/controller: Rename and move ble_ll_conn_csa2_remapped_channel

2017-04-11 Thread andk
nimble/controller: Rename and move ble_ll_conn_csa2_remapped_channel This function is use both by CSA #1 and #2 so name it accordingly. Also move it up in the source file - this is in preparation for optional CSA #2 support. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/r

[08/14] incubator-mynewt-core git commit: controller: Minor comment fix

2017-04-11 Thread andk
controller: Minor comment fix Errata 6471 clarifies what AdvA shall be in Scan Resp and nimble does good. This errata is adopted into Bluetooth 5.0 Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/com

[05/14] incubator-mynewt-core git commit: nimble/controller: Add CSA #2 to supported features

2017-04-11 Thread andk
nimble/controller: Add CSA #2 to supported features Feature bit should be set if CSA #2 is supported. < HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0 > HCI Event: Command Complete (0x0e) plen 12 LE Read Local Supported Features (0x08|0x0003) ncmd 1 Status: Succe

[03/14] incubator-mynewt-core git commit: nimble/controller: Send LE Channel Selection Algorithm Event

2017-04-11 Thread andk
nimble/controller: Send LE Channel Selection Algorithm Event If connection is created and LE Channel Selection Algorithm Event is unmasked send it immediately after LE (Enhanced) Connection Complete event. < HCI Command: LE Set Event Mask (0x08|0x0001) plen 8 25.731854 Mask: 0x0

[01/14] incubator-mynewt-core git commit: nimble/controller: Use common implementation for channel remapping

2017-04-11 Thread andk
Repository: incubator-mynewt-core Updated Branches: refs/heads/bluetooth5 646b35dfa -> 6fba2048e nimble/controller: Use common implementation for channel remapping Both CSA #1 and #2 use same concept of using remapping index for selecting used channel. Project: http://git-wip-us.apache.org/r

[10/14] incubator-mynewt-core git commit: nimble/controller: Use single function for DCI calculation

2017-04-11 Thread andk
nimble/controller: Use single function for DCI calculation Select CSA #1 or #2 from within ble_ll_conn_calc_dci. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/6b57da91 Tree: http://git-wip-u

[38/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Prepare Write Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Prepare Write Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[16/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Execute Write Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Execute Write Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/d74cc3ee T

[23/50] incubator-mynewt-core git commit: nimble/att: Fix no responding with error for invalid data

2017-04-10 Thread andk
nimble/att: Fix no responding with error for invalid data We should always responde to avoid stalling ATT channel. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/f6800fc7 Tree: http://git-wip

[48/50] incubator-mynewt-core git commit: nimble/l2cap: Use endian.h API for protocol data

2017-04-10 Thread andk
nimble/l2cap: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-myne

[13/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read By Group Type Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read By Group Type Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/1c08e

[03/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending MTU exchange

2017-04-10 Thread andk
nimble/att: Use new helpers for sending MTU exchange This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/55b8a5c2 Tree: http

[09/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending read command

2017-04-10 Thread andk
nimble/att: Use new helpers for sending read command This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/58743be0 Tree: http

[34/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving MTU exchange

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving MTU exchange Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[14/50] incubator-mynewt-core git commit: nimble/att: Don't pass Error Responce as packed structure

2017-04-10 Thread andk
nimble/att: Don't pass Error Responce as packed structure Use packed structure only for mapping it onto received mbuf. Data is passed to upper layers in native form. This allows compiler to generate more effective code with regards to unaligned access. Project: http://git-wip-us.apache.org/repos

[42/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Execute Write Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Execute Write Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[04/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Error Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Error Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[15/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Indication

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Indication This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/8dbabc6e Tree: http:/

[41/50] incubator-mynewt-core git commit: nimble/sm: Use endian.h API for protocol data

2017-04-10 Thread andk
nimble/sm: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-

[06/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Write Request and Command

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Write Request and Command This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/a9549f

[24/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Find By Type Response

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Find By Type Response Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[07/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read By Type Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read By Type Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/3f4cac38 Tr

[05/50] incubator-mynewt-core git commit: nimble/att: Don't pass Writes Response as packed structure

2017-04-10 Thread andk
nimble/att: Don't pass Writes Response as packed structure Use packed structure only for mapping it onto received mbuf. Data is passed to upper layers in native form. This allows compiler to generate more effective code with regards to unaligned access. Project: http://git-wip-us.apache.org/repo

[47/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Notification

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Notification Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[22/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Find Information Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Find Information Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/re

[01/50] incubator-mynewt-core git commit: nimble/att: Add generic helpers for sending commands

2017-04-10 Thread andk
Repository: incubator-mynewt-core Updated Branches: refs/heads/master e23872dc6 -> 95935c62c nimble/att: Add generic helpers for sending commands Those will be used to construct ATT command directly in os_mbuf. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit

[12/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Find Information Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Find Information Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/5e82b3f

[29/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Multiple Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Multiple Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo

[28/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Blob Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Blob Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Comm

[08/50] incubator-mynewt-core git commit: nimble/att: Use new helpers for sending Read Blob Request

2017-04-10 Thread andk
nimble/att: Use new helpers for sending Read Blob Request This constructs response directly on mbuf reducing number of memcopies. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/090f62b7 Tree:

[40/50] incubator-mynewt-core git commit: bletest: Use endian.h API for protocol data

2017-04-10 Thread andk
bletest: Use endian.h API for protocol data Don't use TOFROMLE16 API for protocol data. This API hide direction of convertion making code hard to follow. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-co

[19/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Find By Type Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Find By Type Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo C

[27/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit:

[32/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Read By Group Type Request

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Read By Group Type Request Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/

[49/50] incubator-mynewt-core git commit: nimble/att: Use packed struct for receiving Indication

2017-04-10 Thread andk
nimble/att: Use packed struct for receiving Indication Use packed structure to map it to received mbuf instead of using dedicated parsing function. Modern compilers generate effective code in such case anyway. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: ht

  1   2   >