You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2018/03/15 21:26:55 UTC

[mynewt-nimble] branch master updated (33c05c1 -> 1c26f0b)

This is an automated email from the ASF dual-hosted git repository.

andk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git.


    omit 33c05c1  Add readme
    omit cb8b42c  nimble: Make this proper external repository
    omit 3df1614  net/nimble/host unittest; change null initialization to memset.
    omit d2ccbc2  BLE Host - use instance 0 when ext. adv. disabled.
    omit 93e58bd  Fix net/mqtt/eclipse pkg.name
    omit f44fbc7  Merge pull request #671 from sjanc/ext_adv_host
    omit a4b1199  Merge pull request #673 from andrzej-kaczmarek/nimble-fixing
    omit 0220d4e  Add missing license headers
    omit 0351e30  nimble/host: Add support for setting extended adv_data and scan_rsp
    omit 026a984  nimble/gap: Remove old experimental API for setting advertising PHY
    omit 391b29b  nimble/host: Don't use slave timer with extended advertising
    omit b5be991  nimble/host: Make preempt code multi advertising aware
    omit 6d5b576  nimble/host: Extend advertising stop event with instance
    omit fb23cb5  nimble/host: Add support for setting advertising instance address
    omit a1b3f08  nimble/host: Pass advertising instance to connection complete
    omit aef616f  nimble/host: Remove ext adv path from legacy API
    omit 59ddc11  nimble/host: Add support for configuring advertising instances
    omit 47661b2  nimble/host: Add support for removing advertising instance
    omit bcd5726  nimble/host: Add support for stopping advertising instance
    omit 04cef87  nimble/host: Add support for starting advertising instance
    omit 9e48713  nimble/mesh: Remove invalid typedef
    omit 4b9f966  nimble/mesh: Fix #include
    omit ad860f9  nimble/host: Change services pkg init priorities
    omit 689800c  nimble/host: Add API for extended advertising
    omit 79f5b17  nimble/host: Use static buffer for GAP mempool
    omit 3180c85  Merge pull request #668 from andrzej-kaczmarek/nimble-build-fix
    omit a079238  Merge pull request #667 from ccollins476ad/apollo2-timers
    omit d0e8c2c  Merge pull request #661 from mkiiskila/os_stack_check
    omit 151badb  Merge pull request #665 from ccollins476ad/ble-hs-badmem
    omit 894d65a  emspi transport - Fix compiler warning.
    omit 12bec09  nimble/lls: Make LLS usable
    omit 75599d5  nimble/tps: Fix compilation error
    omit 3905aa4  net/oic; move init routine call earlier during sysinit.
    omit 3ff9799  net/oic; initialize app resources pool at bootup, so packages can register their resources at sysinit.
    omit fce964f  MYNEWT-869 BLE Host - Fix CoC double free
    omit f02613e  MYNEWT-869 BLE Host - Fix GATT svr unit test.
    omit 7fc9725  net/oic; fix dup free when acting as client. Fix use of uninitialized memory after free.
    omit 6b8ae1d  Merge pull request #662 from sjanc/ext_adv_cleanups
    omit c236698  nimble/host: Make function touching ble_gap_slave use instance
    omit 3c077bd  nimble/host: Simplify connection accept functions
    omit 19406c5  nimble/host: Use flag for tracking advertising type
    omit 5cc49e1  nimble: Fix tx power type in hci_ext_adv_params
    omit 9c2c14a  nimble/gap: Make ble_gap_slave table
    omit 53b748a  nimble/host: Unanonimize ble_gap_slave
    omit 3c33a9c  nimble: Move adv instances count definition to common header
    omit 680eff2  nimble/host: Remove unused members from ble_gap_slave
    omit d51cf53  Merge pull request #651 from michal-narajowski/friend_preparation
    omit 22c1e97  Merge pull request #652 from michal-narajowski/mesh-msg-cache
    omit 5536b96  Merge pull request #653 from andrzej-kaczmarek/various-fixes
    omit 85dfa8e  Merge pull request #656 from wes3/lora_link_chk
    omit a7c2e54  Merge pull request #655 from ccollins476ad/apollo2
    omit 3037b24  Merge pull request #647 from wes3/hfxo_fix
    omit 088f5e3  ANS service: Add a hacky #undef to fix ambiq blds.
    omit d78e195  BLE HCI transport - emspi
    omit 520bf88  net/lora: Fix link check command failing
    omit 1451238  nimble/ias: Fix service definition
    omit 6fcaf8e  nimble/host: Enable ble_hs_locked_by_cur_task for debug only
    omit 227f2ec  nimble/host: Fix semaphore usage
    omit 4e3559a  nimble/host: Add missing include
    omit 1b59178  nimble/host: Remove unused bsp includes
    omit 15597be  mesh: Improve Network Message Cache behavior
    omit f57ec1c  mesh: Extend advertising API with helpers for Friend support
    omit eb0eb59  mesh: Return change information from bt_mesh_iv_update()
    omit 100e205  mesh: Export bt_mesh_friend_cred_get() for Friend usage
    omit ad9e9d5  mesh: Remove redundant assignment
    omit 414449f  mesh: Cfg: Only update friend state if supported
    omit 78cfad6  mesh: Export some transport layer helpers
    omit b32f224  mesh: Add bt_mesh_net_flags() helper function
    omit f79c883  mesh: Fix TX segment context lookups
    omit 5e8c077  mesh: Take advantage of BT_MESH_NET_HDR_LEN define
    omit 43d17fd  mesh: Keep received buffer intact until transport layer
    omit 81368cd  Merge pull request #649 from michal-narajowski/mesh_pts_fixes
    omit 684cf3e  Merge pull request #646 from michal-narajowski/mesh-init-fix
    omit ffebe4b  mesh: Fix HB Sub Status when disabling subscription
    omit 005b65d  mesh: Fix clearing HB state when disabling HB sub
    omit 02b987a  mesh: Fix sending heartbeat only when relay state changes
    omit 5f87781  mesh: Fix HB Pub Count Log calculation routine
    omit 8e40adf  mesh: Fix ignoring all prohibited sub_dst in HB Sub Set
    omit bc0eb6e  net/nimble: MYNEWT-862 HFXO not always turning off
    omit b47c01b  BLE Host - Delay sync callback after IRK restore
    omit 0f124fd  Merge pull request #632 from ccollins476ad/rm-conn-cancel
    omit 5b8e756  Merge pull request #645 from wes3/lora_mac_cmd
    omit 3e91b9d  mesh: Fail init on keys generation error
    omit ac7e4c7  Merge pull request #641 from michal-narajowski/mesh-iv-update-fix
    omit 05e481b  net/lora: Fix MAC command issues
    omit dd79b74  mesh: Fix and clean up iv update procedure
    omit 2a98b2c  Merge pull request #622 from andrzej-kaczmarek/nimble-aux-sched-fix
    omit 467c9a2  BLE Host - Lock mutex in ble_hs_id_infer_auto()
    omit b687742  BLE Host - Corrections for heartrate PR (591).
    omit ae87b0d  apps/blehr: Added heart-rate sensor app
    omit 06ad4ca  net/lora: Fix assumption of flat buffers
    omit d79e014  BLE Host - Remove BLE_GAP_EVENT_CONN_CANCEL
    omit ce4205f  net/lora: Remove datarate from port
    omit 23792dd  net/lora: no feature changes; just stylistic/coding standard changes.
    omit e603a34  Merge pull request #636 from ccollins476ad/ble-sock-off16
    omit fe86b04  Merge pull request #627 from rymanluk/build_fix2
    omit 6e9d01b  BLE socket transport - don't drop large frames.
    omit 1fd4415  Merge pull request #634 from mkiiskila/coap_lora
    omit 923278e  Merge pull request #633 from ccollins476ad/frag-typo
    omit 4424cde  nimble/ll: Drop event if adv ext is delayed beyond aux
    omit d9a7fb7  nimble/ll: Add stat for dropped adv event
    omit 220a1ca  nimble/ll: Set phy mode before scheduling tx
    omit b33f5c4  Merge pull request #621 from michal-narajowski/heartbeat
    omit 67a5471  Merge pull request #620 from michal-narajowski/bt_mesh_feat_bits
    omit 1020c01  BLE Host - Fix typo in flag check
    omit e95ac55  OC lora; redo RX path to reduce mbuf usage during reassembly.
    omit 38c7b6d  OIC lora; queue one fragment at a time when tx'ing, send additional fragments in tx completion cb.
    omit 87d821c  OIC lora; change fragmentation header to be smaller.
    omit 89cb345  Merge pull request #624 from wes3/gw_conf_tx
    omit 8516409  oic/ble_adapter: Fix build errors build for oc_client configuration
    omit e3af022  nimble/host: Fix build issue
    omit 5fdde6a  net/lora: oc send buffer modification
    omit 7876399  BLE Host - Fix build errors for non-centrals.
    omit 483b11e  MYNEWT-842 - Unit tests for adding IRK entries.
    omit ee4e7ed  MYNEWT-842 BLE Host - Stop GAP, add to rslv list
    omit 613baa5  BLE Host - Allow GAP to be preempted.
    omit 16dcdee  BLE Host - no_lock versions of GAP cancel fns.
    omit 3a324dd  BLE Host - add reason for adv / disc complete.
    omit df654de  BLE Host - Fix a few coding style issues.
    omit 244d57f  Merge branch 'coap_lora' of github.com:mkiiskila/incubator-mynewt-core into gw_conf_tx
    omit 95c1c92  net/lora: End-device ACK fixes and mac command handling mods
    omit 96efc59  nimble/controller: remove reduntant return
    omit 384f982  nimble/controller: Fix connecting on long scan interval
    omit d01dfaa  nimble/controller: minor coding style fix
    omit 04ea00e  nimble/controller: Store missing DID from ext adv
    omit 85734cc  nimble/controller: Fix extended connect
    omit 6ffd1a9  mesh: Fix missing feature bits
    omit f007947  mesh: Heartbeat fixes for message count
    omit dd096e0  nimble/controller: Fix off one issue with ext adv data
    omit 83dd4c1  nimble/controller: Fix handling ext adv with advA
    omit 771389f  nimble/controller: Fix wl for extended scanner
    omit 98248ad  nimble/controller: Move scheduling aux to LL
    omit 207f717  nimble/controller: Improve ext connection creation
    omit e789958  nimble/controller: Fix memory leaks when creating connection
    omit dcfa948  nimble/controller: Improve getting aux ptr code
    omit 44914d6  nimble/controller: Fix memory leaks in the ext scanner
    omit bd54b7d  nimble/controller: Always check if we need to continue scan
    omit a86a38f  nimble/controller: Fix missleading variable name
    omit d3a8934  nimble/controller: Improve wfr timer for aux ptr
    omit 433e0ce  nimble/controller: Fix freeze in extended scanning
    omit 670a40c  nimble/gap: Fix usage of BLE_GAP_OBSERVER
    omit d25f17d  lora; add counter for plain mac flush frames. When reporting size to use for TX, take into accoutn queued mac commands.
    omit 58c4eef  Merge pull request #617 from andrzej-kaczmarek/nimble-ll-fix-build
    omit d83e9fd  Merge pull request #612 from mkiiskila/debug_mX_flags
    omit 00c32b9  nimble/ll: Fix build w/o ext adv
    omit 33b2bd4  Coap over Lora; first rough cut.
    omit cae4935  Merge pull request #616 from ccollins476ad/ble-hs-test-refactor
    omit 5eb1e70  ble controller; was not building properly with FEAT_LL_PRIVACY set to 0.
    omit ea8605e  Merge pull request #615 from andrzej-kaczmarek/nimble-phy-mode-fix
    omit f2be8c4  Fix new warnings caused by change in compiler flag setting.
    omit f60a664  lora; add lora_app_mtu() which tells maximum payload which will be accepted by lora_app_port_send().
    omit b2f557a  BLE Host - Move HCI test util code into a new file
    omit 98c4e00  nimble/ll: Fix scheduling of extended advertising events
    omit 0b0abdd  nimble/ll: Fix scheduling new connection in slave role
    omit f0d7a29  nimble/phy: Add phy_mode to rxinfo
    omit eb0cd53  Merge pull request #608 from andrzej-kaczmarek/nimble-ll-aux-sched
    omit d223a5e  Merge pull request #609 from michal-narajowski/mesh-fixes
    omit bea5a80  Merge pull request #613 from ccollins476ad/ble-max-pkts
    omit 7ed9ae9  BLE Host - Read BR/EDR buffer size at startup.
    omit 35a70d4  BLE Host - Remove ACL transmit queue.
    omit cd07179  BLE Host - Honor controller's flow control
    omit d191866  net/lora: Additional fixes for Class C transmit
    omit 8abe87f  net/lora: Class C unconfirmed transmission bug fixes
    omit f12eeda  mesh: Fix sending unassigned variable in mod_sub_va_overwrite
    omit a256393  mesh: Fix setting mod sub status parameters
    omit 5dc1599  mesh: Fix missing argument in k_delayed_work
    omit 68b46f6  Merge pull request #604 from michal-narajowski/mesh_app_key_revoke
    omit 3660cfc  nimble/ll: Improve scheduling of aux scan
    omit b6c7146  nimble/ll: Cleanup aux scheduling function
    omit a06c52b  nimble/ll: Fix consecutive bits detection in AA
    omit 834d9f7  mesh: Fix revoking app keys
    omit ee64565  nimble/ll: Add extra assertion for adv chanmask
    omit 804afb7  nimble/ll: Fix calculating auxiliary offset in AUX_ADV_IND
    omit 3fe3a76  nimble/ll: Fix scheduling of AUX_ADV_IND packets
    omit 92203e2  nimble/ll: Add ble_ll_usecs_to_ticks_round_up
    omit 44695a0  nimble/ll: Fix weird symbol name usage
    omit e344fec  Merge pull request #595 from ccollins476ad/no-conn-fail-evt
    omit b0cdeca  BLE Host - Unit test for unreported connect fails.
    omit 25fb4ae  nimble/host: Fix ble_hs_adv_parse()
    omit c282200  mesh: Don't send health status messages if a test fails
    omit 1d1b982  mesh: Fix setting health period divider
    omit c451c30  mesh: Fix Set LPNTimeout message handling
    omit 5b06594  mesh: Fix resetting heartbeat subscription expiry properly
    omit 2d974aa  mesh: Fix zeroing heartbeat state
    omit 25c2e33  mesh: Fix spelling of "heartbeat"
    omit 08c16ff  mesh: Fix encoding fault count to Health Current Status
    omit adbce2a  mesh: Fix Health Period Set OpCode
    omit 9f34ba7  mesh: Fix SDU length check
    omit 1f5f363  mesh: Fix string signedness issue
    omit 77d1ea8  BLE Host - Connect failures were not reported.
    omit 9b38d1a  Merge pull request #593 from ccollins476ad/restore-irks
    omit 9209238  nimble: Don't hardcode TinyCrypt rand function
    omit 344783e  nimble/mesh: Fix address type handling
    omit 2ee632c  Merge pull request #589 from rymanluk/mesh_proxy_fix
    omit 003ef21  BLE Host - Unit tests for IRK restore on startup.
    omit 227429c  MYNEWT-841 BLE Host - Fill resolve list at startup
    omit 5c9510a  BLE Host - Reduce line length to <= 79 chars.
    omit affa9ee  BLE Host - rename `default_irk` --> `ble_hs_pvcy_default_irk`
    omit c343d88  mesh: Fix compilation with GCC 7.1
    omit cfd1b40  mesh: Fix dropping valid proxy configration messages
    omit 4af0cc6  Merge pull request #578 from sjanc/tc
    omit 9aa66c3  BLE Host - Make ble_hs_id_infer_auto() public.
    omit 9595ed5  Merge pull request #582 from ccollins476ad/native-sock-write
    omit 88c99ef  nimble/host: Allow setting adv data when advertising
    omit 8a809a5  Rename BLE socket task "sock" --> "hci_sock"
    omit ce1f395  native_socket - Handle partial TCP writes.
    omit 3dfa33f  native_sockets - Fix sendto() race condition.
    omit e96fd6d  native_sockets: Poll write no matter read state.
    omit 994138d  mesh: Allow TTL <= 1 for the local net interface
    omit 69063dc  mesh: Remove local network interface MYNEWT_VAL option
    omit 09373b1  Revert "mesh: fix handling group send with local interface enabled"
    omit 9dc67e6  Merge pull request #576 from andrzej-kaczmarek/tifs-rework
    omit 6e1cd49  nimble/phy: Fix wfr time calculations
    omit 89e030a  nimble/host: Update with new Tinycrypt ECC API
    omit 1ac3ce1  nimble/controller: Remove misleading TODO
    omit ca4887f  nimble/ll: Drop packets with empty payload for LL Control PDU
    omit ab1d58a  nimble/ll: Enforce minimum payload length for coded phy
    omit b9a0ea0  nimble/ll: Fix setting default phy prefs
    omit fbd872c  Merge pull request #572 from andrzej-kaczmarek/nimble-host-symbol-fix
    omit 1c9b078  nimble/host: Add symbol for 'any' phy mask
    omit 8b1d0fa  nimble/host: Fix invalid symbol name
    omit 60398b1  oic; fix compiler warning when using isalpha() with newlib.
    omit 5d3a174  Merge pull request #567 from mkiiskila/oc_resource_fail
    omit 7c8c906  Merge pull request #562 from ccollins476ad/bswap-errors
    omit fcc096b  oic; explicitily fail with assert() if running out of entries in mem pool for resources.
    omit 9637c63  mesh: set company id field in health status message
    omit a75ab67  mesh: set delayed timer for periodic publish before publishing
    omit 1ebca4f  mesh: add more debug logs in network layer
    omit 17a431b  mesh: fix setting message fields in health model
    omit 2481913  mesh: add missing delayed work argument
    omit ab9c23e  mesh: fix toggling debug logs per layer
    omit 6a42747  mesh: fix typo in setting friend config
    omit 04b54c4  mesh: add extended debug flag for printing adv packets
    omit 9a110bf  mesh: add log message when dropping packet because unprovisioned
    omit 8c690cf  mesh: check destination address on receive
    omit ddec157  mesh: fix initialize message queue
    omit 0cbc225  mesh: fix handling group send with local interface enabled
    omit 6e9b3f0  mesh: return buffer even when no usrhdr
    omit 03861a3  mesh: fix null ptr access
    omit 61264c3  mesh: add missing argument to delayed work in configuration
    omit 0d20603  mesh: send ack for every message with matching FSC
    omit 43a5cb5  Remove extraneous #include.
    omit f8e9684  net/lora: Get old apps building.
    omit 0eadb1a  Merge pull request #538 from andrzej-kaczmarek/nimble-ll-stack-fix
    omit 6954409  Merge pull request #539 from rymanluk/scan_fix
    omit a448054  nimble/ll: Increase stack for ble_ll_task
    omit 2efcb81  nimble/mesh: Return once app-key is found and handled
    omit cf2352c  nimble/controller: Drop adv event if it is too big
    omit b924073  Merge pull request #537 from rymanluk/scan_fix
    omit 2674236  Merge pull request #534 from rymanluk/priv_fix
    omit 61f65f2  Merge pull request #533 from andrzej-kaczmarek/nimble-ll-dup-fix
    omit 59e0fe0  nimble/controller: Decrease size of struct ble_mbuf_hdr
    omit c4b836f  nimble/controller: Fix scan long advertising packets
    omit ef2dcb6  nimble/sm: Use privacy device mode as default
    omit 659cb58  Merge pull request #531 from rymanluk/disc_status_fix
    omit 81c6f9e  nimble/ll: Fix duplicates filtering in scanner
    omit 6fd490e  net/lora: Additional modifications
    omit 7bf7aa0  nimble/controller: Fix disconnection event status
    omit 7c152e8  nimble/mesh: Clear link TX when ACK arrived on it
    omit ce4b8c4  nimble/gap: Fix pointer to local outside of scope
    omit bdc1b49  nimble/l2cap: Fix use on uninitialized value
    omit 1cf7789  Merge pull request #519 from andrzej-kaczmarek/monitor-dev
    omit f3d2de2  nimble/monitor: Add reporting of dropped packets
    omit 39626de  Merge pull request #520 from sjanc/static_check
    omit 84f8e64  Merge pull request #521 from michal-narajowski/mesh-porting-fixes
    omit 12112a7  nimble/mesh: Fix failed provisioning response
    omit fce7035  nimble/test: Assert os_mbuf operations in GATT tests
    omit 5ce27f2  Merge pull request #511 from rymanluk/porting
    omit 584d3dc  nimble/mesh: assert on out of prov buffers
    omit 0d98b2a  mesh: Fix setting the right value for Static OOB type
    omit 2b2fbbb  nimble/monitor: Fix ble_monitor_out
    omit 10f7481  nimble/monitor: Always use uptime for timestamp
    omit f0e51cc  nimble/monitor: Make console out buffer size configurable
    omit 7126357  nimble/monitor: Make UART ring buffer size configurable
    omit 3d2e9d1  nimble/monitor: Make RTT buffer size configurable
    omit 2ebfa14  nimble/hs: Make ble_hs_evq_get() private API
    omit b5c85dd  nimble/mesh: Porting Mesh to Mynewt
    omit d8a4687  Merge pull request #483 from ccollins476ad/ble-auto-addr
    omit 683b85d  Merge pull request #513 from wes3/lora_improv
    omit 4d74022  Merge pull request #481 from ccollins476ad/oic-trans-security
    omit 8325e0f  net/lora: lora mac stack now uses dedicated timer instead of os_cputime
    omit 81c5426  net/lora: Additional lora stack improvements
    omit 3e849bc  nimble/test: Limit max characteristics when validating handling FIX
    omit 482e08c  nimble/test: Fix max intervals in L2CAP tests
    omit 07fe323  nimble/test: Limit max characteristics when validating handling
    omit b20e65c  nimble/test: Fix setting channel map for CSA2
    omit 00305b8  ip/tests: Remove redundant NULL check
    omit a8b1a3e  nimble/tests: Fix possible NULL pointer dereference
    omit 7878e64  net/test: Fix use on uninitialized variable
    omit 65e126f  nimble/test: Assert all os_mbuf operations
    omit 3f2f293  nimble/test: Check for ble_gap_conn_find return value
    omit b67ed2e  nimble/test: Pass SM public key structure to ble_sm_dbg_set_sc_keys
    omit b7da48a  net/lora: Radio events now post to lora mac task
    omit 5752684  mesh: One to one copy of Mesh from Zephyr
    omit 8944460  Revert "nimble/host: Fix build with new TinyCrypt"
    omit b199004  nimble/host: fix event flag check
    omit c1430b5  nimble/host: Fix build with new TinyCrypt
    omit 99fe96f  Merge pull request #493 from sjanc/static_check
    omit 3399239  BLE Host - Don't abort reset if HCI restart fails.
    omit 6d59635  nimble/host: Fix searching for descriptor in gatts
    omit 07329cf  nimble/host: Allow to hide GATT services from clients
    omit 2772fdb  nimble/ans: Fix out of bounds access
    omit 32c38bf  nimble/ans: Assert on invalid operation
    omit dd12a0d  nimble/controller: Fix validating extended advertising phy
    omit 0e0fc26  nimble/l2cap: Remove redundant NULL check
    omit 6d92ed7  nimble/host: Refactor HCI commands sending functions
    omit a81d2e8  Merge pull request #491 from wes3/lora_api
    omit d6723af  Merge pull request #489 from sjanc/static_check
    omit bdfd698  MYNEWT-801: Lora API
    omit 2b5045b  This closes #480.
    omit 540bc20  nimble/controller: Fix checking for invalid PHY in aux ptr
    omit fafa5a8  nimble/controller: Remove redundant NULL checks
    omit 40c150a  nimble/controller: Fix out of bound access to g_ble_ll_adv_sm
    omit fd9e222  nimble/host: Remove redundant check for unsigned value
    omit a623ff7  BLE Host - Change unit test to use dflt evq.
    omit 9c16cbb  BLE Host - Remove start event.
    omit af85c45  Stop using os_eventq_designate() in several pkgs.
    omit 2c520aa  nimble/sm: Fix os_mbuf leaks on keys distribution
    omit ecb93ec  nimble/sm: Fix NULL pointer dereference
    omit 77ecc76  nimble/gap: Fix storing pointer for local outside of scope
    omit 8a3d2c0  nimble/gap: Fix NULL pointer dereference
    omit 7069145  nimble/sm: Fix buffer overflow when copying address
    omit 3e48dfe  nimble/sm: Fix passing uninitialized variable
    omit ab75b3e  Add function to load at least one BLE addr from hw
    omit 3d5bc69  BLE Host - Allow NULL output params in ID fns.
    omit a75def5  BLE Host - Automatic own-addr-type resolution
    omit be9930d  lwip - Fix "defined but not used" warnings.
    omit 651457e  Merge pull request #461 from rymanluk/bt5_scanner_improve
    omit fad6be1  oic: Per-resource transport layer sec requirements
    omit c99ff75  BLE Host - GATT svr now Initializes ATT svr.
    omit 4a03956  BLE Host - Function to copy a UUID.
    omit 3dfa75a  BLE Host - Remove unnecessary const in chr def.
    omit 4f3c913  BLE Host - Allow GATT svcs to be reg. after init.
    omit df57d66  nimble/controller: Fix handling privacy mode
    omit f4e5082  nimble/controller: Fix build issue when PHY is not set
    omit 0a1b590  nimble/controller: Fix for checking valid scanning PHY
    omit de41967  nimble/controller: Fix duration for aux packet
    omit fc78875  nimble/controller: Improve handling aux ptr scheduller
    omit 010a526  nimble: Fix setting advertising instance random address
    omit 27cbb00  nimble/controller: Fix build issue when BT5_PHY is set but not EXT ADV
    omit 27b04a8  nimble/controller: Fix scan response set for legacy
    omit 9f8fb95  Fix host unit test compiler error on mac.
    omit 6ca7c87  Merge pull request #463 from sjanc/directed_adv_fixes
    omit 452a55d  nimble/controller: Fix handling direct advertising
    omit 1691d9a  nimble/controller: Fix privacy mode
    omit e9bda72  nimble/host: Fix HD directed advertising with extended advertising
    omit 0131341  nimble/controller: Fix interval settings for directed advertising
    omit d3a9640  nimble/controller: Minor fix function name
    omit f623966  nimble/controller: Minor comment fix and cleanup
    omit a04bc01  nimble/controller: Minor coding style
    omit b128b7e  nimble/controller: Add stat for AUX_CONNECT_RSP tx
    omit c6d8d9d  nimble/controller: Fix AUX_CONNECT_RSP handling
    omit 66e8e6d  nimble/controller: Fix wfr timer handling in init state
    omit 9bf7120  nimble/controller: Ignore PDUs with invalid CRC in init state
    omit f7bf133  nimble/controller: Remove invalid comment
    omit 6cf7a4e  Merge pull request #452 from andrzej-kaczmarek/bt5-legacy-scan-fix
    omit cf561ca  Merge pull request #422 from wes3/bsnbranch
    omit b1799a0  nimble/controller: Fix legacy scanning
    omit ddb4609  Remove last incubator leftovers
    omit 7250045  Merge pull request #437 from sjanc/master_bluetooth5
    omit ee29cf8  Merge branch 'master' into bluetooth5_master
    omit 75dbfc0  nimble/test: update tests after bugfix in SM legacy
    omit 79befcb  Merge pull request #428 from sjanc/bt5_ext_adv_host
    omit 7e64450  Remove incubator leftovers
    omit 61a2a79  Merge pull request #415 from michal-narajowski/bt5-regression-tests
    omit 718ddc2  Merge pull request #431 from sjanc/license_check
    omit a855c20  nimble/host: Add support for using Extended Advertising
    omit 731fdda  nimble/host: Add builder functions for Ext Adv HCI commands
    omit 07f0ca3  License check fixes
    omit bce1e4f  nimble/controller: bsnbranch merge into bluetooth5
    omit caf3fe7  nimble/controller: merge bsnbranch into bluetooth5
    omit 0850950  Initial commit for the "body sensor network" code changes.
    omit 429a11f  nimble/controller: Improve advertising report HCI event building
    omit 383600f  nimble/controller: Remove unused subev parameter
    omit 8f9f7d8  nimble/controller: Fix event mask checking for advertising report HCI events
    omit fb8514b  nimble/controller: Fix advertising report HCI event with empty adv data
    omit 9137dae  nimble/controller: Fix length for advertising report HCI event
    omit ebc0d37  nimble/hs: Update enabled LE Event Mask
    omit 5de5b30  nimble/host: fix SM SC authenticated pairing
    omit 12cc42b  nimble/host: fix SM legacy authenticated pairing
    omit 66cac40  nimble/pts: update testing dates
    omit ac4e524  nimble/pts: update PTS GATT test scenarios
    omit b7e9b6f  nimble/pts: update PTS SM test scenarios
    omit 2f15fa3  nimble/pts: update PTS GAP test scenarios
    omit ff5bb89  Merge pull request #416 from ccollins476ad/real-runtime-uuid
    omit 38d8472  Use 16-bit UUIDs for secure CoAP characteristics.
    omit db3dbcd  nimble/controller: Fix initial conn event scheduling on ext adv
    omit 371b34d  nimble/controller: Fix connMaxTxTime calculation on coded PHY
    omit cafe7be  nimble/controller: Fix typo
    omit ab4416e  native_sockets - Add syscfg settings.
    omit f03bceb  nimble/controller: Fix setting PHY for slave connection
    omit 7143be4  Merge branch 'master' into bluetooth5_master
    omit 9c5afa0  Merge pull request #400 from ccollins476ad/real-runtime-uuid
    omit 8367420  Merge pull request #403 from wes3/myn810
    omit 5bc3a49  nimble: convert HCI error codes to hex
    omit 460ab20  Merge pull request #398 from michal-narajowski/bt5-fixes
    omit ec09535  Merge pull request #402 from sjanc/bt5_ext_adv
    omit 813ff8c  nimble/host: handle error case on ble_svc_ans_chr_write
    omit e85dc9f  nimble/host: add missing rc check when setting adv fields
    omit 1b80129  nimble/controller: fix undefined result of << expression
    omit e293bbb  nimble/controller: fix null pointer dereference
    omit 97681a9  nimble/controller: fix uninitialized value
    omit 1f85f72  nimble/host: fix uninitialized value
    omit 37d410e  BLE Host - Add comments; move decls to priv hdrs.
    omit 3ba3fa1  Merge pull request #372 from andrzej-kaczmarek/btmon_core
    omit 82b73df  Merge pull request #401 from andrzej-kaczmarek/bt5-aar-fix
    omit 0c85b21  nimble/controller: Fix scheduler advertising halt error
    omit 500f92c  nimble/controller: Remove redundant call to ble_ll_scan_chk_resume
    omit 8a4fd28  nimble/controller: Add support for ext advertising duration
    omit f99a34e  nimble/monitor: Use vsnprintf to calculate characters in log message
    omit 096a0b9  nimble/monitor: Make controller name static
    omit 3edf424  nimble/monitor: Make RTT upstream buffer name configurable
    omit f894747  nimble/monitor: Make UART device configurable in syscfg
    omit c0e9a5d  nimble/monitor: Fix coding style
    omit af891c7  nimble/monitor: Add delay in UART queue flush
    omit 7ef7a7e  Use real runtime Bluetooth svc UUID (0xfe18).
    omit eda69bd  Merge pull request #394 from vrahane/lis2dh12-spi-driver
    omit 8270944  Merge branch 'master' into bluetooth5_master
    omit f167db2  MYNEWT-803 OIC add api for setting poll rate to ms
    omit f89fc87  MYNEWT-803 OIC add api for setting poll rate to ms
    omit 6cf4519  native_sockets; fix typo.
    omit 9e43b65  Merge pull request #392 from mkiiskila/native_socket_fix
    omit 2225289  native_sockets; now that sockets are nonblocking, partial transmits are possible.
    omit 224e432  Merge pull request #380 from ccollins476ad/ble-store-clear
    omit 6b61a24  Merge pull request #363 from ccollins476ad/testutil-init
    omit 6b5ec73  Merge pull request #384 from ccollins476ad/ble-hci-task
    omit 61facac  Merge pull request #383 from KumarAmitMehta/add-eclipse-mqtt
    omit 5b942a7  Merge pull request #370 from ccollins476ad/key-dist-0
    omit 46cd7fa  nimble/controller: fix null pointer dereference
    omit 45da01f  nimble/controller: Fix build error with ext adv disabled
    omit 8d0d35f  nimble/controller: Minor doxygen fixes
    omit 6e454ca  nimble/controller: Fix AAR usage for extended advertising
    omit 0cd61f6  nimble/controller: Create ble_ll_init_rx_isr_start
    omit 54cacfa  Merge pull request #387 from rymanluk/bt5_fix
    omit 40f6c1b  nimble/controller: Improve validation on extended connect command
    omit e5a936c  nimble/controller: Disable LL logs
    omit e09cd29  Give HCI socket transport its own task.
    omit d5480c8  Merge pull request #382 from sjanc/bluetooth5_master
    omit 26e6f73  Merge pull request #379 from sjanc/bt5_ext_adv
    omit 8592b88  Merge pull request #371 from bgiori/remove_lls
    omit 7d75655  Merge branch 'master' into bluetooth5_master
    omit b97b685  nimble/controller: Fix window delay for PHY 2M
    omit 4449497  nimble/controller: Improve handling hci create connection command
    omit 4b522bd  nimble/controller: Fix for regression in extended connect
    omit 615d2e9  nimble/controller: Remove not needed flag from header
    omit 9beb36a  nimble/controller: Support ext scanner for chain aux ptr
    omit 35e7452  nimble/controller: Add stats for aux scan req/rsp
    omit 659c15b  nimble/controller: Improve handling aux scan response
    omit c1ab7df  nimble/controller: Make sure auxiliary offset is good enough
    omit 7ffa51b  nimble/controller: Minor fix for correct define usage
    omit ebf9588  nimble/controller: Fix BLE_LL_MAX_EVT_LEN
    omit 8e86c7e  nimble/controller: Add MYNEWT_VAL BLE_LL_EXT_ADV_AUX_PTR_CNT
    omit 84b0928  nimble/transport: Add support fot extended advertising
    omit 7dc8647  nimble/test: Update unittests after features exchange changes
    omit fce1fbf  BLE Host - Remove BLE_EDDYSTONE syscfg setting.
    omit 3e62a07  MYNEWT-749 BLE Host - Don't persist if keydist==0
    omit f363b81  MYNEWT-268 BLE Host - enable factory reset
    omit 7db109b  nimble/controller: Fix calculating ext advertising PDUs TX time
    omit 3a10477  nimble/controller: Fix calculating AUX_ADV_IND start time
    omit 3528161  nimble/controller: Allow to use larger advertising data
    omit 5c8d75e  Merge pull request #375 from andrzej-kaczmarek/bt5-featexch
    omit f0a0e68  nimble/host: Do not enable unnecessary events from controller
    omit 28e54f5  nimble/controller: Remove callout for HCI Read Remote Features event
    omit e26219d  nimble/controller: Update supported HCI commands mask
    omit 871a20f  nimble/controller: Remove reduntant checks for OS_CPUTIME_FREQ
    omit edd5d46  nimble/controller: Fix for missing scansm pointer in connsm
    omit 64edc2d  nimble/controller: Initiate data length update if remote supports it
    omit 0a9a60b  nimble/controller: Refactor remote features handling
    omit db989bf  nimble/controller: Fix features handling
    omit 770b40e  nimble/controller: Enable Connection Parameters Request procedure
    omit 6b3e53c  nimble/controller: Fix LE Connection Update status code in slave role
    omit abf6638  nimble/host: Use features to check parameters update procedure
    omit 06e8782  nimble/host: Store peer supported features
    omit 2074c30  nimble/host: Store local controller supported features
    omit a3d7731  nimble/controller: Remove phy_data from non-phy builds
    omit fab5e1e  Adding Eclipse Paho 'C' client for embedded platforms.
    omit 79a62b0  nimble/controller: Fix set adv enable hci cmd processing
    omit bc1102a  nimble: Disable HCI logs when monitor is enabled
    omit 45cb700  nimble/monitor: Add intermediate buffer option for RTT
    omit 35bfe12  nimble/monitor: Add call to output text via monitor interface
    omit 7748a5a  nimble/monitor: Add call to log via monitor interface
    omit e4bfa26  nimble/monitor: Add monitor interface over RTT
    omit e4bc7ff  nimble/monitor: Add monitor interface over UART
    omit d72a7f8  Merge pull request #367 from rymanluk/bt5_scanner
    omit 6dc8945  remove misplaced duplicate of link lost service
    omit a7dea8d  nimble/controller: For Bluetooth5 disable HW whitelist
    omit 9c9dd2f  nimble/controller: Add MYNEWT_VAL to enable/disable HW whitelist
    omit 5964023  nimble/hci: Fix mapping legacy event types
    omit 089f4b3  nimble/controller: Ignore scan rsp which is not an answer on scan req
    omit fc95351  nimble/controller: Add default values to extended advertising event
    omit 666c30a  nimble/controller: Add support for whitelist and privacy for extended adv
    omit d13d292  nimble/controller: Fix handling scan req during extended scan
    omit 58561ba  Merge pull request #364 from sjanc/bluetooth5_master
    omit 348b718  Merge branch 'master' into bluetooth5_master
    omit 47f7a68  nimble/controller: Remove restriction whcih does not work in this case
    omit c1dd977  Merge pull request #360 from sjanc/bt5_ext_adv
    omit cf2ed30  BLE Host - Add missing #include.
    omit cd6ea97  nimble/controller: Use flag for marking advertising on data channel
    omit 5131061  nimble/controller: Store DID and SID in single variable
    omit 28b0bb3  nimble/controller: Fix build with extended advertising disabled
    omit 1a6949b  nimble/controller: Remove support for Android specific HCI commands
    omit ffad4c6  nimble/controller: Reduce padding in ble_ll_adv_sm
    omit 8e1dc1f  nimble/controller: Add support for setting advertising TX power
    omit 7ea253b  nimble/controller: Schedule AUX_ADV_IND based ADV_EXT_IND channel mask
    omit c2090c9  nimble/controller: Adjust slave anchor point based on PHY used
    omit 5f8bc71  nimble/controller: Use flags for storing flag-like values
    omit f345aab  nimble/controller: Remove leftover TODOs
    omit c9b587e  nimble/controller: Add support for sending Set Terminated event
    omit 6ad7c16  nimble/controller: Reply with AUX_CONN_RSP for connection request
    omit 8d4b2e4  nimble/controller: Send LE Scan Request Received Event
    omit 96e8dbd  nimble/controller: Add support for sending AUX_SCAN_RSP
    omit 73d3f0b  nimble/controller: Add support for non-connectable advertising
    omit e1ffe7b  nimble/controller: Use properties for storing advertising type
    omit 9a90d8a  nimble/controller: Add LE Set Extended Advertising Parameters Command
    omit afe5006  nimble/controller: Add LE Set Extended Scan Response Data Command
    omit 5ddab3b  testutil - Remove init boilerplate.
    omit 843bfc7  nimble/controller: Add LE Set Extended Advertising Data Command
    omit 63e94ed  nimble/controller: Add LE Clear Advertising Sets Command
    omit bd54f0a  nimble/controller: Add LE Remove Advertising Set Command
    omit da468ac  nimble/controller: Add LE Set Extended Advertising Enable Command
    omit 882f598  nimble/controller: Add initial stubs for Ext Advertising HCI commands
    omit 2c0b98e  nimble/controller: Reject le set adv if connectable
    omit 66e00af  nimble/controller: Don't build VS code if Android VS are not enabled
    omit a90b41f  nimble/controller: Rename BLE_MULTI_ADV_SUPPORT
    omit d4aaa1d  nimble/controller: Remove few not needed #ifdefs
    omit ab6510d  No jira ticket: Lora
    omit 254322d  Merge pull request #280 from ccollins476ad/store-config
    omit 1983ab5  MYNEWT-743 BLE Host - Persist bonds to sys/config
    omit 040ecd9  nimble: Add BLE_EXT_ADV MYNEWT_VAL
    omit 7156ca0  nimble/gap: Add support for handling extended advertising event
    omit a8a85e8  nimble/gap: Add GAP API for extended connection
    omit 044d40d  nimble/hci: Add support for HCI create ext connect
    omit 13b8c82  nimble/hci: Minor coding style fix
    omit d489c30  nimble/hci: Remove reduntant declaration
    omit f4ca993  nimble/gap: Add API for extended scan
    omit 705f6de  nimble/hci: Add set extended scan parameters command
    omit aab53a0  nimble/hci: Add HCI commands for enhanced trans/recv test
    omit e837be1  BLE Host - Allow get / set of channel map.
    omit 975941e  BLE Host - Remove unused functions.
    omit 466c078  Merge pull request #341 from andrzej-kaczmarek/remove_1mhz
    omit 731f522  nimble/controller: Header already contains valid phy
    omit 34e0c63  nimble/controller: Fix for write above array bound
    omit ed86d46  nimble/controller: Minor coding style fix
    omit 3a19ebe  nimble/controller: CSA2 is mandatory for extended advertising
    omit 9a1b568  nimble/controller: Add LP clock sysval to configure BSP
    omit 4108052  nimble/controller: Emit build error when building with non-32kHz clock
    omit 58f29b6  nimble/controller: Fix build with native phy
    omit 60f0c63  nimble/controller: Remove code for 1MHz clock
    omit b9fdd8a  nimble/controller: Allow 2M and Coded PHYs only on nRF52840
    omit f33e83b  Merge pull request #279 from ccollins476ad/key-wont-fit
    omit 288c3fd  nimble/controller: Fix checking for supported PHY
    omit 7a08639  net/oic; fix typo in oc_connectivity_init_ip4().
    omit f81dd40  net/oic; if opening ipv4 failed, also ipv6 sockets were getting closed. Close the failed transport only.
    omit 5541a13  MYNEWT-751 store event API change
    omit d84041e  nimble/controller: Fix build issue for non Bluetooth 5 configuration
    omit c59c558  nimble/controller: Fix build for 1M
    omit 7e7f1f4  nimble/controller: Sort out flag configuration for BT5
    omit c2d1990  nimble/controller: Minor coding style fix
    omit ff007ec  nimble/controller: Increase stack
    omit f29b30a  nimble/controller: Fix conn params check
    omit 2536fe6  nimble/controller: Fix rxinfo rx state mask
    omit dff26cf  nimble/controller: Make rxinfo macros return casted values
    omit cfb281f  nimble/controller: Fix for scanning freeze
    omit 5da2268  nimble/controller: Add support to create extended connection
    omit 5fef8b9  nimble/controller: Add parser for extended advertising
    omit 51ea545  net/oic; fix encoding byte arrays in responses.
    omit ceac94f  nimble/controller/sched: Remove reduntant declarations
    omit a3ef9d6  nimble/controller: Refactor a bit ble_ll_init_rx_isr_end
    omit 2390e59  nimble/controller: Improve flow for handling connection data
    omit 7d2a4ae  nimble/controller: Extract function to prepare and send adv report
    omit 6bf127a  nimble/controller: Make use of access_add nad crcinit for scan/adv
    omit 162e4c2  nimble/controller: Change PHY when extended scan requires that
    omit a982d42  nimble/controller: Add support for scan using two PHYs
    omit cbc179d  nimble/controller: Add restriction for extended scan
    omit a18e04b  nimble/controller: Refactor ble_ll_scan_proc function
    omit 646436e  nimble/controller: Refactor ble_ll_scan_window_chk
    omit 8dbfab5  nimble/controller: Fix scan comment
    omit 7819b60  nimble/controller: Add support for extended scan
    omit 3e8ef1e  nimble/controller: Enhance scansm for future support of Bluetooth 5.0
    omit 9d05cf5  nimble/controller: Fix compiler warning
    omit 6196e6f  nimble/controller/phy: Move helper function to header
    omit f4b98b2  nimble/controller: Minor fix: Keep consistent function names
    omit fed3cf6  nimble/controller: Add proper conn event scheduling for secondary adv ch
    omit ae68e26  nimble/controller: Add current phy getter
    omit 653d855  nimble/controller: Adjust TX size to fit in maxTxTime
    omit de1e8fa  nimble/controller: Store max TX octets in each PHY mode
    omit f80302b  nimble/controller: Add helper to calculate payload octets per TX time
    omit 263b67d  nimble/controller: Make PDU header TX times easily accessible
    omit 5f641af  nimble/controller: Make number of PHY modes a common definition
    omit b27c81a  Merge pull request #293 from michal-narajowski/btshell
    omit 3df2749  BLE Host - decrease dflt mtu; make cfgable.
    omit 1c65d67  nimble/host: add api to print local gatt server database
    omit a19ca5d  MYNEWT-751 Make ble_store_status() private.
    omit ce20a11  MYNEWT-751 - Slight change to internal function.
    omit f4a4cd5  MYNEWT-751 BLE Host - Policy for SM key overflow
    omit b350e67  Merge pull request #337 from mkiiskila/multiple_oic_services
    omit 9a9e34c  Merge pull request #287 from ccollins476ad/repeat-pairing
    omit 146cc5d  net/oic; support getting requests in to multiple advertised services
    omit c98f912  nimble/controller: Move helpers for PDU duration from phy to ll
    omit 58e16eb  nimble/controller: Fix applying PHY Options in LE Set PHY
    omit b778e6d  Merge branch 'master' into bluetooth5_master
    omit 0307368  No jira ticket: additional timing changes
    omit 3b5f916  BLE Host - Make ble_hs_sched_reset()
    omit cb43de4  Merge pull request #322 from ccollins476ad/coap-unaligned
    omit fd48f62  Merge pull request #321 from wes3/loratimer
    omit 42d3708  Merge pull request #317 from ccollins476ad/mn-socket-un
    omit 4dee5af  Merge pull request #311 from wes3/myn738
    omit 4ef9881  MYNEWT-775 Crash; unaligned accesses: CoAP parsing
    omit ce14dca  No jira ticket: remove unnecessary calls to os_cputime_timer_stop
    omit f472c13  This closes #310.
    omit 826df77  Fix typo ("ACM" should be "ACL").
    omit f3fae85  MYNEWT-550 Add ble_gattc_indicate_custom()
    omit a235f00  mn_socket: Unix domain socket support.
    omit 409c3a6  Merge branch 'master' into myn689
    omit dec8738  Fix net/oic unit test build failure
    omit 6bf6840  No jira ticket
    omit c188126  MYNEWT-772 BLE Host - Rsrvd bits in set-event-mask
    omit d1da6c5  This closes #307.
    omit a45a688  Fix net/oic unit test build failure
    omit 9ce0824  Merge pull request #308 from wes3/lorapriv
    omit 660afcd  MYNEWT-738: Fix parameter arrays
    omit 923fd8c  Merge pull request #296 from jacobrosenthal/gap-log
    omit 5cf129f  MYNEWT-550 Signal GAP event for custom notifies.
    omit ebc0a97  ibeacon: add fields.flags
    omit 7d630b5  No jira ticket
    omit 3fad38f  MYNEWT-772 BLE Host - Rsrvd bits in set-event-mask
    omit 7f834a4  net/oic; coap.c - fix mbuf dup free error on certain conditions.
    omit 70d7e1e  net/oic; move header files used outside oic under include directory.
    omit a4d4c68  net/oic; request characteristic should not advertise notify.
    omit 809ce60  net/oic; fix typo in log messages, oci -> oic
    omit 449193c  Re-add 128-bit iotivity service UUID.
    omit 2fddd7d  Merge pull request #255 from ccollins476ad/ble-preserve-ota
    omit f997699  MYNEWT-750 Fix build when SM disabled.
    omit ce15ff8  MYNEWT-750 BLE Host - Ignore pair from bonded peer
    omit df36c95  MYNEWT-750 - Authenticated flag incorrect.
    omit 3a7a1cd  MYNEWT-750 BLE Host - Persist SC flag for bonds.
    omit cff30ff  MYNEWT-750 Fix some coding style issues.
    omit 152bea3  nimble: gap slave remove unused struct items
    omit 68c966c  nimble: fix gap logging on advertise
    omit bae21ba  This closes #292.
    omit 325f9a2  nimble/sm: Fix passing rx_buf to the sm callback
    omit 6e26b3a  This closes #290
    omit ff43638  nimble/l2cap: Fix double free when calling ble_l2cap_discard_rx
    omit 62fdeb7  MYNEWT-759 Change BLE-over-CoAP UUID 128 --> 16
    omit 599521c  nimble/controller: Fix setting parameters for scanning
    omit e039bd3  nimble/host: fix find by address when addr is NULL
    omit 7d97626  This closes #277.
    omit 389183a  wifi_mgmt; header files reference mutex/eventq. Need to include os.h from here.
    omit 63ab5ad  nimble/controller: Add configuration for LE Coded PHY
    omit e915478  nimble/controller: Add access address constraints for LE Coded PHY
    omit 787db81  nimble/controller: Fix setting LE Coded PHY feature flag
    omit 655bad6  nimble/controller: Cleanup PHY symbols names
    omit 9b06038  nimble/controller: Fix applying PHY update
    omit 4ed1d9e  nimble/controller: Fix checking PHY Options in LE Set PHY
    omit 5ad5bce  net/nimble; adjust BCM2837 fix to print a warning instead of erroring. Keep header file define the same.
    omit 9b939e1  net/nimble/hs; QCA6234 rejects 2nd page of event settings. Instead of failing, log the event as warning and continue.
    omit 013fd0f  net/nimble; we reject BCM2837 on raspberry pi for higher tx power report. Up the allowed range to accomodate it.
    omit 2318f7f  Merge branch 'master' into bluetooth5_master
    omit 30ac285  This closes #269.
    omit 20abeb0  MYNEWT-754 BLE Host - Support deleting of CCCDs.
    omit b763687  MYNEWT-754 BLE Host - Basic store util unit tests.
    omit 66561d1  MYNEWT-754 BLE Host - Add some missing consts.
    omit 614afa5  MYNEWT-754 BLE Host - Store mgmt API additions
    omit 8f6dcde  MYNEWT-754 BLE Host - iterate: return err on fail
    omit 69c15b6  MYNEWT-754 BLE host - addrcmp ignores padding.
    omit c5fe972  MYNEWT-754 BLE host - Store cb can abort iterate.
    omit 1c3c2e7  MYNEWT-754 BLE Host - cfgable RAM store capacity
    omit be49b0c  fix double semicolons
    omit 5eb0009  This closes #276
    omit 7b3c52c  nimble/controller: Use scansm from function parameter
    omit dbccc2d  nimble/gap: Fix lock issue
    omit 3750f63  nimble/ll: Check peer features for LE Connection Update
    omit ee5596f  nimble/ll: Change LL PDU name to match spec
    omit 7483341  nimble/ll: Add option to schedule connection with non-zero WindowOffset
    omit e4594dc  nimble/ll: Fix sending features xchange PDUs
    omit 0c98a8f  MYNEWT-745 Make native sockets nonblocking.
    omit 077d56a  Merge branch 'master' into bluetooth5
    omit e9e1e74  nimble/controller: Fix controller unit test
    omit 3cfee9c  BLE Host - Fix peer OTA addr and type on pairing.
    omit ce37f3b  MYNEWT-723: Fix build issue
    omit f79cfb8  MYNEWT-741 Lora cleanup
    omit 2084058  MYNEWT-741 Port of LoRaMac-node library
    omit b69fe76  MYNEWT-741 Port of LoRaMac-node library
    omit 8413c76  MYNEWT-723: Fix creating LL_PHY_REQ
    omit 753be06  MYNEWT-723: Fix setting current PHY
    omit c5c0521  MYNEWT-723: Some additional changes to get the basic 2Mbps PHY support.
    omit 73c279f  MYNEWT-723: Add control procedure code and HCI command/event code.
    omit 61e77e2  MYNEWT-723: Add PHY support to change modulations for 2M phy.
    omit 20781fb  MYNEWT-723: L# 2Mbit and Long range support
    omit 07e19a6  MYNEWT-723: Add control procedure code and HCI command/event code.
    omit 6c01233  nimble/controller: MYNEWT-726
    omit 63640f8  This closes #245
    omit 59efbad  This closes #250.
    omit 3d7cc41  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient
    omit eed6278  MYNEWT-738: Fix parameter array errors
    omit 67b663b  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient
    omit 8eb92dd  This closes #221.
    omit dd09cf7  MYNEWT-736 NimBLE - UART xport can't send multibuf
    omit c15be1f  This closes #237.
    omit 256c9f8  BLE Host - Check tx of disc-svc-uuid in unit tests
    omit 3b1db40  Merge branch 'lwip_updates' of https://github.com/mkiiskila/incubator-mynewt-core
    omit 52d8795  MYNEWT-732: Fix ble_gattc_disc_svc_by_uuid
    omit 8857dea  nimble/gap: Add API to manage LE PHY
    omit 113ee4f  nimble/hci: Add LE set PHY command
    omit 44fa211  nimble/hci: Add LE set default PHY command
    omit 54e53dc  nimble/hci: Add LE read PHY command
    omit 6f88458  nimble/hci: Remove reduntant checks
    omit ab48a64  MYNEWT-729 SensorAPI: Send sensor data over OIC
    omit 1597fed  MYNEWT-729 SensorAPI: Send sensor data over OIC
    omit 784e2c6  MYNEWT-729 SensorAPI: Send sensor data over OIC
    omit 6e68ce7  native_sockets; fill in LINK flag when querying interfaces in sim.
    omit 1ae1dcf  net/ip; add sys/shell as conditional dependency.
    omit 491e6e1  net/ip; allow multicast join/leave via socket interface.
    omit 0e9ec1f  net/ip; updates needed for LwIP 2.0.2
    omit 3bfb3e5  net/ip/lwip_base; update to LwIP to tag STABLE-2_0_2_RELEASE
    omit 4448778  net/ip; fix memory allocation for tcpip stack.
    omit bb7c492  net/ip; add stub of a CLI for managing interfaces.
    omit 343d38b  net/ip; add locking, and other bug fixes.
    omit c4f9c72  net/ip; increase the default pbuf pool, listen socket count to allow inet_def_service to operate.
    omit 48ee3a6  net/ip; use pkg_init to initialize this package.
    omit 2fa7c81  mn_socket; add LINK flag, mn_itf_get() convenience function.
    omit 23df89f  inet_def_service; fix race when connection is closing.
    omit 84c970e  nimble/controller: MYNEWT-726
    omit e7e3ac4  nimble/controller: No jira ticket.
    omit 77abb1e  nimble/controller: No jira ticket.
    omit 8f2c54a  This closes #226.
    omit 1201079  nimble/controller: Allow to configure CSA #2 support
    omit 33568f4  nimble/controller: Move latency calculations to ble_ll_conn_calc_dci
    omit 5547db8  nimble/controller: Use single function for DCI calculation
    omit 6d81cdc  nimble/controller: Rename and move ble_ll_conn_csa2_remapped_channel
    omit 891674a  This closes #206.
    omit 0f2e09c  controller: Minor comment fix
    omit 597555b  nimble: Remove ble_hs_endian_priv.h API
    omit 693ec23  nimble/l2cap: Use endian.h API for protocol data
    omit 0e495b0  nimble/l2cap: Remove some dead code
    omit bdba46e  nimble/sm: Use endian.h API for protocol data
    omit 5bfdc7f  nimble/att: Use endian.h API for protocol data
    omit bd808a1  nimble/att: Strip common ATT header before passing buf to handlers
    omit f1b0216  nimble/att: Use packed struct for receiving Write Command
    omit 34f0e45  nimble/att: Use packed struct for receiving Indication
    omit 7997add  nimble/att: Use packed struct for receiving Notification
    omit 80b77ca  nimble/att: Use packed struct for receiving Execute Write Response
    omit 139fd06  nimble/att: Use packed struct for receiving Execute Write Request
    omit f84f4d4  nimble/att: Use packed struct for receiving Prepare Write Response
    omit 2f379fb  nimble/att: Use packed struct for receiving Prepare Write Request
    omit 12f2e50  nimble/att: Use packed struct for receiving Write Request and Command
    omit 58f12fb  nimble/att: Use packed struct for receiving Read By Group Type Request
    omit 966cb65  nimble/att: Use packed struct for receiving Read By Group Type Request
    omit 961f4ee  nimble/att: Use packed struct for receiving Read Multiple Response
    omit a7a6e4f  nimble/att: Use packed struct for receiving Read Multiple Request
    omit 9c2ab5d  nimble/att: Use packed struct for receiving Read Blob Response
    omit fd9d3bb  nimble/att: Use packed struct for receiving Read Blob Request
    omit 42ffbbd  nimble/att: Use packed struct for receiving Read Request
    omit fcd2d9e  nimble/att: Use packed struct for receiving Read By Type Response
    omit 3a626b8  nimble/att: Use packed struct for receiving Read By Type Request
    omit 66be697  nimble/att: Fix no responding with error for invalid data
    omit 5b73be6  nimble/att: Use packed struct for receiving Find By Type Response
    omit 3fd43f5  nimble/att: Use packed struct for receiving Find By Type Request
    omit 3e08e77  nimble/att: Use packed struct for receiving Find Information Request
    omit 898a3d3  nimble/att: Use packed struct for receiving MTU Exchange
    omit 9049c55  nimble/att: Use packed struct for receiving Find Information Response
    omit cec6cfb  nimble/att: Use packed struct for receiving MTU exchange
    omit 1aa788d  nimble/att: Use packed struct for receiving Error Response
    omit b06f4e3  nimble/att: Don't pass Writes Response as packed structure
    omit 3ede1e0  nimble/att: Don't pass Error Responce as packed structure
    omit 2797e57  nimble/att: Use new helpers for sending Indication
    omit ca9f9e5  nimble/att: Use new helpers for sending Notification
    omit bc7f05c  nimble/att: Use new helpers for sending Execute Write Request
    omit 1071c40  nimble/att: Use new helpers for sending Prepare Write Request
    omit 348fc65  nimble/att: Use new helpers for sending Write Request and Command
    omit 7ddc990  nimble/att: Use new helpers for sending Find By Type Value Request
    omit 55f0ea2  nimble/att: Use new helpers for sending Find Information Request
    omit 6dd0af3  nimble/att: Use new helpers for sending Read By Group Type Request
    omit e83b010  nimble/att: Use new helpers for sending Read By Type Request
    omit bf6e5a7  nimble/att: Use new helpers for sending Read Multiple Request
    omit 7a05353  nimble/att: Use new helpers for sending Read Blob Request
    omit 04df754  nimble/att: Use new helpers for sending read command
    omit 84b7f6f  nimble/att: Use new helpers for sending MTU exchange
    omit cef6e57  nimble/att: Use new helpers for sending error response
    omit 5ed606f  nimble/att: Add generic helpers for sending commands
    omit d09dc3c  nimble/att: Remove not needed forward declaration
    omit 2d64662  net/ip/mn_socket; fix a typo in address conversion with v6.
    omit eee088d  nimble/controller: Send LE Channel Selection Algorithm Event
    omit 3c31fe8  nimble/controller: Add CSA #2 to supported features
    omit 945b628  nimble/controller: Improve CSA #2 channel identifier calculation
    omit 10f5571  nimble/controller: Add support for Channel Selection Algorithm #2
    omit 531512d  nimble/controller: Add initial unit tests for controller
    omit c54d99f  nimble/controller: Use common implementation for channel remapping
    omit 83a58d1  nimble/controller: Add Channel Selection Algorithm #2 implementation
    omit 07d9852  MYNEWT-713 Sysinit: nimble controller crashes
    omit ad39186  nimble/transport/socket; forgot to register with stats package.
    omit f13fcd1  nimble/l2cap: Add PTS instructions for LE CoC and run all the testcases
    omit 2737b87  nimble/pts: Update pts files due to L2CAP LE CoC
    omit dd25e7b  nimble/l2cap: Add initial unit tests for LE CoC
    omit 192d95a  nimble/l2cap: Fix hs locking issue when sending le_credit_update
    omit 4a5fcb8  nimble/l2cap: Fix logs on LE CoC receive data
    omit 35c6921  nimble/l2cap: Fix for reject incoming LE CoC channel
    omit 7f8e797  nimble/l2cap: Fix locking on incoming LE CoC connect request
    omit 38e7c8d  nimble/l2cap: Fix locking on LE CoC connect
    omit fe617ee  nimble/l2cap: Fix locking when receiving LE CoC credit update
    omit 51dc95a  nimble/host: Add support for privacy modes
    omit f3b2306  nimble/controller: Add helper to check if controller is busy
    omit b49ce36  nimble/controller: Add support for handling privacy modes
    omit 2619a08  nimble: Add defines for all Bluetooth 5.0 HCI commands and events
    omit 758126f  This closes #212.
    omit 5c1c326  nimble/controller: Add support for high duty cycle non-conn
    omit 00df067  nimble/controller: Change LL and HCI version to Bluetooth 5.0
    omit c3b11d4  No jira ticket: fix uninitialized local variable.
    omit 4dfb517  No jira ticket: get native ble building.
    omit 980f0fa  No jira ticket. Remove unused header file bsp.h
    omit 472532f  MYNEWT-707: Add API to retrieve public and random static address
    omit e8eb494  net/nimble; add HCI transport which has Linux bluetooth socket, or TCP socket as it's target.
    omit 56b7f8f  net/oic; fix compilation errors with clang.
    omit b7123e9  MYNEWT-702 dbg: Erase mempool entries during free.
    omit 88b726d  MYNEWT-702 BLE Host - duplicate update entries
    omit 2b2ee09  MYNEWT-668: Improve throughput of BLE connections
    omit 8b22907  MYNEWT-698: Unhandled exception in ble_ll_conn_end
    omit 05ef2d2  nimble/controller: Fix mixed AdvAdd and InitA in the advertising report
    omit 72756c6  nimble/controller: Fix len of InitA in advertising report
    omit d8bc0db  nimble/controller: Fix for directed advertising report
    omit 464d7d6  MYNEWT-702 BLE Host - duplicate update entries
    omit 5d8e016  MYNEWT-701: Low power timer support
    omit 7087a9f  Low power timer. Only nrf52 right now.
    omit 52e6439  nimble/controller: Slight refactor of use of pkt receive time
    omit 86f2e69  MYNEWT-700 BLE Host - Race condition: discon + att
    omit 1284609  MYNEWT-698: Unhandled exception in controller in ble_ll_conn_end
    omit 01e87ed  MYNEWT-698: Unhandled exception in controller in ble_ll_conn_end
    omit abc127a  MYNEWT-697: Controller can leak connection state machines
    omit 70689dd  BLE Host - Remove duplicate conn check.
    omit d5ec55b  BLE uart transport: Add text to sysinit panic.
    omit 22d1636  BLE Host - If initial sync fails, retry later.
    omit 4a90c2e  BLE Host - Make L2CAP CID definitions public.
    omit 7b85a1d  BLE UART xport - sysinit panic on init fail.
    omit 23eb1f0  BLE Host - Add missing #include.
    omit 7a2c713  BLE Host - Additional debug logging.
    omit 83c3f50  BLE Host - Don't allow conn to already-conned peer
    omit 4ed1fd8  BLE Host - Rename parameter for clarity
    omit 8b849aa  net/oic; use hal_bsp_dev_id() to generate platform uuid.
    omit 17017e2  net/oic; don't send confirmable requests over TCP-like transports.
    omit 621651d  net/oic; add a testcase for basic observe.
    omit 328d7ec  net/oic; oc_endpoint size is different depending on transport type. Take this into account when comparing them.
    omit 996a1b7  net/oic; when deleting resource, remove it from oc_app_resources list.
    omit 8d34d8b  nimble/sm: Fix Secure Connection only mode
    omit 4ccda86  MYNEWT-633: Controller does not respond on LL_PHY_REQ
    omit c1bf9bf  nimble/controller: Fix handling incorrect LL opcode
    omit 34463f2  nimble/controller: Minor fix to avoid magic number
    omit cf4a712  MYNEWT-666; walk of observer list was ending too soon.
    omit ffd77cb  nimble/gap: Fix bad calculation on connection parameters validation
    omit 7a3a092  Fix invalid memory accesses in ble_uuid_cmp
    omit f372875  This closes #190.
    omit 2f7b599  This closes #189.
    omit 3fc258b  This closes #188.
    omit 2862a68  nimble/l2cap: Add initial credits calculations
    omit 5da0ff0  nimble/l2cap: Improve L2CAP LE CoC connection handling
    omit 73e92c5  nimble/l2cap: Fix hanlding broken ACL during L2CAP procedure
    omit 2be8fe3  nimble/l2cap: Fix for possible memory leak
    omit b32aa0c  nimble/l2cap: Handle REJECT CMD on L2CAP LE CoC connection create req
    omit b704986  nibmle/l2cap: Clear LE CoC channel on ACL drop
    omit 27943d7  nimble/l2cap: Add suppport to send data over L2CAP LE CoC
    omit f875f73  nimble/l2cap: Add helper to clean L2CAP LE CoC channel
    omit c4529b8  nimble/l2cap: Add handling receiving SDU over L2CAP LE CoC
    omit 94fe8f1  nimble/l2cap: Add LE credits update handling
    omit 2271743  nimble/l2cap: Remove not needed **om from ble_l2cap_rx_fn
    omit 2f8a26f  nimble/l2cap: Make ble_l2cap_chan available in ble_l2cap_rx_fn
    omit 0682cc8  nimble/l2cap: Remove not needed function ble_l2cap_sig_init_cmd
    omit f977aaa  nimble/l2cap: Refactor handling L2CAP reject command
    omit 49325f8  nimble/l2cap: Fix handling bad data in L2CAP update parameters response
    omit fd1e513  nimble/l2cap: Add helper to create L2CAP channel for LE CoC
    omit b40e790  nimble/l2cap: Refactor update parameters handling
    omit a2de18b  nimble/l2cap: Fix L2CAP LE CoC disconnection handling
    omit c2c9f4e  nimble/l2cap: Memset response in L2CAP LE CoC connect request
    omit 9f99759  nimble/l2cap: Fix handling scid/dcid in the channel.
    omit 695136f  MYNEWT-492 Add missing syscfg setting descriptions
    omit a62b927  MYNEWT-492 - Remove unused obsolete settings.
    omit 85a9ed4  MYNEWT-652; net/oic - remove check of OC_PERIODIC when deciding whether to send notify or not.
    omit 1bf9e67  MYNEWT-642 Eddystone buf: one byte too large.
    omit 486a509  MYNEWT-642 Eddystone UID format is incorrect
    omit 20064e5  net/oic; notifications were not working. memset() in coap_receive_packet() was overwriting too many bytes, running into observer memory pool area.
    omit d34a12a  net/oic; fix mbuf leak. Noticed in inspection.
    omit ba168e0  MYNEWT-638: Bug when resetting controller while creating connection
    omit d3de356  Merge branch 'sensors_branch' of https://github.com/vrahane/incubator-mynewt-core into develop
    omit ad39daa  This closes #182.
    omit bca3b47  Fix accidental free caused by a merge earlier
    omit 8826676  Fixing incomplete merge to the sensors_branch
    omit b8649d0  Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into sensors_branch
    omit e4fe93d  nimble/sm: Fix for bonding information storing
    omit 68d4094  nimble/l2cap: Drop packets bigger than MTU on the channel
    omit 54b992d  MYNEWT-629: Unexpected advertising state machine stop.
    omit 5b68ca9  MYNEWT-492; TBD -> descriptions.
    omit 3a5420b  net/oic; support IPv4.
    omit e897e0d  BLE Host - Remove extraneous indentation.
    omit 95e058c  nimble/gap-test: Add unit tests
    omit 263cd82  nimble/gap: Fix validation of conn parameters
    omit 5c48318  BLE Host - Minor formatting change.
    omit 61b5fd1  MYNEWT-492: Update TBD in syscfg files.
    omit 6c63422  MYNEWT-627 BLE Host - Join rx frags into 1 mbuf
    omit bad501d  This closes #174.
    omit 7882be9  BLE Host - Update for CoC field name change.
    omit 1d73f9a  This closes #171.
    omit 505f093  BLE host - add chr-read app err to unit tests.
    omit 4e0dc0c  MYNEWT-579 Free rxed l2cap frags on disconnect.
    omit 7d62c6b  MYNEWT-534 Pkgs set dflt eventq in init function.
    omit 71772d8  Merge branch '1_0_0_b2_dev' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
    omit ae6b983  nimble: Cleanup address types usage
    omit 61d7ea0  MYNEWT-617 BLE Host - UUID-string conv missing '-'
    omit 5074393  nimble/controller; silence compile warning about uninitialized variable.
    omit 7701b93  bletiny: Add support to connect/disconnect L2CAP LE COC
    omit a2f77f9  nimble/l2cap: Add support to disconnect L2CAP LE COC
    omit 7f247e0  nimble/l2cap: Add support to connect L2CAP LE COC
    omit a69ef62  nimble/l2cap: Add LE L2CAP COC API
    omit 0e6ee06  nimble/l2cap: Move ble_l2cap_chan_mtu() to ble_att
    omit db6b0d7  nimble/l2cap: Remove prefix blc_ and blh_ from L2CAP structs
    omit 720d97b  nimble/l2cap: Remove not needed checks
    omit f913ff4  BLE Host - Remove dead code.
    omit 1dba18c  BLE Host - Fix crash in unit test
    omit b8fab54  nimble/sm: Update peer's identity after pairing
    omit 48bdf91  nimble/host: Add generic type for BD address
    omit 0b148bd  nimble/sm: Use proper address types for confirm
    omit 39d1108  This closes #172.
    omit a149616  nimble/ll: Fix for compiler warning
    omit 31209de  nimble/gatts: Fix use of uninitialized variable
    omit 1d572ca  nimble/hci: Fix passing uninitialized data
    omit 9d41e95  nimble/l2cap: Fix possible NULL pointer dereference
    omit 5274c87  nimble/sm: Fix out of bound access with logs enabled
    omit cbb18c0  oic; clear next ptr on mbuf pkthdr for TX. This was confusing ble fragmentation.
    omit b68a211  oic; ble fragmentation was splitting packets too small.
    omit e39441b  This closes #169.
    omit b3bf262  This closes #166.
    omit 02c149b  nimble/adv: Use ble_uuid types in ble_hs_adv_fields
    omit 09ec34d  nimble/gap: Use raw data only in ble_gap_disc_desc struct
    omit bac63c0  nimble/adv: Remove invalid data types
    omit ff6134a  MYNEWT-564 BLE Host - Allow byte buf for adv data
    omit 191b6b7  kernel/os; os_init() - add function name to be used as the entry point to main task.
    omit f2914ce  nimble/sm: Make ble_sm_build_authreq static
    omit 09c6479  nimble/sm: Move PDU parsing functions to tests
    omit 6ae8c7a  nimble/sm: Remove op parameter from ble_sm_rx_fn
    omit 5442d8d  nimble/sm: Remove unused functions
    omit ad37972  nimble/sm: Use packed structures for dhkey check
    omit 1093d25  nimble/sm: Use packed structures for pub key
    omit 4695cff  nimble/sm: Use packed structures for sec req
    omit 894498f  nimble/sm: Use packed structures for sign info
    omit 5c86884  nimble/sm: Use packed structures for id addr info
    omit c64528f  nimble/sm: Use packed structures for id info
    omit 47fb6da  nimble/sm: Use packed structures for master id
    omit 6e1da7c  nimble/sm: Use packed structures for encrypt info
    omit ed045ad  nimble/sm: Use packed structures for pairing failed
    omit 2ae131a  nimble/sm: Use packed structures for random
    omit 41d4bb6  nimble/sm: Use packed structures for confirm
    omit 69faca6  nimble/sm: Use packed structures for pairing req and rsp
    omit 00feb3d  nimble/sm: Remove useless function declaration
    omit 17ec2a0  Move endiannes related API from ble.h to endian.h
    omit 35040de  nimble: Rename htol* and htobe* functions
    omit cf52818  nimble/gatt: unify discovery api
    omit 2b702de  merge from develop, and update to support new sysinit
    omit ce2f6a1  Merge branch 'def_task' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
    omit 7d2acec  MYNEWT-555 BLE Host - Avoid mbuf copy on chr read
    omit 441c6d2  pkg.yml; update to use the new format of specifying package initialization functions.
    omit 7c514b7  os; spin up OS before calling. main() gets called in context of main task.
    omit b57637b  BLE Host - Allow reconf of connection GAP event cb
    omit dae0f32  oic; if unittest fails on catch-all timeout, print the phase test is in. Increase catch-all timeout from 2 seconds to 4.
    omit a5dd0ff  This closes #160.
    omit eca27e3  This closes #161.
    omit 8d1130e  nimble/sm: Use TinyCrypt for AES
    omit b3cb32a  Update TinyCrypt library to version 0.2.5
    omit 818c46e  nimble/sm: Use TinyCrypt for AES
    omit 74c7407  Update TinyCrypt library to version 0.2.5
    omit 937642c  nimble/pts: update test results for PTS 7.0
    omit f120aaf  nimble/privacy: fix set private address timeout
    omit 4bf43b0  nimble/ll: fix and refactor set rpa timeout
    omit 4c4c6e5  nimble/hci: remove redundant check
    omit 23893b8  nimble/gatt: fix zero length attribute read
    omit b1f171f  oic; fix build when compiling with sys/log/stub.
    omit 2ee7ba5  sys/log; move log module to sys/log/full. This package exports api 'log'. Packages which used to depend on 'sys/log' now depend on that API. Update apps/unit tests to depend on sys/log/full.
    omit 16fbb6a  net/oic; fix build when using sys/stats/stub.
    omit a423dd5  sys/stats; add STATS_RESET() to clear counter area from stats structure.
    omit a274c2a  sys/stats; move the stats module to sys/stats/full. Tell that sys/stats/full package exports API 'stats'. Packages list 'stats' as required API. Update apps to depend on sys/stats/full.
    omit 6f5d182  oic; depends on cborattr.
    omit 72c5419  nimble: Refactor UUID handling (ATT/GATT)
    omit e8baa12  oic unittest; start of get/set tests.
    omit 7d1fafe  oic; allow use of 'struct <name>' for request/response..
    omit 237adeb  oic unittest; break apart testcase and test app creation.
    omit 00ed448  oic; coap separate response support is now optional.
    omit f99aecb  oic; remove network event mutex as unused.
    omit 5b32052  BLE Host - disallow conn to already-connected peer
    omit 7523873  oic; set the coap response timeout back to 2seconds. Previous change was unnecessary.
    omit 97ee870  oic; random.c coding style.
    omit d515da7  oic; initialize flow_info to 0 when sending to v6.
    omit 769fd4b  oic; increase default coap response timeout to 3 secs.
    omit 9712b6b  oic; construct oic status -> coap status table at compile time.
    omit 7d7332e  oic; on oc_reset memset() g_encoder with 0.
    omit dfc1adc  oic unittest; don't filter out responses to discovery messages based on source address.
    omit fe1fdf5  oic unit test; do statistics during unit test.
    omit 7a7451f  oic; ip - multicast TX was not right. Fix mbuf frees on failure paths. Add statistics.
    omit 79c3626  oic; ble - count incoming/outgoing frames separate from fragments.
    omit 72d23c5  mn_socket unit test; clear scope_id of v6 sockaddr.
    omit 6495efb  oic; start of selftests.
    omit 592dc47  oic; ip_adaptor.c minor coding style fix
    omit 70478bc  oic; move oc_evq_set() prototype to oic/oc_api.h.
    omit 58f5a33  MYNEWT-542: Controller not working if os cputime not 1 MHz.
    omit 08e0eeb  nimble host test; change the way empty struct is initialized to get this to compile on linux gcc.
    omit d8272ce  MYNEWT-542: Controller not working properly if os cputime not 1MHz
    omit d6daba3  nimble ble host; assert if host fails to start.
    omit 3af30ee  This closes #156.
    omit 53fd6c3  This closes #155.
    omit 449ebee  oic; update comments in coap.h.
    omit ea7b265  MYNEWT-539: Controller allocates too many os events for commands
    omit ca6c4aa  oic; remove oc_message, and it's memory pool.
    omit 9c439d7  oic; ble transport was now fragmenting incorrectly.
    omit f409cda  oic; add stubs of mbuf logging macros when OC_LOGGING is not defined.
    omit 74aca5a  oic; change the RX data path to use data within mbuf, instead of copying it to a flat buffer.
    omit 6cbeb72  oic; if ble_att_mtu() returns 0, assume that connection is gone.
    omit 57f6ec7  oic; add logging routines printing strings/hex data from mbuf.
    omit fa07678  BLE Host - Fix double mbuf free.
    omit fce5269  MYNEWT-536: mbuf exhaustion can cause supervision timeout
    omit df59b48  oic; client response handler now gets similar argument to server request handler. Instead of void * to payload, it gets coap_packet_t.
    omit be3faa2  nimble/sm: Remove not needed stack variables
    omit 1e6d841  nimble/sm: Add support for rejecting pairing with disabled SM
    omit 969f0d8  nimble/pts: Update PTS-GAP test results
    omit 7754502  nimble/pts: Update PTS-GATT test results
    omit 7ef3875  nimble/att: Support "Insufficient Encryption Key Size" error code
    omit b4f987f  nimble/att: Support "Insufficient Encryption" error code
    omit 592bf0d  nimble/att: Add mimimum encryption key size for attribute
    omit 8dea2d1  nimble/sm: Store encryption key size in link security state
    omit 26f4fed  nimble/sm: Persist encryption key size
    omit 6545631  This closes #154.
    omit 8b740ee  This closes #148.
    omit fe49057  nimble: fixed nested long writes
    omit a237fba  nimble: added missing descriptors
    omit ab9e77f  nimble: passed some PTS tests
    omit cb5c570  nimble: fix send cancel pending writes on error
    omit a4e4fd4  nimble: fix execute write flags
    omit b3a9564  BLE uart - fix host-only build error.
    omit a972abe  Add BLE_HOST syscfg setting.
    omit ff4e7ec  nimble: add offset option to write long in client
    omit 1a89637  nimble: add offset option to read long in client
    omit 84cacdc  This closes #146.
    omit a5cb7bb  This closes #143.
    omit 9f6e352  This closes #142.
    omit 4c78262  nimble: Add PTS tests results and TPG files
    omit 169a677  nimble/att: Refactor Find By Type Value handling
    omit 662fef9  nimble/att: Rename ble_att_svr_is_valid_group_type
    omit 421758b  nimble/test: Fix ble_att_svr_test_find_type_value test cases
    omit 90e5388  nimble: fix not handling invalid offset read
    omit 88bd606  nimble: fix sending uuid16 when possible in disc_svc_uuid
    omit 16b9df7  Revert "MYNEWT-512 Replace gen. sysinit with linker sect"
    omit 32d061e  MYNEWT-346 BLE Host - Remove extraneous dep.
    omit 330958f  MYNEWT-512 Replace gen. sysinit with linker sect
    omit c37b003  oic; make oc_endpoint structure size dependent on type of transport. For IPv6 it needs a full v6 address/port, while ble only needs 2 bytes for connection handle.
    omit 7bf2f96  oic; fix endpoint logging at RX, used wrong pointer as data.
    omit b0283cc  oic; reverse the order in which fragments are created from original packet. This allows os_mbuf_adj() of original packet to free unused mbufs, when possible.
    omit b52605d  oic; reduce the default number of registrable resources.
    omit 71997e8  oic; ble, change reassembly take place in write callback from host. Only allocate oc_endpoint mbuf for the first fragment.
    omit f3322f4  oic; we don't actually keep track of mac address in oc_endpoint. So remove it.
    omit 7f8ac57  oic; fix debug log string in oc_buffer_tx().
    omit 1e77ff4  oic; server was making a copy of payload mbuf, instead of directly chaining it to response header.
    omit fa793db  oic; free incoming mbuf right after copying the data to oc_message, as opposed to after calling coap_receive().
    omit f939423  oic; reduce the number of oc_message_t's to 1.
    omit 2a9556a  oic; construct writes directly to mbuf.
    omit b76a109  oic; don't automatically decode incoming payload to a tree of allocated objects. Make handlers do the decoding, allowing them to use stack-only construct.
    omit ada4c9f  oic; fix build warning when neither IP and BLE transport options were compiled in.
    omit 84a2b69  BLE Host - Use generic fragmentation function.
    omit 5818d1d  BLE ctlr - Fix maybe-uninitialized warning.
    omit b5647f5  nimble/gap: Fix for missing ble_hs_unlock
    omit d976ebb  MYNEWT-508: The ocf at the host needs to be a uint16_t.
    omit 3fb9d09  MYNEWT-508: Add multiple advertising instances
    omit dbeab11  oic; surround OIC client only function prototypes with an appropriate #ifdef.
    omit 42a0701  oic; remove oc_signal api.
    omit 22c2409  gattc: Fix unnecessary status overwrite in read by type err
    omit c0d9f23  oic; make oc_endpoint structure size dependent on type of transport. For IPv6 it needs a full v6 address/port, while ble only needs 2 bytes for connection handle.
    omit 717fec8  oic; fix endpoint logging at RX, used wrong pointer as data.
    omit f548b17  oic; reverse the order in which fragments are created from original packet. This allows os_mbuf_adj() of original packet to free unused mbufs, when possible.
    omit 7516ed6  oic; reduce the default number of registrable resources.
    omit 63f4283  oic; ble, change reassembly take place in write callback from host. Only allocate oc_endpoint mbuf for the first fragment.
    omit 75a86bf  oic; we don't actually keep track of mac address in oc_endpoint. So remove it.
    omit 1df2c7d  oic; fix debug log string in oc_buffer_tx().
    omit c0f1080  oic; server was making a copy of payload mbuf, instead of directly chaining it to response header.
    omit 7d5ff7b  oic; free incoming mbuf right after copying the data to oc_message, as opposed to after calling coap_receive().
    omit 354e02b  oic; reduce the number of oc_message_t's to 1.
    omit 0532dfc  oic; construct writes directly to mbuf.
    omit c9e1a9a  oic; don't automatically decode incoming payload to a tree of allocated objects. Make handlers do the decoding, allowing them to use stack-only construct.
    omit 407cd93  oic; fix build warning when neither IP and BLE transport options were compiled in.
    omit b759263  BLE Host - Use generic fragmentation function.
    omit 46139c9  BLE ctlr - Fix maybe-uninitialized warning.
    omit 8aadef6  nimble/gap: Fix for missing ble_hs_unlock
    omit 1becaf7  MYNEWT-508: The ocf at the host needs to be a uint16_t.
    omit 5795a2e  MYNEWT-508: Add multiple advertising instances
    omit cbbbc0b  This closes #132.
    omit 0429333  oic; surround OIC client only function prototypes with an appropriate #ifdef.
    omit 17f0386  oic; remove oc_signal api.
    omit b464742  This closes #130. Merge remote-tracking branch 'andrzej-kaczmarek/nimble-fixing' into develop
    omit 5e620d4  This closes #136.
    omit 0c07b95  nimble/sm: Fix obvious array size mismatch
    omit 3ef886b  nimble/sm: Use proper key size for encryption
    omit 3399ccb  nimble/sm: Improve pairing req/rsp validation
    omit 25ed57e  nimble/sm: Fix AuthReq/KeyDist validation in pairing req/rsp
    omit 62807ce  nimble/test: Remove invalid SM test cases
    omit f018075  nimble/test: Fix expected error for key size lower than minimum
    omit 9c4a43e  nimble/test: Fix expected value in ble_sm_test_util_us_fail_inval
    omit a9bc241  oic; add syscfg variable to turn off logging completely.
    omit 34ef240  MYNEWT-506 Replace src-rel dirs with proj-rel dirs
    omit 4064a9a  oic; helper routines for logging.
    omit bd32b93  oic; use OC_LOG_XXX macros for logging.
    omit 137ec6c  MYNEWT-346 BLE Host - Add BLE_SM_LEGACY setting.
    omit c5dc841  BLE Host - Work around gcc bug
    omit fa1340a  MYNEWT-349 BLE Host - API for gatt-service-changed
    omit f43c9c7  oic; move the check for use of tcp-style headers to take place inside coap_serialize_message().
    omit b32af31  oic; serialize outgoing coap header/options directly to a mbuf.
    omit 63863ef  oic; engine.c - bring coding style closer to mynewt.
    omit 9024d47  oic; oc_buffer - remove unnecessary temp variable.
    omit 36e3ab6  oic; oc_buffer.h contains private API, move it under src.
    omit 7544182  oic; copy outgoing oc_message to os_mbuf at coap_send_message().
    omit 24f410c  oic; coap - take reference on outgoing message BEFORE sending it, not after.
    omit 3a02975  MYNEWT-383 BLE Host - Allow programmatic unbonding
    omit 8d77e40  MYNEWT-383 - BLE Host - use ram store in unittests
    omit c136d6a  MYNEWT-383 BLE Host - Deletion from ram store.
    omit 1978085  oic; coap - remove length check on incoming data vs header info w/TCP hdrs. This must happen at transport level at reassembly time already.
    omit 4d35562  oic; move OIC platform init/device registration out of the omgr, and to app.
    omit 84f5a2d  oic; coap - allocated transaction can be freed without adding it to list of transactions.
    omit 187da3f  oic; ble, remove whitespaces from comment in OIC characteristic UUIDs.
    omit 7d5adef  oic; %p printf format specifier not supported in baselibc. Use 0x%x.
    omit 47947a5  oic; encoded core resources were sent one byte too short.
    omit 3ac7e95  Remove redundant includes
    omit 6c0af7d  oic; add back accidentally dropped include of oc_log.h.
    omit 8d8edcc  oic ble; switch to use same UUID as iotivity. Add reassembly/fragmentation of data to BLE MTU size chunks. Add initial statistics.
    omit 7365d49  oic; coap - log at debug level incoming request/response data.
    omit cb6060c  oic; coap - fixes to TCP header parsing. Add initial statistics.
    omit c3a5c1b  oic; advertise host OS as mynewt in platform info.
    omit 5d1f63e  oic; add debug log macro.
    omit 1a6a141  oic; location of oc_log.h was moved.
    omit 9cfc4be  oic; newconn/delconn calls to oic ble. These should be called when new connection is established.
    omit d1a7d81  oic; add parsing/encoding TCP like CoAP. Use this with BLE.
    omit d90174f  gattc: Fix unnecessary status overwrite in read by type err
    omit b388b73  BLE Host - Don't send l2cap error to unconn. peer.
    omit 81ebe4d  MYNEWT-487 BLE Host - Execute GATT proc cb on tmo.
    omit 4695374  oic; shorten variable names.
    omit d120b87  oic coap; in preparation of moving to os_mbuf.
    omit 18e0561  oic; use coap_udp_hdr for decoding coap header fields.
    omit 201f98d  oic; fix typo in log message.
    omit ef85625  oic; change concurrent request count back to 2. This was causing issues when acting as oic client.
    omit 20e8c25  oic; in preparation of moving to use os_mbuf.
    omit af69fdf  MYNEWT-324 BLE Host - Don't use req buf for wr.rsp
    omit 2dade08  BLE Host - rename BLE_ATT_MAX_PREP_ENTRIES
    omit b4bd7b4  MYNEWT-353 BLE Host - Timeout for ATT queued write
    omit c85efeb  BLE Host - Combine PREP_WRITE, EXEC_WRITE syscfg
    omit a1e339d  BLE Host - Fix SM unit test.
    omit 95944d4  MYNEWT-341 BLE Host - Handle missing ACL fragments
    omit 2842eaf  MYNEWT-491 Prevent repeated package initialization
    omit ed1b2df  This closes #129.
    omit 4f78b4c  Merge branch 'coap' into develop
    omit 3c74cb6  oic; change to use os_mbufs from oc_buffer_tx to transport.
    omit ad9cdf6  mn_socket; add comment saying interface index cannot be 0.
    omit 30eb134  oic; change to use os_mbuf from transport to oc_recv_message(). Call oc_recv_message() directly, instead of going through oc_network_events.
    omit 5432ca4  oic; in preparation to moving to os_mbufs.
    omit 88d0f77  oic; allow only one request in at a time.
    omit 3178808  oic; remove oc_list, oc_mmem.
    omit 0a60d8d  oic; use malloc() instead of os_mmem.
    omit 5c04710  oic; remove most of the oc_list users.
    omit 1edd01d  oic coap; don't use void * where coap_packet_t * should be used.
    omit 53888dd  oic/coap; don't use void * where coap_packet_t * should be used.
    omit 6769e0b  oic; change to use os_mbufs from oc_buffer_tx to transport.
    omit e87b8d7  mn_socket; add comment saying interface index cannot be 0.
    omit a0de569  oic; change to use os_mbuf from transport to oc_recv_message(). Call oc_recv_message() directly, instead of going through oc_network_events.
    omit bb42a2e  oic; in preparation to moving to os_mbufs.
    omit 8d4908c  nimble/l2cap: Fix for L2CAP connection parameters update
    omit 5eaf432  nimble/gap: Add check for connection parameters
    omit 7636b97  nimble/l2cap: Minor flow refactor of ble_l2cap_sig_update_req_rx
    omit 369e2e2  nimble/l2cap: Fix L2CAP command not understood handling
    omit 9443a33  nimble/l2cap: Fix for handling unknown L2CAP signaling commands
    omit e2e0b15  nimble/l2cap: Fix for handling unknown response
    omit af9c037  nimble/l2cap: Fix for l2cap rx handles
    omit 3584e4a  MYNEWT-324 BLE Host - Reuse rxbuf for MTU rsp.
    omit ebd0b41  MYNEWT-324 BLE Host - Reuse inbuf for error rsp.
    omit d25949e  BLE Host - On rx indicate, allocate rsp first.
    omit 1b44e28  BLE Host - Differentiate prep-q-full / insuf. res.
    omit d1842e1  MYNEWT-324 BLE Host - Reuse rxbuf for write rsp..
    omit 8b0d626  Merge branch '1_0_0_b1_dev' into develop
    omit 1b661d0  BLE Host - Fix warning reported by gcc 6.
    omit be6cf9f  mn_socket - Allow for itfs with null address flds.
    omit 61a707d  Merge branch '1_0_0_b1_dev' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
    omit 6d412e4  oic; no need for oc_memb anymore.
    omit addcd45  oic; use os_mempool for oc_client_cbs, and oc_app_resources.
    omit 86b2e84  oic; use os_mempool for oc_buffer.
    omit c2b1c7e  oic; fix use-after-free when using IP together with other transports. Message was getting freed by IP before it is delivered to others.
    omit ca34e52  oic; use os_mempool for coap observers. Fix use-after-free error.
    omit 52484f5  oic; change coap_separate to use os_mempools.
    omit 1466e32  oic; change oc_rep_objects pool to be os_mempool.
    omit 7523444  oic; use os_mempools for coap transactions.
    omit cb313c4  oic coap; using wrong local variable to set retransmit timer.
    omit 5d865c6  oic; use %zu when printing size_t.
    omit 9f0c9e0  oic; remove oc_process.h/oc_events.h
    omit e28c655  oic; remove unnecessary call to oc_main_loop_signal().
    omit 7d13d09  oic; redo oc_network_ev_process.
    omit 8650e10  oic; use os_events for trigger processing incoming/outgoing data.
    omit cc3bb95  oic; use os_events to trigger oc_network_events handling.
    omit 3a29bf1  oic; remove coap_engine pseudo-process.
    omit 9607eff  oic; using os_callout() now; remove oc_etimer.
    omit 37f9107  oic coap; use os_callout as timer instead of oc_etimer.
    omit 020a6cc  oic; no need for timed_events pseudo-task anymore.
    omit aad0758  oic; remove add_periodic_observer, use os_callout instead.
    omit 5de956c  oic; remove oc_set_delayed_cb(), use os_callout instead.
    omit 6e2c1d9  oic; use os_events for controlling when to run oc_etimer.
    omit cf19354  MYNEWT-324 BLE Host - Reuse inbuf for error rsp.
    omit 8bdb5ef  BLE Host - ble_att_clt_tx_read_type() return bad.
    omit fc50aeb  MYNEWT-339 BLE host - Retry GATT on mbuf exhaust.
    omit 7c6ff0a  MYNEWT-339 BLE host - Retry GATT on mbuf exhaust.
    omit 2454525  BLE Host - ble_att_clt_tx_read_type() return bad.
    omit 74a7733  BLE Host - Don't allow ATT tx to unconnected peer
    omit 49b0eb5  BLE Host - Increase max ATT MTU to 527 (was: 240).
    omit 6892cac  BLE Host - Don't send overly-large ACL data pkts.
    omit 135c70b  BLE Host - whitespace fix.
    omit 6df4cfb  BLE Host - Don't allow ATT tx to unconnected peer
    omit 9a18f04  BLE Host - Allow tx of chained mbufs.
    omit 01d9589  BLE Host - Remove debug console_printf.
    omit cbe4340  BLE Host - Add test for interrupted indicate.
    omit 372076b  BLE Host - Unit tests for GATT timeouts.
    omit c2d22ac  BLE Host - Eliminate spurious time expirations.
    omit b53e0bf  BLE Host - L2CAP intrnl API chg: handle, not ptrs.
    omit 5752f26  BLE Host - Compilation error for SC without DEBUG.
    omit 4ab69e1  BLE Host - Remove unused sc bit from persisted sec
    omit 1fce827  MYNEWT-486: Further fixes for ACL data buffer size/count.
    omit 0e24c71  BLE Host - Compilation error for SC without DEBUG.
    omit 1a82735  MYNEWT-486: Controller cannot accept ACL data packets > 255 bytes.
    omit ec628ef  MYNEWT-336: Allow for smaller mbufs in nimble.
    omit fc56bee  MYNEWT-336: Allow for smaller mbufs in nimble.
    omit d180be5  ble uart transport - Add mising init function.
    omit 3bf7bd3  ble_store_ram - Set the persist callbacks on init.
    omit 9c9e962  Merge remote-tracking branch 'apache/master' into develop
    omit 33de2b5  The ACL data packet length being reported by the LE read buffer size command included the HCI ACL data packet header. Well, there still needs more work to be done here to reconcile the constants being used, but the current code could have caused issues. We now report a ACL data packet length of 256 bytes.
    omit 0266338  License audit
    omit 26f7538  BLE TPS service - Use latest host API.
    omit 57204b6  BLE TPS service - use sysinit.
    omit 7fcdcfe  This closes #84.
    omit aa3ffa6  BLE ANS service - Use sysinit.
    omit f2d6959  This closes #85.
    omit abd4b08  BLE IAS svc - Update to use sysinit.
    omit f4b2ae8  This closes #87.
    omit 9948d0e  BLE host - Fix incorrect expiry issue
    omit 0377e22  wifi; bring back the task to get this to build again.
    omit c980d50  inet_def_service; previous commit was incomplete. Now actually fix the build.
    omit 2fb1c5c  inet_def_service; fix build
    omit fccff4b  No jira ticket: It seems that with some of the syscfg changes that these values got reverted or modified unintentionally. The number and size of the events has now been corrected.
    omit 5b5694b  Additional fixes required for evq callback change.
    omit 6367e3c  oic; remove unused file
    omit c5eddbf  oic - Fix some build errors on linux.
    omit 076d1cb  inet_def_service - Remove dedicated task.
    omit f8748a3  obsolete defs
    omit dedfba8  oic - Remove dedicated task
    omit 58ca288  mn_socket - add missing include.
    omit 6d0f4e6  mn_socket - Fix strict aliasing warning.
    omit 56d2903  Wifi: Event codes -> callbacks
    omit 1c19192  BLE Controller: Event codes -> callbacks
    omit 0360d7d  OIC: Event codes -> callbacks
    omit 06dd751  BLE Host: Event codes -> callbacks
    omit 19b1b0c  Replace os_event types with callback functions.
    omit 6f69fd5  oic; start oic task if one of the transports initializes ok.
    omit cc36203  oic; make resource allocations configurable with syscfg.
    omit 6f1a480  native_sockets; move to a separate package, from underneath mn_socket. This so that it can have init function automatically called from sysinit.
    omit 79ac7c3  oic; increase max response size.
    omit 4cd5cf5  oic/oicmgr; oicmgr was not getting the full undecoded CBOR payload to pass to it's handlers. Make that available.
    omit e580acb  oic - Remove high-level operations from lib.
    omit 6a4e425  basic doxygen support in OS (modules) and update Apache License header.
    omit 3416d0d  No jira ticket: fix old (erroneous) comment.
    omit 3a9a64a  wifi_mgmt; location of shell has moved.
    omit 2f6a008  nimble uart transport; fix broken build.
    omit 03c21a2  sample apps - initialize nimble host log.
    omit 4c141d2  MYNEWT-444 - Configure log level per-module
    omit e68937f  Fix some minor unit test merge issues.
    omit afa8267  Unit test infrastructure
    omit 20a425a  refactor oicmgr to use cbor encoding without encapsulation
    omit 424dd2f  Remove "@apache-mynewt-core/" from pkg.yml files.
    omit 16ed323  final re-org of directories -- removing the lib/ directory.
    omit 667b91d  MYNEWT-431: Move cputime from HAL into os.
    omit 33ce1d8  finish refactoring tinycbor to allow mbuf decoding or flat buf decoding
    omit a2199fc  refactor the encoder for tinycbor to use mbufs, flat bufs, or just count size (to replace existing functionality). This had the detrimental affect of making the checked container close difficult so that is left our for now.
    omit 7965a9c  oic; updated package location. Add license blurb.
    omit a8af582  move libs/iotivity -> net/oic.
    omit bff2d2a  Require SHELL_TASK for CLI functionality.
    omit 86f4843  Add #ifdef __cplusplus guards
    omit 0adb14b  Move syscfg from pkg.yml to syscfg.yml.
    omit 7a2fc19  Syscfg / sysinit update
    omit 409ee95  MYNEWT-397: Nimble controller assert if advertising started/stopped frequently
    omit edc0bc3  BLE Host - Trust conn-complete-evt role field
    omit 0cda2d3  correct a few more pkg names
    omit be6f859  net/ip/lwip_base; LwIP.
    omit 0f968d0  net/ip; mynewt adaptation layer for LwIP.
    omit 7b038bd  mn_socket; add error code network unreachable.
    omit 275fd41  MYNEWT-397: Nimble controller assert if advertising started/stopped frequently
    omit 0ddcb78  newt test all compiling again.
    omit 528b233  directory re-org
    omit 080d714  directory re-org, part 1
    omit efa73de  move nimble drivers into standard drivers
    omit 4395754  BLE Host - Move SC-specific functions into SC file
    omit 505d0a8  Conclude merge from sterly_refactor.
    omit 9d1c3b0  Merge branch 'develop' into sterly_refactor
    omit c6a838e  update ias package structure into host/services
    omit 76a6002  MYNEWT-388: HCI uart should not assert if a command, event or ACL buffer not available
    omit 7a81cb1  Add Apache License header. Not sure why this was omitted.
    omit 79147b9  MYNEWT-388: HCI uart should not assert if a command, event or ACL buffer not available
    omit fa573cd  Add Apache License header. Not sure why this was omitted.
    omit dfea314  MYNEWT-387: Separate ACL data buffer pool for controller only
    omit 19d5a85  MYNEWT-387: Separate ACL buffer pool for controller only
    omit 4e87c3c  MYNEWT-387: Separate ACL data buffer pool for controller only
    omit 8f37a8e  MYNEWT-387: Separate ACL buffer pool for controller only
    omit c5f13d7  syscfg / sysinit
    omit b2fd49e  MYNEWT-386: Controller should always send connection complete event
    omit 4e92cd8  MYNEWT-386: Controller should always send connection complete event
    omit 44aa631  MYNEWT-382: Controller number of completed packets event changes
    omit 810b8f1  MYNEWT-382: Controller number of completed packets event changes
    omit 37b3fa1  Logging format and initialization
    omit 8c59428  MYNEWT-385: Controller not sending connection update complete event
    omit 4d03085  MYNEWT-385: Controller not sending connection update complete event
    omit 08a9da8  MYNEWT-347 BLE Host - GAP update; use L2CAP proc.
    omit 50169b1  MYNEWT-347 BLE Host - GAP update; use L2CAP proc.
    omit 9785515  MYNEWT-374 Code does not build if BLE_LLC_FEAT_LL_PRIVACY=0
    omit 375abbd  MYNEWT-374 Code does not build if BLE_LLC_FEAT_LL_PRIVACY=0
    omit b6fedaf  Use SDK include paths for nRF SDK headers.
    omit 7889f23  MYNEWT-317
    omit 1b85cf9  Fix warnings reported by clang.
    omit 86e9144  MYNEWT-354
    omit 949b849  MYNEWT-83: use a fixed buffer for reception.
    omit 44f7b75  BLE Host - Only log ATT cmd after tx succeeds.
    omit bb31142  BLE Host - Report updated MTU via GAP event cb.
    omit 5ae289b  BLE Host - Don't allow >1 tx MTU request per conn.
    omit d135be6  BLE Host - Update conns' pref. MTU
    omit b02fe07  BLE Host - Function to retrieve preferred ATT MTU.
    omit 6ab5141  MYNEWT-358: nrf51 cannot connect to directed advertisers w/privacy
    omit b7940e2  MYNEWT_83: Use fixed buffer for reception.
    omit f7dde8b  MYNEWT-83: use fixed buffer for reception. Get native arch building
    omit 3402264  MYNEWT-83: Use a fixed buffer for reception for controller stack
    omit d6996c7  BLE Host - sm,sc - ask for pk after rx pubkey
    omit ce8cf92  BLE - Fix out-of-date comment.
    omit a3eb116  BLE Ctlr - max evt sz too low for rd-lcl-sup-ftrs
    omit 7fedabf  BLE Host - Send correct error code for unsup. n/i.
    omit 950c172  BLE Host - Allow MTU to be checked for unconn peer
    omit 9798451  This closes #88. Merge remote-tracking branch 'bgiori/refactor-services' into develop
    omit 1e0f0f4  BLE Host - Check conn state once before proc.
    omit e78137b  BLE RAM trans: evt buf sz 260-->45; ct 3-->14
    omit ead8805  BLE Host - Fix crash when #-evt-bufs > #-os-events
    omit 7c441a9  BLE Host - Add missing break statement.
    omit 01b22d4  fixup adv
    omit e786cc6  BLE Host - Don't reject max-size adv field.
    omit 87251c3  BLE Host - Set state before tx HCI enable.
    omit 7b4b54f  BLE Host - Cleanup att_svr rx prep / exec write.
    omit e105061  BLE Host - reuse exec-write-req mbuf for rsp.
    omit 529a8da  ble - Transports return BLE_ERR_ return codes.
    omit 4d9be7e  BLE Host - Fix unit test SIGSEGV.
    omit 26ef3f0  BLE Host - prep/exec tests: better mbuf leak check
    omit ffedd69  BLE Host - gap test needs to hb when checking tmo.
    omit 2d6d010  BLE Host - validate write upon rx of prep write
    omit abb387f  BLE Host - Free mbufs on exec-write-failure
    omit 2349186  BLE Host - Send exec-write when prep-writes cmplt.
    omit 7191864  BLE Host - Free mbufs on exec-write-failure
    omit bb34e7c  BLE Host - doxy comments for ble_gatts_count_cfg()
    omit 9246b5b  BLE Host - Don't assume leading space in l2cap tx.
    omit 5eb06de  BLE Host - Clean up ACL tx fragmentation.
    omit b6e392a  BLE Host - Free mbuf on os_mqueue_put() failure.
    omit ab47ab5  BLE Host - Use os_mbuf_append_from, not handrolled
    omit 5dc0d97  BLE Host - distinguish already/busy in conn/disc.
    omit ffc4ba1  BLE UART HCI - Remove debug log.
    omit 557f923  NimBLE - high / low prio event buffers.
    omit 4b00b79  BLE Host - Use os_eventq_poll()
    omit 4999730  BLE Host - Rename HCI identifiers and files.
    omit 30ac80b  BLE Host - Reset on hardware error.
    omit 03d5c8c  BLE Host - Use HCI transport API
    omit 5506f0d  BLE Host - Read BD_ADDR on startup.
    omit 288682a  BLE Host - Cleanup att_svr rx prep / exec write.
    omit 5c6f067  BLE Host - reuse exec-write-req mbuf for rsp.
    omit cbe591a  ble - Transports return BLE_ERR_ return codes.
    omit 05b031b  BLE Host - Fix unit test SIGSEGV.
    omit f825f7a  BLE Host - prep/exec tests: better mbuf leak check
    omit 8b6103e  BLE Host - gap test needs to hb when checking tmo.
    omit 5b75d95  BLE Host - validate write upon rx of prep write
    omit 9b9ca54  BLE Host - Free mbufs on exec-write-failure
    omit d00da04  BLE Host - Send exec-write when prep-writes cmplt.
    omit 9542710  BLE Host - Free mbufs on exec-write-failure
    omit 5eb2689  BLE Host - doxy comments for ble_gatts_count_cfg()
    omit 2ef3af3  BLE Host - Don't assume leading space in l2cap tx.
    omit 400f54c  BLE Host - Clean up ACL tx fragmentation.
    omit bac0176  BLE Host - Free mbuf on os_mqueue_put() failure.
    omit fae9471  BLE Host - Use os_mbuf_append_from, not handrolled
    omit 8ef7a4c  BLE Host - distinguish already/busy in conn/disc.
    omit 105c078  BLE UART HCI - Remove debug log.
    omit 06dc0fe  NimBLE - high / low prio event buffers.
    omit e950fc4  BLE Host - Use os_eventq_poll()
    omit e83f82e  BLE Host - Rename HCI identifiers and files.
    omit 69507d1  BLE Host - Reset on hardware error.
    omit 863860d  BLE Host - Use HCI transport API
    omit e992630  BLE Host - Read BD_ADDR on startup.
    omit 7b5cc12  BLE lls - Move variable defn. to top of fn.
    omit db9e1ec  renamed on_gap_event to on_gap_disconnect to better describe functionality
    omit 8b0e729  added doxygen style comments
    omit 2ec4022  forgot to change header file
    omit 68de833  coding standard and on_gap_event changes.
    omit b6e8ba9  updated lls location to host and new api
    omit f7c9064  Update Lost to Loss in comments.
    omit 9d02420  Added the profiles dir. Added Link Lost Service
    omit 042f029  moved tps to services dir.
    omit 62de02e  update include path
    omit 2300b13  moved location to services from profiles
    omit 0d5f7ed  Refactored file structure for premade services.
    omit 453886e  Variables declared at top of function scope
    omit f3f5ade  BLE lls - Move variable defn. to top of fn.
    omit 17b457b   variables declared at top of function scope
    omit f2a0edd  This closes #83. Merge remote-tracking branch 'bgiori/develop' into develop
    omit afe5f33  Immediate Alert Service implemented.
    omit 66d5257  BLE Host - Wait for conn-cmplt-ev for GAP conn tmo
    omit d3e4303  Fix memory overwrite in random number generation code. This overwrite could cause privacy to fail
    omit f7c226d  MYNEWT-342: Fix invalid access address generation
    omit e1b3ffd  BLE ctlr - Use updated host rx data API.
    omit d2f3145  BLE Host - Remove double indirection from tx API.
    omit d59794a  BLE Host - Wait for conn-cmplt-ev for GAP conn tmo
    omit 3f9b831  updated comments
    omit cb96c5f  Alert Notification Service implemented.
    omit c0e030a  renamed on_gap_event to on_gap_disconnect to better describe functionality
    omit 8543c7c  Fix memory overwrite in random number generation code. This overwrite could cause privacy to fail
    omit 8b196c5  MYNEWT-342: Fix invalid access address generation
    omit e00789e  coding style changes
    omit fbf36a1  added doxygen style comments
    omit c36ff29  forgot to change header file
    omit b462d80  coding standard and on_gap_event changes.
    omit fd90c61  fixed compilation errors and runs. Untested. Unfinished.
    omit 6af94a3  unfinished changes
    omit 19bb3c6  updated comments and error return value
    omit fddb82f  Tx Power Service implementation
    omit cea67b0  BLE ctlr - Use updated host rx data API.
    omit 14a0458  BLE Host - Remove double indirection from tx API.
    omit ea50634  BLEuart app changes and host fix
    omit db80898  added tx power service to profiles
    omit 3e37aae  updated lls location to host and new api
    omit eccdfd8  Update Lost to Loss in comments.
    omit 00b7b52  Added the profiles dir. Added Link Lost Service
    omit b41269e  BLEuart app changes and host fix
    omit 7b379fc  BLE Host - Oops, remove debug code.
    omit 810850a  BLE Host - Update unit tests for new GATTs API.
    omit 25223b8  BLE Host - Don't require 2-phase GATT server init.
    omit 82f1313  BLE Host - Reduce dflt # of hci bufs.
    omit c88ef3e  BLE Host - Update unit tests to use new dflt cfg.
    omit ecb94c7  BLE Host - Fix null pointer dereference.
    omit b4a4e0a  BLE Host - Fix default ble_hs configuration.
    omit 54ccf4e  BLE Host - Small doxygen update.
    omit 49877aa  BLE Host - Use mbufs instead of flat bufs.
    omit caffb14  BLE Host - unit test for rx GATT long read.
    omit c392eab  MYNEWT-266 Newtmgr over BLE
    omit c2a78ab  BLE Host - Only enable GATT procs for centrals.
    omit 24d5723  BLE Host - Ensure proper ordering of notify GAP ev
    omit 0b28088  BLE Host - GAP event when peer subscribes to CCCD.
    omit ee5e080  BLE Host - Don't include conn-desc in GAP event.
    omit b37eb49  BLE Host - Send notify/indicate in parent task.
    omit 35f697b  BLE Host - Call GAP cb for notify tx events.
    omit 4455f1e  BLE Host - Package for mandatory svcs (GAP & GATT)
    omit 847a0af  BLE Host - RAM persistence layer package.
    omit d56e3df  BLE Host - GATT procedures handled in wrong order.
    omit 3d7e448  BLE Host - rxed adv: UUIDs directly accessible.
    omit 09f93ce  BLE Host - Move logging into separate file.
    omit 953b855  BLE Host - Move opcode into gatt register ctxt.
    omit c7e2e3e  BLE Host - Move opcode into gatt access ctxt.
    omit 069d4e2  BLE Host - scan: svc data fields had 0 length.
    omit c10a2e3  MYNEWT-350 BLE Host - Fn to calc GATT server rsrcs
    omit 18e0f3b  BLE Host - Fix filter-duplicates in GAP discovery.
    omit 4637a24  BLE Host - Move ATT MTU defines into public hdr.
    omit 747759b  Merge branch 'ble_hs_api' into develop
    omit 243adeb  BLE Host - combine adv enable/disable tx commands.
    omit c5990a5  BLE Host - HCI commands were logged incorrectly.
    omit 1dfa164  Nimble: rename g_hci_cmd_pool --> g_hci_evt_pool
    omit b1bdf48  BLE Host - gattc: dsc refers to chr val handle.
    omit 469f8b0  Nimble: rename g_hci_cmd_pool --> g_hci_evt_pool
    omit 1eb19e8  BLE Host - Add duration param to ble_gap_connect()
    omit df54d2a  BLE Host - Fix spurious maybe-uninitialized warn.
    omit df6aede  BLE Host - Fix for spurious gcc warning.
    omit 8ff0762  BLE Host - Additional doxygen comments.
    omit 5621932  BLE Host - ACL data packet fragmentation.
    omit 2d0f9df  BLE Host - ble_gap_conn_rssi().
    omit d7809db  BLE Host - GAP event callback updates.
    omit 20dd43f  BLE Host - Move ibeacon prototypes to new header.
    omit 555ab4b  BLE Host - Clean up error codes.
    omit 42a003e  BLE Host - BLE_HS_ERR_SM_THEM ->BLE_HS_ERR_SM_PEER
    omit 711dfc1  BLE Host - Clean up error codes.
    omit 946b1ba  BLE Host - Remove obsolete error codes.
    omit 35c854f  BLE Host - Fill in privacy API.
    omit 1d816d2  BLE Host - Add API doxygen comments.
    omit c5d11aa  BLE Host - Clean up private headers.
    omit af34e88  BLE Host - ble_gap_conn_cancel() - rc when !active
    omit 3ae37de  BLE Host - Add missing 'static'
    omit 87ef31a  BLE Host - Allow HCI reason in ble_gap_terminate()
    omit dc50015  BLE Host - ble_gap_[...]_active() functions.
    omit 44f96db  BLE Host - Indicate GATT proc done - BLE_HS_EDONE
    omit 8db5b07  BLE Host - GATT client cb: error arg never null.
    omit 17c2479  BLE Host - Lookup svc,chr,dsc handles by UUID.
    omit af25297  BLE Host - Comments for GATT server structs.
    omit ae0e95c  BLE Host - Const correctness.
    omit 3d19973  BLE Host - Add missing fields to ble_gap_conn_desc
    omit c82e339  BLE Host - ble_gap_conn_ctxt->ble_gap_event_ctxt
    omit 722625f  BLE Host - Always increment GAP stats on failure.
    omit 2a439cb  BLE Host - handle direct advertising report event.
    omit 8f6d885  BLE Host - Don't auto-generate NRPA.
    omit 77215d3  BLE Host - Updated GAP discovery API.
    omit ae2ffd1  BLE Host - Add duration parameter for advertising.
    omit 066651a  BLE Host - GATT registration API changes
    omit 6310397  BLE Host - Update ble_gap_adv_start() API.
    omit 8bc2016  BLE Host - ble_gap_cancel->ble_gap_conn_cancel
    omit b393004  BLE Host - ble_gap_conn_initiate->ble_gap_connect
    omit 8e2c4f3  BLE Host - Update ble_gap_conn_initiate() API.
    omit 10ee4ea  BLE Host - ble_gap_crt_params->ble_gap_conn_params
    omit 7440a2a  BLE Host - Remove 'enhanced' from connect ctxt.
    omit 540f658  BLE Host - Change GATT server callback API.
    omit a8666f1  BLE Host - Allow app to specify adv flags,txpwr
    omit bd1111d  BLE Host - Indicate service in chr reg callback.
    omit 7a0b1bd  BLE Host - Limit to 2 consecutive OS events.
    omit 9682c06  MYNEWT-83: Controller should use a fixed buffer for reception
    omit 2390e42  NimBLE - Host frees HCI cmd buf on ev alloc fail.
    omit 540ed18  BLE Host - unit tests for reading RSSI.
    omit 8217f2e  BLE Host - BLE_HS_EMSGSIZE used incorrectly.
    omit 113d63e  BLE Host - Fix read-rssi bug.
    omit 47522eb  BLE Host - Report HCI error code on terminate.
    omit b2353e2  MYNEWT-332: Return error if initiating and host attempts to enable scanning
    omit ac5fab6  log2smtest.rb: generates BLE SM unit tests.
    omit 2972404  BLE Host - ble_att_svr_read_local()
    omit 9bc789b  BLE Host - Remove extra sec check on ATT write.
    omit aab41f4  BLE Host - Fix build error caused by prev commit.
    omit f5bceea  BLE Host - Clean up runtime settings.
    omit 4422060  BLE Host - Single buffer for HCI cmds and acks.
    omit 9cd38a8  BLE Host - Stop scan timer when disc. proc. cncld.
    omit 4016f14  BLE Host - Remove obsolete ble_hs_thread_safe() fn
    omit 20b0bc7  BLE Host - Return oom errors on no hci buf / no ev.
    omit 3defd5a  BLE Host - Return BLE_HS_ETIMEOUT_HCI on ack tmo.
    omit 6bcd150  BLE Host - Ability to cancel discovery operation.
    omit 72498f7  BLE Host - Handle overflow in large scan duration.
    omit dfd0bc8  BLE Host - Fix broken scan timeout.
    omit dccd1ff  BLE Host - Clean up host privacy.
    omit 7ab2d77  BLE Host - Fix bug; lgcy pairing iocap=4.
    omit c546756  BLE Host - More SM unit tests.
    omit ab69bee  BLE Host - Rename start_rand to master_id_rand.
    omit f31b3dc  BLE Host - Deal with va_args bug for master_id log
    omit 01c6b47  BLE Host - Consider bonding flag in rxed sec req.
    omit c77e935  BLE Host - Don't restore bonding on enc. fail.
    omit 739b144  BLE Host - SM: remove obsolete ediv,rand field
    omit 0613baf  BLE Host - Fix unit tests with new startup seq.
    omit 259ed6b  BLE Host - Fix build when SM disabled
    omit 01f5753  Turn LE ping on by default
    omit a9e4c4c  Add LE ping and Authenticated Payload Timeout event
    omit 119ecf9  BLE Host - Clean up endianness confusion.
    omit e85e1b0  BLE Host - unit tests for combined priv/sc.
    omit 79cdec5  BLE Host - Include our_id_addr/type in conn desc.
    omit 36c213d  bletiny - Separate pairing from encryption.
    omit 6ee3a7c  BLE Host - unit tests: restore via enc in sc tests
    omit eabc6d3  BLE Host - Search DB when initiating security.
    omit b2a1da9  BLE Host - More SM SC unit tests.
    omit 8749e4c  BLE Host - Rename mst/slv sec -> peer/our
    omit abdc8a7  BLE Host - Persist our IRK.
    omit 0f52fb0  BLE Host - SM SC unit tests.
    omit f4c2a69  BLE Host - ble_hs_addrs() function.
    omit 9a836a4  BLE Host - Add write functions for key exch msgs.
    omit 87d0348  BLE Host - SM; remove obsolete KEY_EXCH flag.
    omit 37b61ea  BLE Host - Send correct SM err on confirm mismatch.
    omit 1d294d8  BLE Host - Fix mistakes in IO capabilities tables.
    omit 0a1a207  BLE Host - Persist keys if both sides want bonding
    omit 0a31dfb  BLE Host - Log addresses in big endian.
    omit 4895de4  BLE Host - Fix compiler errors!
    omit 94ae615  BLE Host - Clear queue on gatt-reliable-write fail
    omit 1c94ca4  BLE Host - Clear queue on gatt-long-write failure.
    omit f1ce188  BLE Host - Don't kill SM proc when bad io injected
    omit 9ee505f  BLE Host - Don't print status for no-op event.
    omit ce40817  BLE Host - Nack unexpected LTK reqs from ctlr.
    omit d6ec980  BLE Host - Rename sec_state.enc_enabled->encrypted
    omit 5184c3a  BLE Host - always honor ctlr encryption events.
    omit 7362df5  BLE Host - SM SC: Log public / private keys.
    omit 8fdabb0  BLE Host - Do key exchange if only one side txes.
    omit a49a4d9  BLE Host - initiator tx key exch if no keys rx.
    omit 1d11f30  BLE Host - Never persist our own IRK in keystore.
    omit 01c23b3  BLE Host - Reject SMP opcode 15.
    omit 5fb578e  Fix resolving INITA in directed advertisement when initiating
    omit 643a5bb  BLE Host - SM: Remove accidental assignment.
    omit 785741e  BLE Host - Fix wrong peer addr type in ltk req rx.
    omit 5036192  BLE Host - rename effective->ota; identity->id
    omit fc0a0a2  BLE Host - SM: correctly report encrypted state.
    omit bc3c606  BLE Host - include both addresses in conn desc.
    omit e3f858d  Forget to initialize rxadd properly if directed advertising
    omit f8c6249  BLE Host - Fix privacy+pairing bug.
    omit 0ef9784  BLE Host - Always use effective addrs during SMP.
    omit 3f75e60  BLE Host - persist irk properly when ltk not xchgd
    omit 3d55f4a  BLE Host - Enable data-length-change event by dflt
    omit b9a8c56  BLE Host - set data length HCI command.
    omit 7cb6d3a  BLE Host - Don't change enc status on SMP timeout.
    omit 053f8c4  BLE Host - Fix for encryption key refresh.
    omit aa481e5  BLE Host - enable key rfrsh & param req events.
    omit d4c49d0  Fix directed advertising when using rpa for inita
    omit 593db97  BLE Host - Encryption key refresh.
    omit 335f032  BLE Host - Fix build when security disabled.
    omit df38a5b  BLE Host - Fix for builds with debug log disabled.
    omit 5a4003a  BLE Host - More log cleanup.
    omit e667b8d  Add statistic to count received l2cap bytes at LL
    omit 7c53d89  BLE Host - clean up packet logging.
    omit 7f00a3c  INTERIM - logging
    omit 39dd3ba  BLE Host - Rename SM identifiers for consistency.
    omit 3f64684  BLE Host - Fix inconsistent GATT identifier names.
    omit bf59e52  BLE Host - Add comment about ltk endianness.
    omit 64ec3a2  Fix ble log being turned on by default
    omit b770551  Fix issue when receiving an invalid pdu type
    omit 82b5276  Fix TXADD bit not being set correctly in advertisements for all cases
    omit f0e5b08  BLE controller - enable data length extension.
    omit f0d4c04  Add privacy and extended scanner filter policy to supported features
    omit 6c7f46e  BLE Host - Clean up debug logging.
    omit 620c7fb  BLE Host - Remove stray memcpy.
    omit 58e715c  BLE Host - SC "us" unit tests.
    omit 2dab34c  BLE Host - Log outgoing SM commands.
    omit 20a8316  BLE Host - sc; persist both slv and mst keys.
    omit 8d6a491  BLE Host - Don't build SC unless so configured.
    omit b4feaf0  BLE Host - SC unit test, us as initiator.
    omit 313a6cc  BLE Host - Rearrange SM test code.
    omit 7ac7abb  BLE Host - Persist LTK on SC success.
    omit 94c67b7  BLE Host - Remove extraneous log message
    omit 626a27b  BLE Host - Merge privacy changes.
    omit f7db84b  BLE Host - SC cosmetic changes.
    omit 2a18dce  BLE Host - unit test for SC passkey.
    omit d364e78  BLE Host - Fix SM bug - keydist use pair rsp.
    omit ff37317  BLE Host - Fix SM bug - keydist use pair rsp.
    omit 87efb81  BLE Host - SC numeric comparison.
    omit 6bb3348  BLE Host - Fix log issue.
    omit b56a347  BLE Host - Fix SC unit test.
    omit c25f81a  BLE Host - Initial numeric comparison impl.
    omit ec3165f  BLE Host - Ignore EncKey flag in SC.
    omit ce7706c  BLE Host - Initial numeric comparison work.
    omit 5480068  BLE Host - Fix incorrect IO capabilities table.
    omit 276c59d  BLE Host - Use tinycrypt for SC.
    omit 1572b6d  BLE Host - Rearrange some SM code.
    omit 1794b15  BLE Host - rename sm identifiers for consistency.
    omit 0bbeba1  BLE Host - separate key exchange into functions.
    omit 082a2b6  BLE Host - Don't forget to persist keys.
    omit 4402f7a  BLE Host - Move state repetition go->process_result.
    omit 153656d  BLE Host - Rearrange SM.
    omit a3b5f69  BLE Host - separate lgcy/sc
    omit 58daae9  BLE Host - Initial secure connections support.
    omit 08068e9  BLE Host - Add "black hole" L2CAP CID.
    omit 4eb0868  Add privacy stubs for native ble
    omit 9a0cf85  we also need to keep the peers RPA in case we do a pairing with that address while using resolvable private addresses
    omit 1f4683f  ensure that we do security pairing with the correct address type and address for our device and theirs.
    omit 0976e1e  Fix TXADD bit not being set correctly in advertisements for all cases
    omit 2c64229  Fix RPA usage for scanner when advertising not using RPA
    omit 5ce8fb1  Fix error in RPA timeout value
    omit 80e271a  when we do a key exchange and get an identity address from the peer make sure we use that address and not the device address in the key store
    omit 8c08fd9  first cut at LL privacy
    omit c847e1b  second cut at host privacy
    omit 953eb0b  BLE Host - Separate secure-read from secure-write
    omit 349f644  Initial cut of LL privacy
    omit 219914e  first cut at Host Privacy
    omit 7d762b2  BLE Host - Handle oddly sized read-group-type rsp.
    omit dfb8c01  BLE Host - Add idx to store sec key.
    omit 925cdd8  BLE Host - Unit test for indicate without ack.
    omit 4c66809  BLE Host - rename store ltk to sec.
    omit efb5bbe  BLE Host - Fix some SM mst/slv mismatches.
    omit fd74412  fixup
    omit 4038663  BLE Host - Clarify keys; our/peer -> mst/slv
    omit d12f942  BLE Host - Handle sec-req via db lookup.
    omit 7765143  BLE Host - Add peer address to ltk store.
    omit 0c43c15  BLE Host - Much needed comment re: CCCD persist.
    omit b10d389  bleprph - Use new BLE host persist store.
    omit 75defd9  BLE Host - unit tests for persisted CCCDs.
    omit 8014041  BLE Host - fix bug caused by outdated code.
    omit 42384af  BLE Host - Implement unittest persist store
    omit ad7ff74  BLE Host tests - n/i disabled for unbonded reconn.
    omit caed858  BLE Host - Silence some warnings.
    omit 927f5af  BLE Host - Tx updates upon rebonding.
    omit 45ac06c  BLE Host - Use chr val handle for stores.
    omit de7e339  BLE Host - Corner case: chr updated before ind ack
    omit 3077e70  BLE Host - Combine CCCD store into a single key.
    omit 270c337  BLE Host - Chr updates for unconnected bonded peer
    omit d8dac14  BLE Host - Don't require key in persist write.
    omit 49fa5dc  BLE Host - Persistence mechanism.
    omit e57fb66  BLE Host - comment indicating irk endianness.
    omit da94cd2  Get native ble building.
    omit 1b78742  BLE Host - Move status into GAP ctxt object.
    omit a17386b  BLE Host - Use GAP callback for notifications.
    omit 394ba2c  BLE Host - (dbg) Assert proc entries not in list.
    omit d8a3c70  BLE Host - dbg, ensure sm proc not in list on free
    omit c6c66a9  BLE Host - Fix misordered fields in unit test.
    omit 0474d0e  BLE Host - Fix typo in log message.
    omit 44875b8  BLE Host - Use macro to check NIMBLE_OPT defines.
    omit ecd8967  BLE Host - Enable security manager by default.
    omit ed96486  BLE Host - Separate secure-read from secure-write
    omit 500f657  BLE Host - On disconnect, call non-conn CBs first.
    omit d15c961  BLE Host - disconn: delete conn before app cb.
    omit 8fb344c  BLE Host - Send irk and csrk during key dist.
    omit ac114aa  BLE Host - tx slave security request.
    omit 1891063  BLE Host - rx slave security request.
    omit 6195235  BLE Host - Add bonded flag to SM proc.
    omit 0e3ede4  BLE Host - Rename sec procs to match spec language
    omit 95a3f2a  Fix scheduling bugs
    omit 075b873  BLE Host - Enforce thread safety in unit tests.
    omit 6599da2  BLE Host - Formalize some GATT thread safety reqs.
    omit f7935b9  BLE host - rename struct with appropriate prefix.
    omit fbd53e0  BLE Host - SM passkey unit tests.
    omit 81f1298  BLE Host unit tests - queue of previous data txes.
    omit 1d7f442  BLE Host - callback when SM proc ends due to term.
    omit 8fb6944  BLE Host - Always set timer for GATT client procs.
    omit 6a11405  BLE host - More specific reasons for disconnect.
    omit 75bf503  BLE host - fix check for sufficient conn resources
    omit 7bd92c2  BLE host - Set random address HCI command.
    omit ded1272  BLE host - only include eddystone if specified.
    omit 7bd1d62  BLE Host: Send invalid CID l2cap sig err.
    omit 3b1a02f  BLE host - eddystone advertisements.
    omit 1f18e67  BLE host - unit test for invalid pair-rsp.
    omit c5ee32a  BLE host - remove ble_l2cap_sm_process_status().
    omit 042ab70  BLE host - Ensure pair-req sender is master.
    omit 7efe76f  BLE host - Validate pair req/rsp at rx time.
    omit f2a0767  BLE host - whitespace fix.
    omit 9fab782  BLE host - bonding.
    omit 7ed513f  fix merge conflict
    omit 458bfa0  add more documentation of callouts.  remove os_callout_init() which was unused, have everything be a callout_func.  include os/time.h for eventq_poll()
    omit bb93519  Code now asks PHY maximum data pdu payload size
    omit db3f203  LL feature configuration for controller moved to nimble_opt.h
    omit 4645c26  BLE host - Add BLE_GAP_ prefix to passkey actions.
    omit 1004e2a  BLE host - fix typo in iocap-pairing tables.
    omit 22ef5f7  BLE host: Return correct att err for sec issues.
    omit 95f709b  BLE host - indicate correct peer addr type in pair
    omit 1fbbaa7  BLE host - swap PIN endianness in TK.
    omit 9dbe7aa  BLE Host - use big endian for iBeacon ver fields.
    omit 9718e8f  changes to support passkey requests and MITM
    omit 12e2ce3  Fix l2cap-sm thread-safety.
    omit 2303c19  Do not obtain and hold a mbuf just to transmit advertisements.
    omit 8123a3f  Fix encryption event error
    omit 5e7b19f  MYNEWT-85: Transmit timing fixes MYNEWT-99: Encryption.
    omit 0b28bae  MYNEWT-85: Fix BLE timing for start of connection events. MYNEWT-283: Slave anchor point now set correctly on CRC error.
    omit e49968d  Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
    omit bd66b2b  MYNEWT-99: implement encryption pause procedure
    omit b39c55d  Fix bug in data length extension procedure
    omit 5dde2a2  Modify bletest for new host
    omit c2dc047  MYNEWT-284: fix nrf51 radio state errors
    omit 15e9490  ble host - make priv header filenames consistent.
    omit 7913707  ble host - rename "app task" to "parent task"
    omit 6cfd0f2  ble ll - don't undef feature macros.
    omit d3a9245  ble host - clarify locking restrictions.
    omit 9bd8b26  ble host - fix SM bug; r1/r2 misordered on master.
    omit 814ab6d  ble host - separate blocking HCI from rx
    omit e12c02f  ble host - fix security bug
    omit d12e259  Update example apps to account for blehost changes
    omit 9d551d9  ble host - major changes.
    omit a082cd2  MYNEWT-99: Port encryption to nrf51
    omit 4a8b89b  Modify write suggested default data length command in controller
    omit e47b269  ble host - revert accidental test commit.
    omit bbdaffb  MYNEWT-99: Implement LL encryption procedure.
    omit 8b5dbaf  Minor encryption/decrpytion host changes
    omit 5210d79  Add remaining command LE HCI command lengths
    omit f01248f  Move connection request txd flag to connection state machine
    omit 62dc810  Add PHY statistics
    omit 5478eb8  Finish half-completed transition to packed structs
    omit d25598f  Remove space at end of line
    omit bb0e904  Advertising receive isr start only requires pdu type
    omit 56481b3  ble host - Use blocking HCI tx in GAP procedures.
    omit c8413cf  ble host - fix bug for incoming ATT read-type-req.
    omit 3242310  ble host: fix bug in att statistics
    omit 33ec368  ble host - fix LTK generation bugs
    omit ebc7663  ble-host: Prevent warning in debug builds.
    omit b4223c3  Fix error in le64toh
    omit 2a349d6  Fix incorrect scan response advertising event type
    omit 113421b  MYNEWT-265 BLE - advertise iBeacon
    omit eb01335  MYNEWT-265 BLE - advertise iBeacon
    omit 259f0b7  MYNEWT-265 BLE - advertise iBeacon
    omit dbb5274  MYNEWT-265 BLE - advertise iBeacon
    omit 0bec8cd  ble host - fix build when security is disabled.
    omit 790318c  ble host: cancel sm proc when connection broken.
    omit ce7b45d  ble host: sm procedures time out after 30 seconds.
    omit f104793  ble host: use one 1hz timer for lazy procedures.
    omit 035bdb0  ble host: Minor change in BLE_HS_DBG_ASSERT macros
    omit e8a1ac4  ble host - fix bug: ensure proc inserted.
    omit be19e57  ble host: reduce code size.
    omit db0f140  ble host: support for initiating pairing.
    omit 42703ad  ble ctlr: clear filtered advertisers on scan start
    omit c291d46  Fix nrf51 receive mbuf data pointer error
    omit 20c2eec  Add random number code back to build if LE encryption not defined
    omit a18d39d  No jira ticket: modified api to ble_ll_hci_is_event_enabled() to pass in the event as opposed to the bit position as this was confusing
    omit 072ccc9  No jira ticket for this commit. Renamed a BLE error code since it was very poorly named. The old name was 'unsupported feature' when it really was an error denoting 'unsupported remote feature'. This was confusing and was leading to bugs so I modified the name and also returned the proper error code in cases where we dont support a feature (as opposed to the remote)
    omit ac7ab16  MYNEWT-277: add commands that need to be supported for data length extension. This also fixes a bug in the code regarding fragmentation of frames. Prior code was not fragmenting frames correctly
    omit 3e0a642  ble host- fix crash upon gatt procedure timeout.
    omit c2e11d7  nimble host: Fix failing adv unit tests.
    omit 1ddf493  MYNEWT-271: the same issue regarding set advertising data was present in set scan response data.
    omit c653d0c  MYNEWT-272: Fix error in octets 34 and 35 of supported commands returned from the controller
    omit a69766b  MYNEWT-271: fix nimble stack set advertising data HCI command bugs.
    omit 5bf5f3b  Some preliminary passkey & OOB.
    omit 0b36d3a  Look at nimble options before #if NIMBLE_OPT_SM !
    omit e942b7b  Reduce blehost code size - disable SM by default.
    omit 9f2ecae  MYNEWT-99: add random number genration/support for LE encryption
    omit d79930e  nimble host: notify app when encryption changes.
    omit 8450d84  nimble host: Initial security manager (SM)
    omit 2098d82  nimble host: Clarify host address and address type
    omit c175f1d  nimble host - Add missing " " at end of log lines
     add 21c98b5  nimble host - Add missing "\n" at end of log lines
     add 928a7ce  nimble host: Clarify host address and address type
     add 4f672f9  nimble host: Initial security manager (SM)
     add eec9fb7  nimble host: notify app when encryption changes.
     add 6ade22f  MYNEWT-99: add random number genration/support for LE encryption
     add 785da24  Reduce blehost code size - disable SM by default.
     add ef0fe38  Look at nimble options before #if NIMBLE_OPT_SM !
     add 2a1223d  Some preliminary passkey & OOB.
     add 33a5f91  MYNEWT-271: fix nimble stack set advertising data HCI command bugs.
     add b41a347  MYNEWT-272: Fix error in octets 34 and 35 of supported commands returned from the controller
     add ff6ce4a  MYNEWT-271: the same issue regarding set advertising data was present in set scan response data.
     add 4c40540  nimble host: Fix failing adv unit tests.
     add 9620998  ble host- fix crash upon gatt procedure timeout.
     add fe562fc  MYNEWT-277: add commands that need to be supported for data length extension. This also fixes a bug in the code regarding fragmentation of frames. Prior code was not fragmenting frames correctly
     add 5e096ff  No jira ticket for this commit. Renamed a BLE error code since it was very poorly named. The old name was 'unsupported feature' when it really was an error denoting 'unsupported remote feature'. This was confusing and was leading to bugs so I modified the name and also returned the proper error code in cases where we dont support a feature (as opposed to the remote)
     add 0f2dc89  No jira ticket: modified api to ble_ll_hci_is_event_enabled() to pass in the event as opposed to the bit position as this was confusing
     add 38a19f3  Add random number code back to build if LE encryption not defined
     add d5e2286  Fix nrf51 receive mbuf data pointer error
     add 3114289  ble ctlr: clear filtered advertisers on scan start
     add 4e5e93c  ble host: support for initiating pairing.
     add 1d915f7  ble host: reduce code size.
     add bedc7ad  ble host - fix bug: ensure proc inserted.
     add e18351c  ble host: Minor change in BLE_HS_DBG_ASSERT macros
     add b2bdbe6  ble host: use one 1hz timer for lazy procedures.
     add 8541dda  ble host: sm procedures time out after 30 seconds.
     add 09d1000  ble host: cancel sm proc when connection broken.
     add 21709f1  ble host - fix build when security is disabled.
     add 38eca8a  MYNEWT-265 BLE - advertise iBeacon
     add 600bf87  MYNEWT-265 BLE - advertise iBeacon
     add 3dbd9ba  MYNEWT-265 BLE - advertise iBeacon
     add 209e221  MYNEWT-265 BLE - advertise iBeacon
     add 6f2b218  Fix incorrect scan response advertising event type
     add f4ab7a6  Fix error in le64toh
     add 52b318a  ble-host: Prevent warning in debug builds.
     add c9627b9  ble host - fix LTK generation bugs
     add f9363b3  ble host: fix bug in att statistics
     add f70bf76  ble host - fix bug for incoming ATT read-type-req.
     add 4125d6e  ble host - Use blocking HCI tx in GAP procedures.
     add b6e067b  Advertising receive isr start only requires pdu type
     add c0874f3  Remove space at end of line
     add 8617ac9  Finish half-completed transition to packed structs
     add f5871ba  Add PHY statistics
     add 33d8c89  Move connection request txd flag to connection state machine
     add 356106d  Add remaining command LE HCI command lengths
     add 3f62d5a  Minor encryption/decrpytion host changes
     add 0413c49  MYNEWT-99: Implement LL encryption procedure.
     add 9c055c7  ble host - revert accidental test commit.
     add ca34e8c  Modify write suggested default data length command in controller
     add 409bcca  MYNEWT-99: Port encryption to nrf51
     add 67225d5  ble host - major changes.
     add b0a19f7  Update example apps to account for blehost changes
     add b010875  ble host - fix security bug
     add cde9b15  ble host - separate blocking HCI from rx
     add 57b7764  ble host - fix SM bug; r1/r2 misordered on master.
     add 2894e98  ble host - clarify locking restrictions.
     add 20ed623  ble ll - don't undef feature macros.
     add fbd1867  ble host - rename "app task" to "parent task"
     add 4d16fc2  ble host - make priv header filenames consistent.
     add 7b24450  MYNEWT-284: fix nrf51 radio state errors
     add 7285268  Modify bletest for new host
     add ebda3af  Fix bug in data length extension procedure
     add cc409d9  MYNEWT-99: implement encryption pause procedure
     add 021b470  Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
     add 99928ce  MYNEWT-85: Fix BLE timing for start of connection events. MYNEWT-283: Slave anchor point now set correctly on CRC error.
     add c8af19b  MYNEWT-85: Transmit timing fixes MYNEWT-99: Encryption.
     add 2470c88  Fix encryption event error
     add bc52e3d  Do not obtain and hold a mbuf just to transmit advertisements.
     add 1c272a7  Fix l2cap-sm thread-safety.
     add b4af986  changes to support passkey requests and MITM
     add c49146d  BLE Host - use big endian for iBeacon ver fields.
     add 7da681b  BLE host - swap PIN endianness in TK.
     add 22da971  BLE host - indicate correct peer addr type in pair
     add cb5567f  BLE host: Return correct att err for sec issues.
     add 9a042d8  BLE host - fix typo in iocap-pairing tables.
     add cba11b0  BLE host - Add BLE_GAP_ prefix to passkey actions.
     add 6fc6d14  add more documentation of callouts.  remove os_callout_init() which was unused, have everything be a callout_func.  include os/time.h for eventq_poll()
     add 8b0c11c  LL feature configuration for controller moved to nimble_opt.h
     add fbb520c  Code now asks PHY maximum data pdu payload size
     add b44c425  fix merge conflict
     add 189abca  BLE host - bonding.
     add a31fcf6  BLE host - whitespace fix.
     add b6b8647  BLE host - Validate pair req/rsp at rx time.
     add b9098e2  BLE host - Ensure pair-req sender is master.
     add 188a246  BLE host - remove ble_l2cap_sm_process_status().
     add 0b8b52c  BLE host - unit test for invalid pair-rsp.
     add 9d64d95  BLE host - eddystone advertisements.
     add ba457bf  BLE Host: Send invalid CID l2cap sig err.
     add 30e1f12  BLE host - only include eddystone if specified.
     add f088464  BLE host - Set random address HCI command.
     add 74894ba  BLE host - fix check for sufficient conn resources
     add b8afcd7  BLE host - More specific reasons for disconnect.
     add 4da08d1  BLE Host - Always set timer for GATT client procs.
     add 43b6190  BLE Host - callback when SM proc ends due to term.
     add 8f05155  BLE Host unit tests - queue of previous data txes.
     add 59dd52e  BLE Host - SM passkey unit tests.
     add f329020  BLE host - rename struct with appropriate prefix.
     add 44b4baf  BLE Host - Formalize some GATT thread safety reqs.
     add 80870dd  BLE Host - Enforce thread safety in unit tests.
     add 5e40d93  Fix scheduling bugs
     add 3b5a05b  BLE Host - Rename sec procs to match spec language
     add 2cdec1e  BLE Host - Add bonded flag to SM proc.
     add 1a3138d  BLE Host - rx slave security request.
     add 5802337  BLE Host - tx slave security request.
     add 5018b9b  BLE Host - Send irk and csrk during key dist.
     add 5540317  BLE Host - disconn: delete conn before app cb.
     add f2dd157  BLE Host - On disconnect, call non-conn CBs first.
     add 9906b8a  BLE Host - Separate secure-read from secure-write
     add 5c723d0  BLE Host - Enable security manager by default.
     add dc7861b  BLE Host - Use macro to check NIMBLE_OPT defines.
     add 11c1bdc  BLE Host - Fix typo in log message.
     add eafc238  BLE Host - Fix misordered fields in unit test.
     add bb6ad7b  BLE Host - dbg, ensure sm proc not in list on free
     add f825062  BLE Host - (dbg) Assert proc entries not in list.
     add 2cb721d  BLE Host - Use GAP callback for notifications.
     add ce8df1d  BLE Host - Move status into GAP ctxt object.
     add 82ba87c  Get native ble building.
     add 8a9d80b  BLE Host - comment indicating irk endianness.
     add ff227f9  BLE Host - Persistence mechanism.
     add 214f218  BLE Host - Don't require key in persist write.
     add fcb45d4  BLE Host - Chr updates for unconnected bonded peer
     add 774a20a  BLE Host - Combine CCCD store into a single key.
     add a072c74  BLE Host - Corner case: chr updated before ind ack
     add ed8e7fb  BLE Host - Use chr val handle for stores.
     add 7f3c1f2  BLE Host - Tx updates upon rebonding.
     add f5d6315  BLE Host - Silence some warnings.
     add 2a9f309  BLE Host tests - n/i disabled for unbonded reconn.
     add 0cf5efe  BLE Host - Implement unittest persist store
     add d0802e6  BLE Host - fix bug caused by outdated code.
     add fc0a86a  BLE Host - unit tests for persisted CCCDs.
     add 38493df  bleprph - Use new BLE host persist store.
     add df56fa1  BLE Host - Much needed comment re: CCCD persist.
     add 4b03206  BLE Host - Add peer address to ltk store.
     add b637ceb  BLE Host - Handle sec-req via db lookup.
     add 3dba79c  BLE Host - Clarify keys; our/peer -> mst/slv
     add 5d2a9f6  fixup
     add 133ed7c  BLE Host - Fix some SM mst/slv mismatches.
     add 9a17ce2  BLE Host - rename store ltk to sec.
     add 90c2fce  BLE Host - Unit test for indicate without ack.
     add 96a6895  BLE Host - Add idx to store sec key.
     add 78bb15f  BLE Host - Handle oddly sized read-group-type rsp.
     add 049cd39  first cut at Host Privacy
     add 72cb7d0  Initial cut of LL privacy
     add 1d77cbf  BLE Host - Separate secure-read from secure-write
     add 47fc72b  second cut at host privacy
     add be61b98  first cut at LL privacy
     add 2bb7d52  when we do a key exchange and get an identity address from the peer make sure we use that address and not the device address in the key store
     add 82caeea  Fix error in RPA timeout value
     add 446f959  Fix RPA usage for scanner when advertising not using RPA
     add 2572df3  Fix TXADD bit not being set correctly in advertisements for all cases
     add fdaf4f4  ensure that we do security pairing with the correct address type and address for our device and theirs.
     add e888321  we also need to keep the peers RPA in case we do a pairing with that address while using resolvable private addresses
     add e3cc7e5  Add privacy stubs for native ble
     add fde8240  BLE Host - Add "black hole" L2CAP CID.
     add 8fc421a  BLE Host - Initial secure connections support.
     add a563d20  BLE Host - separate lgcy/sc
     add 579ba9d  BLE Host - Rearrange SM.
     add e915d01  BLE Host - Move state repetition go->process_result.
     add 60ee99b  BLE Host - Don't forget to persist keys.
     add 9c5e1a0  BLE Host - separate key exchange into functions.
     add 944186d  BLE Host - rename sm identifiers for consistency.
     add b8d486e  BLE Host - Rearrange some SM code.
     add f6534db  BLE Host - Use tinycrypt for SC.
     add d01ffaf  BLE Host - Fix incorrect IO capabilities table.
     add 8351609  BLE Host - Initial numeric comparison work.
     add 2265253  BLE Host - Ignore EncKey flag in SC.
     add c2e1ce9  BLE Host - Initial numeric comparison impl.
     add d5354f0  BLE Host - Fix SC unit test.
     add 30f0897  BLE Host - Fix log issue.
     add 9412801  BLE Host - SC numeric comparison.
     add c528b7c  BLE Host - Fix SM bug - keydist use pair rsp.
     add c368044  BLE Host - Fix SM bug - keydist use pair rsp.
     add 0b532c9  BLE Host - unit test for SC passkey.
     add 41bf793  BLE Host - SC cosmetic changes.
     add b2b5a78  BLE Host - Merge privacy changes.
     add 521678f  BLE Host - Remove extraneous log message
     add fe7a047  BLE Host - Persist LTK on SC success.
     add a6d7157  BLE Host - Rearrange SM test code.
     add c3b2fca  BLE Host - SC unit test, us as initiator.
     add 9457405  BLE Host - Don't build SC unless so configured.
     add 4311983  BLE Host - sc; persist both slv and mst keys.
     add efd485a  BLE Host - Log outgoing SM commands.
     add b2d5baf  BLE Host - SC "us" unit tests.
     add 1a0b3a8  BLE Host - Remove stray memcpy.
     add 36eb1d0  BLE Host - Clean up debug logging.
     add b2b79fe  Add privacy and extended scanner filter policy to supported features
     add 5550f64  BLE controller - enable data length extension.
     add a111a3f  Fix TXADD bit not being set correctly in advertisements for all cases
     add 84f707f  Fix issue when receiving an invalid pdu type
     add 3e0e471  Fix ble log being turned on by default
     add 3c9d3f4  BLE Host - Add comment about ltk endianness.
     add f60ce98  BLE Host - Fix inconsistent GATT identifier names.
     add 547b37d  BLE Host - Rename SM identifiers for consistency.
     add 2fcf83d  INTERIM - logging
     add 249b5b3  BLE Host - clean up packet logging.
     add 591cc8c  Add statistic to count received l2cap bytes at LL
     add b47445c  BLE Host - More log cleanup.
     add 24c73b6  BLE Host - Fix for builds with debug log disabled.
     add 3a2b9b3  BLE Host - Fix build when security disabled.
     add b45a1e2  BLE Host - Encryption key refresh.
     add d10e8a1  Fix directed advertising when using rpa for inita
     add c78ce5f  BLE Host - enable key rfrsh & param req events.
     add 8bfd7e6  BLE Host - Fix for encryption key refresh.
     add ffa4619  BLE Host - Don't change enc status on SMP timeout.
     add 62e53ae  BLE Host - set data length HCI command.
     add c989e4d  BLE Host - Enable data-length-change event by dflt
     add 24e93bf  BLE Host - persist irk properly when ltk not xchgd
     add bb14075  BLE Host - Always use effective addrs during SMP.
     add 8bdd7d9  BLE Host - Fix privacy+pairing bug.
     add 51c9f52  Forget to initialize rxadd properly if directed advertising
     add fece89f  BLE Host - include both addresses in conn desc.
     add a559111  BLE Host - SM: correctly report encrypted state.
     add c301792  BLE Host - rename effective->ota; identity->id
     add 2ef1d9a  BLE Host - Fix wrong peer addr type in ltk req rx.
     add ecb9cd4  BLE Host - SM: Remove accidental assignment.
     add d3c176d  Fix resolving INITA in directed advertisement when initiating
     add a3deed2  BLE Host - Reject SMP opcode 15.
     add e3c672e  BLE Host - Never persist our own IRK in keystore.
     add 7eae23f  BLE Host - initiator tx key exch if no keys rx.
     add 1b407b2  BLE Host - Do key exchange if only one side txes.
     add 2319b45  BLE Host - SM SC: Log public / private keys.
     add 9e7731d  BLE Host - always honor ctlr encryption events.
     add 618ce27  BLE Host - Rename sec_state.enc_enabled->encrypted
     add 5e93fa4  BLE Host - Nack unexpected LTK reqs from ctlr.
     add ef32f01  BLE Host - Don't print status for no-op event.
     add 5f80243  BLE Host - Don't kill SM proc when bad io injected
     add 42cd8c5  BLE Host - Clear queue on gatt-long-write failure.
     add 13408e5  BLE Host - Clear queue on gatt-reliable-write fail
     add 3e8711c  BLE Host - Fix compiler errors!
     add 33ca43b  BLE Host - Log addresses in big endian.
     add 4f237f4  BLE Host - Persist keys if both sides want bonding
     add f708a9b  BLE Host - Fix mistakes in IO capabilities tables.
     add b53beb1  BLE Host - Send correct SM err on confirm mismatch.
     add 5c91b91  BLE Host - SM; remove obsolete KEY_EXCH flag.
     add c818ca3  BLE Host - Add write functions for key exch msgs.
     add 483a0e3  BLE Host - ble_hs_addrs() function.
     add ae1a52d  BLE Host - SM SC unit tests.
     add d5d4177  BLE Host - Persist our IRK.
     add 7fbffbc  BLE Host - Rename mst/slv sec -> peer/our
     add e27a499  BLE Host - More SM SC unit tests.
     add 09db405  BLE Host - Search DB when initiating security.
     add 440edb8  BLE Host - unit tests: restore via enc in sc tests
     add 8c83741  bletiny - Separate pairing from encryption.
     add 252f806  BLE Host - Include our_id_addr/type in conn desc.
     add 641a720  BLE Host - unit tests for combined priv/sc.
     add fe31c09  BLE Host - Clean up endianness confusion.
     add 55f6295  Add LE ping and Authenticated Payload Timeout event
     add da9fb3b  Turn LE ping on by default
     add a3dc1ab  BLE Host - Fix build when SM disabled
     add ececaa7  BLE Host - Fix unit tests with new startup seq.
     add 56e00a3  BLE Host - SM: remove obsolete ediv,rand field
     add b6ff96d  BLE Host - Don't restore bonding on enc. fail.
     add 65fb953  BLE Host - Consider bonding flag in rxed sec req.
     add eec1c30  BLE Host - Deal with va_args bug for master_id log
     add 78d1f32  BLE Host - Rename start_rand to master_id_rand.
     add d874aaf  BLE Host - More SM unit tests.
     add b79d22c  BLE Host - Fix bug; lgcy pairing iocap=4.
     add 4f641c0  BLE Host - Clean up host privacy.
     add a45d3fe  BLE Host - Fix broken scan timeout.
     add cab8d21  BLE Host - Handle overflow in large scan duration.
     add 73fa147  BLE Host - Ability to cancel discovery operation.
     add 4f7049e  BLE Host - Return BLE_HS_ETIMEOUT_HCI on ack tmo.
     add 3490a4d  BLE Host - Return oom errors on no hci buf / no ev.
     add b106bb8  BLE Host - Remove obsolete ble_hs_thread_safe() fn
     add dd8c1ad  BLE Host - Stop scan timer when disc. proc. cncld.
     add 6f7469d  BLE Host - Single buffer for HCI cmds and acks.
     add 8b13a40  BLE Host - Clean up runtime settings.
     add 99e9a73  BLE Host - Fix build error caused by prev commit.
     add d6a175a  BLE Host - Remove extra sec check on ATT write.
     add 1dd0489  BLE Host - ble_att_svr_read_local()
     add 611b8c4  log2smtest.rb: generates BLE SM unit tests.
     add 0939e68  MYNEWT-332: Return error if initiating and host attempts to enable scanning
     add a3f7d3d  BLE Host - Report HCI error code on terminate.
     add 9c42240  BLE Host - Fix read-rssi bug.
     add a3ab0d0  BLE Host - BLE_HS_EMSGSIZE used incorrectly.
     add 5014b2d  BLE Host - unit tests for reading RSSI.
     add d17cd31  NimBLE - Host frees HCI cmd buf on ev alloc fail.
     add 22700ea  MYNEWT-83: Controller should use a fixed buffer for reception
     add 2b4322d  BLE Host - Limit to 2 consecutive OS events.
     add e54ee03  Nimble: rename g_hci_cmd_pool --> g_hci_evt_pool
     add aec67d1  BLE Host - Indicate service in chr reg callback.
     add c363ffe  BLE Host - Allow app to specify adv flags,txpwr
     add ff833fa  BLE Host - Change GATT server callback API.
     add e4943db  BLE Host - Remove 'enhanced' from connect ctxt.
     add 86a9b1c  BLE Host - ble_gap_crt_params->ble_gap_conn_params
     add f0c2b5b  BLE Host - Update ble_gap_conn_initiate() API.
     add 9e11f47  BLE Host - ble_gap_conn_initiate->ble_gap_connect
     add d26f7eb  BLE Host - ble_gap_cancel->ble_gap_conn_cancel
     add b0781b6  BLE Host - Update ble_gap_adv_start() API.
     add 62e69fb  BLE Host - GATT registration API changes
     add 49ac95c  BLE Host - Add duration parameter for advertising.
     add a2ea8e0  BLE Host - Updated GAP discovery API.
     add 0858f47  BLE Host - Don't auto-generate NRPA.
     add 031c5df  BLE Host - handle direct advertising report event.
     add 171e4f1  BLE Host - Always increment GAP stats on failure.
     add e4e985c  BLE Host - ble_gap_conn_ctxt->ble_gap_event_ctxt
     add 5cfecb1  BLE Host - Add missing fields to ble_gap_conn_desc
     add cb37cd4  BLE Host - Const correctness.
     add c8c97a1  BLE Host - Comments for GATT server structs.
     add 9e5eab0  BLE Host - Lookup svc,chr,dsc handles by UUID.
     add 01c0eaa  BLE Host - GATT client cb: error arg never null.
     add 17886ed  BLE Host - Indicate GATT proc done - BLE_HS_EDONE
     add b35a935  BLE Host - ble_gap_[...]_active() functions.
     add d14724c  BLE Host - Allow HCI reason in ble_gap_terminate()
     add f809be7  BLE Host - Add missing 'static'
     add 62f0dc9  BLE Host - ble_gap_conn_cancel() - rc when !active
     add 022c203  BLE Host - Clean up private headers.
     add 2e76cc3  BLE Host - Add API doxygen comments.
     add c4baec5  BLE Host - Fill in privacy API.
     add daa6015  BLE Host - Remove obsolete error codes.
     add a93ee81  BLE Host - Clean up error codes.
     add ee1150e  BLE Host - BLE_HS_ERR_SM_THEM ->BLE_HS_ERR_SM_PEER
     add cbe2122  BLE Host - Clean up error codes.
     add 7967251  BLE Host - Move ibeacon prototypes to new header.
     add 1f2ea31  BLE Host - GAP event callback updates.
     add 1b938ab  BLE Host - ble_gap_conn_rssi().
     add 21c1214  BLE Host - ACL data packet fragmentation.
     add 3890a65  BLE Host - Additional doxygen comments.
     add 75ff1de  BLE Host - Fix for spurious gcc warning.
     add b977f7a  BLE Host - Fix spurious maybe-uninitialized warn.
     add b467d41  BLE Host - Add duration param to ble_gap_connect()
     add 791e630  BLE Host - gattc: dsc refers to chr val handle.
     add 7de4a9d  Nimble: rename g_hci_cmd_pool --> g_hci_evt_pool
     add 6ad74a6  BLE Host - HCI commands were logged incorrectly.
     add e82809d  BLE Host - combine adv enable/disable tx commands.
     add 16aee66  Merge branch 'ble_hs_api' into develop
     add 9898177  BLE Host - Move ATT MTU defines into public hdr.
     add 27426ec  BLE Host - Fix filter-duplicates in GAP discovery.
     add 12e7c8a  MYNEWT-350 BLE Host - Fn to calc GATT server rsrcs
     add 56a93ea  BLE Host - scan: svc data fields had 0 length.
     add b9fe08b  BLE Host - Move opcode into gatt access ctxt.
     add 72998ff  BLE Host - Move opcode into gatt register ctxt.
     add 32780cf  BLE Host - Move logging into separate file.
     add 7f466c6  BLE Host - rxed adv: UUIDs directly accessible.
     add 08c61a4  BLE Host - GATT procedures handled in wrong order.
     add 39bb212  BLE Host - RAM persistence layer package.
     add a837f8d  BLE Host - Package for mandatory svcs (GAP & GATT)
     add 9a21034  BLE Host - Call GAP cb for notify tx events.
     add b6b7c89  BLE Host - Send notify/indicate in parent task.
     add 632ffad  BLE Host - Don't include conn-desc in GAP event.
     add d5a9f88  BLE Host - GAP event when peer subscribes to CCCD.
     add 0ac798d  BLE Host - Ensure proper ordering of notify GAP ev
     add 9f142c0  BLE Host - Only enable GATT procs for centrals.
     add 81ae196  MYNEWT-266 Newtmgr over BLE
     add ae063d6  BLE Host - unit test for rx GATT long read.
     add 5579d10  BLE Host - Use mbufs instead of flat bufs.
     add ac5c4ad  BLE Host - Small doxygen update.
     add d7aac26  BLE Host - Fix default ble_hs configuration.
     add f701b7e  BLE Host - Fix null pointer dereference.
     add 6020507  BLE Host - Update unit tests to use new dflt cfg.
     add 257417d  BLE Host - Reduce dflt # of hci bufs.
     add 59e0634  BLE Host - Don't require 2-phase GATT server init.
     add 5329909  BLE Host - Update unit tests for new GATTs API.
     add d0448ce  BLE Host - Oops, remove debug code.
     add 8f224dc  BLEuart app changes and host fix
     add 03d0eff  BLE Host - Remove double indirection from tx API.
     add c295738  BLE ctlr - Use updated host rx data API.
     add 9fc231e  MYNEWT-342: Fix invalid access address generation
     add 2190555  Fix memory overwrite in random number generation code. This overwrite could cause privacy to fail
     add 6418926  BLE Host - Wait for conn-cmplt-ev for GAP conn tmo
     add 90f83d4  Added the profiles dir. Added Link Lost Service
     add 0bedb10  Update Lost to Loss in comments.
     add 86addc6  updated lls location to host and new api
     add 73307e9  coding standard and on_gap_event changes.
     add 34848dc  forgot to change header file
     add 23ddead  added doxygen style comments
     add fdd0ddb  renamed on_gap_event to on_gap_disconnect to better describe functionality
     add eef2055  BLE lls - Move variable defn. to top of fn.
     add 4bc1f1d  BLE Host - Read BD_ADDR on startup.
     add 2da4e98  BLE Host - Use HCI transport API
     add a1291ac  BLE Host - Reset on hardware error.
     add 0dac878  BLE Host - Rename HCI identifiers and files.
     add e8beeff  BLE Host - Use os_eventq_poll()
     add 04346bb  NimBLE - high / low prio event buffers.
     add e8a430e  BLE UART HCI - Remove debug log.
     add 8b94ea0  BLE Host - distinguish already/busy in conn/disc.
     add 9c021c7  BLE Host - Use os_mbuf_append_from, not handrolled
     add b05a792  BLE Host - Free mbuf on os_mqueue_put() failure.
     add 7445c12  BLE Host - Clean up ACL tx fragmentation.
     add f5f3770  BLE Host - Don't assume leading space in l2cap tx.
     add 1476f73  BLE Host - doxy comments for ble_gatts_count_cfg()
     add 95ba2e9  BLE Host - Free mbufs on exec-write-failure
     add 8167790  BLE Host - Send exec-write when prep-writes cmplt.
     add 976b04b  BLE Host - Free mbufs on exec-write-failure
     add 48eb527  BLE Host - validate write upon rx of prep write
     add 47f0e5b  BLE Host - gap test needs to hb when checking tmo.
     add 3501040  BLE Host - prep/exec tests: better mbuf leak check
     add a363d3f  BLE Host - Fix unit test SIGSEGV.
     add fd1cfbd  ble - Transports return BLE_ERR_ return codes.
     add 8191d20  BLE Host - reuse exec-write-req mbuf for rsp.
     add b6884c4  BLE Host - Cleanup att_svr rx prep / exec write.
     add 79b81c1  Use SDK include paths for nRF SDK headers.
     add 2d4c054  syscfg / sysinit
     add 8ed5499  BLEuart app changes and host fix
     add 6c85050  BLE Host - Remove double indirection from tx API.
     add b94b794  BLE ctlr - Use updated host rx data API.
     add 060237d  MYNEWT-342: Fix invalid access address generation
     add 9c29d88  Fix memory overwrite in random number generation code. This overwrite could cause privacy to fail
     add 653c605  BLE Host - Wait for conn-cmplt-ev for GAP conn tmo
     add a8b436b  Added the profiles dir. Added Link Lost Service
     add 7504f59  Update Lost to Loss in comments.
     add 0e5638d  updated lls location to host and new api
     add 3e70d70  coding standard and on_gap_event changes.
     add 32d8bec  forgot to change header file
     add c53c423  added doxygen style comments
     add 5903983  renamed on_gap_event to on_gap_disconnect to better describe functionality
     add 258cfae  This closes #83. Merge remote-tracking branch 'bgiori/develop' into develop
     add 68b8c88  BLE lls - Move variable defn. to top of fn.
     add 5118116  BLE Host - Read BD_ADDR on startup.
     add 9bfa1a0  BLE Host - Use HCI transport API
     add 16d6592  BLE Host - Reset on hardware error.
     add c213f7f  BLE Host - Rename HCI identifiers and files.
     add a2e3e06  BLE Host - Use os_eventq_poll()
     add a8f2075  NimBLE - high / low prio event buffers.
     add 2070046  BLE UART HCI - Remove debug log.
     add 9d12ee7  BLE Host - distinguish already/busy in conn/disc.
     add a232e86  BLE Host - Use os_mbuf_append_from, not handrolled
     add 04230d6  BLE Host - Free mbuf on os_mqueue_put() failure.
     add 97b1c71  BLE Host - Clean up ACL tx fragmentation.
     add f63148a  BLE Host - Don't assume leading space in l2cap tx.
     add 167e420  BLE Host - doxy comments for ble_gatts_count_cfg()
     add dba623c  BLE Host - Free mbufs on exec-write-failure
     add 026f32d  BLE Host - Send exec-write when prep-writes cmplt.
     add b134895  BLE Host - Free mbufs on exec-write-failure
     add c2c50e8  BLE Host - validate write upon rx of prep write
     add e2edf72  BLE Host - gap test needs to hb when checking tmo.
     add 6619939  BLE Host - prep/exec tests: better mbuf leak check
     add b4a5f95  BLE Host - Fix unit test SIGSEGV.
     add 8a91ae4  ble - Transports return BLE_ERR_ return codes.
     add 95f7f2f  BLE Host - reuse exec-write-req mbuf for rsp.
     add 19521f5  BLE Host - Cleanup att_svr rx prep / exec write.
     add bbbde4f  BLE Host - Set state before tx HCI enable.
     add 7c1d8e1  BLE Host - Don't reject max-size adv field.
     add 844ed0a  fixup adv
     add 4b82b5e  BLE Host - Add missing break statement.
     add 66b754b  BLE Host - Fix crash when #-evt-bufs > #-os-events
     add b68a670  BLE RAM trans: evt buf sz 260-->45; ct 3-->14
     add 6fdebaf  BLE Host - Check conn state once before proc.
     add 8fcf050  Refactored file structure for premade services.
     add aaa995d  This closes #88. Merge remote-tracking branch 'bgiori/refactor-services' into develop
     add 9946e00  BLE Host - Allow MTU to be checked for unconn peer
     add 249f84e  BLE Host - Send correct error code for unsup. n/i.
     add efe1e21  BLE Ctlr - max evt sz too low for rd-lcl-sup-ftrs
     add 23ab5f5  BLE - Fix out-of-date comment.
     add f424b9a  BLE Host - sm,sc - ask for pk after rx pubkey
     add 62e1d75  MYNEWT-83: Use a fixed buffer for reception for controller stack
     add 4aa1641  MYNEWT-83: use fixed buffer for reception. Get native arch building
     add de00c59  MYNEWT_83: Use fixed buffer for reception.
     add 7007288  MYNEWT-358: nrf51 cannot connect to directed advertisers w/privacy
     add faba99e  BLE Host - Function to retrieve preferred ATT MTU.
     add db424f1  BLE Host - Update conns' pref. MTU
     add d3b0160  BLE Host - Don't allow >1 tx MTU request per conn.
     add fc7c53b  BLE Host - Report updated MTU via GAP event cb.
     add b86bf04  BLE Host - Only log ATT cmd after tx succeeds.
     add 155ca3b  MYNEWT-83: use a fixed buffer for reception.
     add 3a24906  MYNEWT-354
     add 1329278  Fix warnings reported by clang.
     add 7ed1d23  MYNEWT-317
     add df122aa  MYNEWT-374 Code does not build if BLE_LLC_FEAT_LL_PRIVACY=0
     add ca311f9  MYNEWT-347 BLE Host - GAP update; use L2CAP proc.
     add 02fc0e9  MYNEWT-385: Controller not sending connection update complete event
     add 2b41aba  Logging format and initialization
     add 38e625c  MYNEWT-382: Controller number of completed packets event changes
     add 8d6e3b8  MYNEWT-386: Controller should always send connection complete event
     add be4ba60  MYNEWT-387: Separate ACL buffer pool for controller only
     add 9a36324  MYNEWT-387: Separate ACL data buffer pool for controller only
     add 478e27d  Add Apache License header. Not sure why this was omitted.
     add 63b80b0  MYNEWT-388: HCI uart should not assert if a command, event or ACL buffer not available
     add 91eb8d1  Merge branch 'develop' into sterly_refactor
     add 0803d35  Conclude merge from sterly_refactor.
     add a976024  BLE Host - Move SC-specific functions into SC file
     add bbf1f12  move nimble drivers into standard drivers
     add f3e111d  directory re-org, part 1
     add ca3b769  directory re-org
     add 07aa4f5  newt test all compiling again.
     add 4c170db  MYNEWT-397: Nimble controller assert if advertising started/stopped frequently
     add 3150aa9  correct a few more pkg names
     add fee4a4f  BLE Host - Trust conn-complete-evt role field
     add 2e5d3e2  Move syscfg from pkg.yml to syscfg.yml.
     add a04922f  Add #ifdef __cplusplus guards
     add f3b4f76  MYNEWT-431: Move cputime from HAL into os.
     add 8c00258  final re-org of directories -- removing the lib/ directory.
     add 696212f  Unit test infrastructure
     add 6b6f289  MYNEWT-444 - Configure log level per-module
     add 6e7026b  sample apps - initialize nimble host log.
     add b034e1f  nimble uart transport; fix broken build.
     add 30e6e3c  No jira ticket: fix old (erroneous) comment.
     add 2321a28  basic doxygen support in OS (modules) and update Apache License header.
     add b0aeded  Replace os_event types with callback functions.
     add eb77173  BLE Host: Event codes -> callbacks
     add 2ea830e  BLE Controller: Event codes -> callbacks
     add da10a68  obsolete defs
     add 72d352f  No jira ticket: It seems that with some of the syscfg changes that these values got reverted or modified unintentionally. The number and size of the events has now been corrected.
     add fe19e25  BLE host - Fix incorrect expiry issue
     add 4ca71a3  Immediate Alert Service implemented.
     add 4d87c08  update ias package structure into host/services
     add 371f249  This closes #87.
     add 0bf8ab3  BLE IAS svc - Update to use sysinit.
     add 802e7f4  unfinished changes
     add 762724a  fixed compilation errors and runs. Untested. Unfinished.
     add 59abadb  Alert Notification Service implemented.
     add f269294  updated comments
     add 879871a  Variables declared at top of function scope
     add 570fd10  moved location to services from profiles
     add 91b4ac8  update include path
     add 886423f  This closes #85.
     add 0019b41  BLE ANS service - Use sysinit.
     add 931e3be  added tx power service to profiles
     add 5aba3a8  Tx Power Service implementation
     add c725849  updated comments and error return value
     add 08c2ac5  coding style changes
     add 6845e58   variables declared at top of function scope
     add 49114e3  moved tps to services dir.
     add 01a25af  This closes #84.
     add 21039e5  BLE TPS service - use sysinit.
     add 485a0ce  BLE TPS service - Use latest host API.
     add 18f92a7  License audit
     add d5df41f  The ACL data packet length being reported by the LE read buffer size command included the HCI ACL data packet header. Well, there still needs more work to be done here to reconcile the constants being used, but the current code could have caused issues. We now report a ACL data packet length of 256 bytes.
     add 89753b6  MYNEWT-374 Code does not build if BLE_LLC_FEAT_LL_PRIVACY=0
     add 2425a09  MYNEWT-347 BLE Host - GAP update; use L2CAP proc.
     add 00b60a3  MYNEWT-385: Controller not sending connection update complete event
     add fa8d3e6  MYNEWT-382: Controller number of completed packets event changes
     add c47f1a6  MYNEWT-386: Controller should always send connection complete event
     add b990879  MYNEWT-387: Separate ACL buffer pool for controller only
     add 5532d0e  MYNEWT-387: Separate ACL data buffer pool for controller only
     add 4b36f7d  Add Apache License header. Not sure why this was omitted.
     add 42abb02  MYNEWT-388: HCI uart should not assert if a command, event or ACL buffer not available
     add a993eeb  MYNEWT-397: Nimble controller assert if advertising started/stopped frequently
     add d6e425e  Merge remote-tracking branch 'apache/master' into develop
     add 9a8fe37  MYNEWT-336: Allow for smaller mbufs in nimble.
     add c0215bf  BLE Host - Remove unused sc bit from persisted sec
     add 8c0f6dc  BLE Host - Compilation error for SC without DEBUG.
     add 7e04a37  BLE Host - L2CAP intrnl API chg: handle, not ptrs.
     add 360acb1  BLE Host - Eliminate spurious time expirations.
     add ee4b0a6  BLE Host - Unit tests for GATT timeouts.
     add a927645  BLE Host - Add test for interrupted indicate.
     add 55224e4  BLE Host - Remove debug console_printf.
     add f85ee0b  BLE Host - Allow tx of chained mbufs.
     add 2167619  BLE Host - Don't allow ATT tx to unconnected peer
     add be94126  BLE Host - whitespace fix.
     add 881f6bc  BLE Host - Don't send overly-large ACL data pkts.
     add 3aaef50  BLE Host - Increase max ATT MTU to 527 (was: 240).
     add df231b9  BLE Host - ble_att_clt_tx_read_type() return bad.
     add 203139e  MYNEWT-339 BLE host - Retry GATT on mbuf exhaust.
     add 1901d08  MYNEWT-339 BLE host - Retry GATT on mbuf exhaust.
     add e663961  MYNEWT-324 BLE Host - Reuse inbuf for error rsp.
     add 736168d  ble_store_ram - Set the persist callbacks on init.
     add 0bbf36b  ble uart transport - Add mising init function.
     add cf03abd  MYNEWT-336: Allow for smaller mbufs in nimble.
     add 0ee85e3  MYNEWT-486: Controller cannot accept ACL data packets > 255 bytes.
     add 6c0fed1  BLE Host - Compilation error for SC without DEBUG.
     add a57182e  MYNEWT-486: Further fixes for ACL data buffer size/count.
     add 054db93  BLE Host - Don't allow ATT tx to unconnected peer
     add 8344172  BLE Host - ble_att_clt_tx_read_type() return bad.
     add 056f300  Merge branch '1_0_0_b1_dev' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
     add 35e33a1  BLE Host - Fix warning reported by gcc 6.
     add 3d893ba  Merge branch '1_0_0_b1_dev' into develop
     add e62ef98  MYNEWT-324 BLE Host - Reuse rxbuf for write rsp..
     add df09860  BLE Host - Differentiate prep-q-full / insuf. res.
     add 5c9455a  BLE Host - On rx indicate, allocate rsp first.
     add 5b4fac9  MYNEWT-324 BLE Host - Reuse inbuf for error rsp.
     add 80233c9  MYNEWT-324 BLE Host - Reuse rxbuf for MTU rsp.
     add 9328405  nimble/l2cap: Fix for l2cap rx handles
     add f58ce79  nimble/l2cap: Fix for handling unknown response
     add 3a820bd  nimble/l2cap: Fix for handling unknown L2CAP signaling commands
     add a9dc06a  nimble/l2cap: Fix L2CAP command not understood handling
     add 0e412cb  nimble/l2cap: Minor flow refactor of ble_l2cap_sig_update_req_rx
     add b592c4c  nimble/gap: Add check for connection parameters
     add ef72e30  nimble/l2cap: Fix for L2CAP connection parameters update
     add a571a31  MYNEWT-491 Prevent repeated package initialization
     add d74ca6c  MYNEWT-341 BLE Host - Handle missing ACL fragments
     add 3f896c9  BLE Host - Fix SM unit test.
     add 55449f2  BLE Host - Combine PREP_WRITE, EXEC_WRITE syscfg
     add 6c83f64  MYNEWT-353 BLE Host - Timeout for ATT queued write
     add c1acf20  BLE Host - rename BLE_ATT_MAX_PREP_ENTRIES
     add 0a10e86  MYNEWT-324 BLE Host - Don't use req buf for wr.rsp
     add 77bdd0f  MYNEWT-487 BLE Host - Execute GATT proc cb on tmo.
     add fb4d413  BLE Host - Don't send l2cap error to unconn. peer.
     add 026329d  MYNEWT-383 BLE Host - Deletion from ram store.
     add fc88453  MYNEWT-383 - BLE Host - use ram store in unittests
     add cba839a  MYNEWT-383 BLE Host - Allow programmatic unbonding
     add 09fe575  MYNEWT-349 BLE Host - API for gatt-service-changed
     add 2c89b02  BLE Host - Work around gcc bug
     add add67fa  MYNEWT-346 BLE Host - Add BLE_SM_LEGACY setting.
     add 418e377  Remove redundant includes
     add e921ab5  This closes #136.
     add 7b56d69  nimble/test: Fix expected value in ble_sm_test_util_us_fail_inval
     add 13fc8a8  nimble/test: Fix expected error for key size lower than minimum
     add 724e41d  nimble/test: Remove invalid SM test cases
     add 29c4294  nimble/sm: Fix AuthReq/KeyDist validation in pairing req/rsp
     add ffa0636  nimble/sm: Improve pairing req/rsp validation
     add 2e98ab6  nimble/sm: Use proper key size for encryption
     add 4a9cfc7  nimble/sm: Fix obvious array size mismatch
     add d86ab33  This closes #130. Merge remote-tracking branch 'andrzej-kaczmarek/nimble-fixing' into develop
     add aacba0c  gattc: Fix unnecessary status overwrite in read by type err
     add 2ff55fa  This closes #132.
     add 681f6ac  MYNEWT-508: Add multiple advertising instances
     add d27e1e9  MYNEWT-508: The ocf at the host needs to be a uint16_t.
     add 1a42c7d  nimble/gap: Fix for missing ble_hs_unlock
     add 183cb6f  BLE ctlr - Fix maybe-uninitialized warning.
     add a14a00b  BLE Host - Use generic fragmentation function.
     add 2e51860  MYNEWT-512 Replace gen. sysinit with linker sect
     add 52416be  MYNEWT-346 BLE Host - Remove extraneous dep.
     add 1692815  Revert "MYNEWT-512 Replace gen. sysinit with linker sect"
     add 2bb1835  nimble: fix sending uuid16 when possible in disc_svc_uuid
     add e0303f8  nimble: fix not handling invalid offset read
     add a14f63e  This closes #142.
     add 9300a97  nimble/test: Fix ble_att_svr_test_find_type_value test cases
     add b48db61  nimble/att: Rename ble_att_svr_is_valid_group_type
     add bdfb3ad  nimble/att: Refactor Find By Type Value handling
     add c802a69  This closes #143.
     add 6ec5a04  nimble: Add PTS tests results and TPG files
     add 42fcfa4  This closes #146.
     add f6cf77f  Add BLE_HOST syscfg setting.
     add 3d704c0  BLE uart - fix host-only build error.
     add d74fb8f  nimble: add offset option to read long in client
     add e2fbd4f  nimble: add offset option to write long in client
     add 9acc53f  This closes #148.
     add 39c39b7  nimble: fix execute write flags
     add 45659f3  nimble: fix send cancel pending writes on error
     add 88abb79  nimble: passed some PTS tests
     add 65baabb  nimble: added missing descriptors
     add 58c303c  nimble: fixed nested long writes
     add 6a5c869  This closes #154.
     add 3909504  MYNEWT-536: mbuf exhaustion can cause supervision timeout
     add 884c98a  BLE Host - Fix double mbuf free.
     add e6db37e  MYNEWT-539: Controller allocates too many os events for commands
     add a8b20f9  nimble/sm: Persist encryption key size
     add 767cbf6  nimble/sm: Store encryption key size in link security state
     add 016672e  nimble/att: Add mimimum encryption key size for attribute
     add 109046b  nimble/att: Support "Insufficient Encryption" error code
     add 799e1f1  nimble/att: Support "Insufficient Encryption Key Size" error code
     add bc74c15  nimble/pts: Update PTS-GATT test results
     add 0f96d03  nimble/pts: Update PTS-GAP test results
     add b391625  This closes #155.
     add 884bde4  nimble/sm: Add support for rejecting pairing with disabled SM
     add d89941d  nimble/sm: Remove not needed stack variables
     add b9fd128  This closes #156.
     add 9cd5612  nimble ble host; assert if host fails to start.
     add 2a1edb2  MYNEWT-542: Controller not working properly if os cputime not 1MHz
     add 08322b5  nimble host test; change the way empty struct is initialized to get this to compile on linux gcc.
     add 2cdde8b  MYNEWT-542: Controller not working if os cputime not 1 MHz.
     add 11d4414  BLE Host - disallow conn to already-connected peer
     add cb5dc3c  sys/stats; move the stats module to sys/stats/full. Tell that sys/stats/full package exports API 'stats'. Packages list 'stats' as required API. Update apps to depend on sys/stats/full.
     add 1710969  sys/stats; add STATS_RESET() to clear counter area from stats structure.
     add 2e00667  sys/log; move log module to sys/log/full. This package exports api 'log'. Packages which used to depend on 'sys/log' now depend on that API. Update apps/unit tests to depend on sys/log/full.
     add 101044b  nimble/gatt: fix zero length attribute read
     add c9de71a  nimble/hci: remove redundant check
     add 3fc7f7b  nimble/ll: fix and refactor set rpa timeout
     add c8b708f  nimble/privacy: fix set private address timeout
     add 26f14b2  nimble/pts: update test results for PTS 7.0
     add 9010260  Update TinyCrypt library to version 0.2.5
     add 1e7fd2c  nimble/sm: Use TinyCrypt for AES
     add dc55366  Update TinyCrypt library to version 0.2.5
     add 818f3f3  nimble/sm: Use TinyCrypt for AES
     add a5b3c14  This closes #161.
     add efba132  nimble: Refactor UUID handling (ATT/GATT)
     add 9a90885  This closes #160.
     add f7a9cde  BLE Host - Allow reconf of connection GAP event cb
     add 1cbaa54  MYNEWT-555 BLE Host - Avoid mbuf copy on chr read
     add cc4a4b9  pkg.yml; update to use the new format of specifying package initialization functions.
     add 7bb5126  Merge branch 'def_task' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
     add bc72631  nimble/gatt: unify discovery api
     add 35e7e90  nimble: Rename htol* and htobe* functions
     add be2503b  Move endiannes related API from ble.h to endian.h
     add 462bc67  MYNEWT-564 BLE Host - Allow byte buf for adv data
     add 5b98573  nimble/sm: Remove useless function declaration
     add e3d8347  nimble/sm: Use packed structures for pairing req and rsp
     add 1929ed0  nimble/sm: Use packed structures for confirm
     add 68f39e6  nimble/sm: Use packed structures for random
     add f32eac3  nimble/sm: Use packed structures for pairing failed
     add c3efdfa  nimble/sm: Use packed structures for encrypt info
     add 13c45f7  nimble/sm: Use packed structures for master id
     add 092bcf1  nimble/sm: Use packed structures for id info
     add 4c871ab  nimble/sm: Use packed structures for id addr info
     add 7f89dc7  nimble/sm: Use packed structures for sign info
     add c42e8d4  nimble/sm: Use packed structures for sec req
     add d34450d  nimble/sm: Use packed structures for pub key
     add 5eb25a4  nimble/sm: Use packed structures for dhkey check
     add 0833fb8  nimble/sm: Remove unused functions
     add 140d098  nimble/sm: Remove op parameter from ble_sm_rx_fn
     add 254bb43  nimble/sm: Move PDU parsing functions to tests
     add f598ff7  nimble/sm: Make ble_sm_build_authreq static
     add cb5e8ac  This closes #166.
     add b6c0a95  nimble/adv: Remove invalid data types
     add e88aef7  nimble/gap: Use raw data only in ble_gap_disc_desc struct
     add 5a90ac0  nimble/adv: Use ble_uuid types in ble_hs_adv_fields
     add df39c45  This closes #169.
     add 7018097  nimble/sm: Fix out of bound access with logs enabled
     add cec87c6  nimble/l2cap: Fix possible NULL pointer dereference
     add bb97704  nimble/hci: Fix passing uninitialized data
     add 73ef029  nimble/gatts: Fix use of uninitialized variable
     add b0008ee  nimble/ll: Fix for compiler warning
     add 5bbb7a1  This closes #172.
     add 8445504  nimble/sm: Use proper address types for confirm
     add 35c71a4  nimble/host: Add generic type for BD address
     add 960ee9c  nimble/sm: Update peer's identity after pairing
     add 66e2733  BLE Host - Fix crash in unit test
     add 87cfb97  BLE Host - Remove dead code.
     add 339b519  nimble/host: Add generic BD address type
     add 157ecf0  MYNEWT-617 BLE Host - UUID-string conv missing '-'
     add 423c67b  nimble/host: Add generic BD address type
     add a51ffc6  nimble/controller; silence compile warning about uninitialized variable.
     add 4f30b4c  Merge branch '1_0_0_b2_dev' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into develop
     add 2d4ff1c  MYNEWT-534 Pkgs set dflt eventq in init function.
     add 6f53861  MYNEWT-579 Free rxed l2cap frags on disconnect.
     add 76085d9  BLE host - add chr-read app err to unit tests.
     add 01f1a2d  nimble/l2cap: Remove not needed checks
     add 3d89ff1  nimble/l2cap: Remove prefix blc_ and blh_ from L2CAP structs
     add e9e029d  nimble/l2cap: Move ble_l2cap_chan_mtu() to ble_att
     add e9e6b32  nimble/l2cap: Add LE L2CAP COC API
     add a378882  nimble/l2cap: Add support to connect L2CAP LE COC
     add 72aebbd  nimble/l2cap: Add support to disconnect L2CAP LE COC
     add 7e10c06  bletiny: Add support to connect/disconnect L2CAP LE COC
     add c15f6db  This closes #171.
     add e6f5c8d  BLE Host - Update for CoC field name change.
     add 6f64a25  nimble: Cleanup address types usage
     add 58da2cc  This closes #174.
     add 691c60b  MYNEWT-627 BLE Host - Join rx frags into 1 mbuf
     add daa1805  MYNEWT-492: Update TBD in syscfg files.
     add 2cf951d  BLE Host - Minor formatting change.
     add 25a5c49  nimble/gap: Fix validation of conn parameters
     add 8259f8a  nimble/gap-test: Add unit tests
     add 24295db  BLE Host - Remove extraneous indentation.
     add 2180c8b  MYNEWT-629: Unexpected advertising state machine stop.
     add 70b94cc  nimble/l2cap: Drop packets bigger than MTU on the channel
     add b3911bb  nimble/sm: Fix for bonding information storing
     add 60cf742  This closes #182.
     add 0c57009  gattc: Fix unnecessary status overwrite in read by type err
     add 5723529  MYNEWT-508: Add multiple advertising instances
     add 113665e  MYNEWT-508: The ocf at the host needs to be a uint16_t.
     add 001f114  nimble/gap: Fix for missing ble_hs_unlock
     add 75bd912  BLE ctlr - Fix maybe-uninitialized warning.
     add 080df0a  BLE Host - Use generic fragmentation function.
     add bafb7d1  merge from develop, and update to support new sysinit
     add d8acafa  Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-mynewt-core into sensors_branch
     add e432d36  Merge branch 'sensors_branch' of https://github.com/vrahane/incubator-mynewt-core into develop
     add 0ec5e2d  MYNEWT-638: Bug when resetting controller while creating connection
     add 83d0e68  MYNEWT-642 Eddystone UID format is incorrect
     add b65d576  MYNEWT-642 Eddystone buf: one byte too large.
     add 1a1637a  MYNEWT-492 - Remove unused obsolete settings.
     add bd50101  MYNEWT-492 Add missing syscfg setting descriptions
     add 6198c07  nimble/l2cap: Fix handling scid/dcid in the channel.
     add 1b3d070  nimble/l2cap: Memset response in L2CAP LE CoC connect request
     add 9d848c9  nimble/l2cap: Fix L2CAP LE CoC disconnection handling
     add 1b22206  nimble/l2cap: Refactor update parameters handling
     add 166b976  nimble/l2cap: Add helper to create L2CAP channel for LE CoC
     add 906d035  nimble/l2cap: Fix handling bad data in L2CAP update parameters response
     add 49f19e0  nimble/l2cap: Refactor handling L2CAP reject command
     add 956dc4b  nimble/l2cap: Remove not needed function ble_l2cap_sig_init_cmd
     add 271ad91  nimble/l2cap: Make ble_l2cap_chan available in ble_l2cap_rx_fn
     add d3001df  nimble/l2cap: Remove not needed **om from ble_l2cap_rx_fn
     add 455a21e  nimble/l2cap: Add LE credits update handling
     add b9f2009  nimble/l2cap: Add handling receiving SDU over L2CAP LE CoC
     add 1494ad5  nimble/l2cap: Add helper to clean L2CAP LE CoC channel
     add 64edb92  nimble/l2cap: Add suppport to send data over L2CAP LE CoC
     add bbb0ece  nibmle/l2cap: Clear LE CoC channel on ACL drop
     add 5c3210a  nimble/l2cap: Handle REJECT CMD on L2CAP LE CoC connection create req
     add 2f9ee02  nimble/l2cap: Fix for possible memory leak
     add 05f4e6e  nimble/l2cap: Fix hanlding broken ACL during L2CAP procedure
     add e9a021e  nimble/l2cap: Improve L2CAP LE CoC connection handling
     add d6726b2  nimble/l2cap: Add initial credits calculations
     add caa36e8  This closes #190.
     add 0ce14e5  Fix invalid memory accesses in ble_uuid_cmp
     add 90f0e52  nimble/gap: Fix bad calculation on connection parameters validation
     add 937ef95  nimble/controller: Minor fix to avoid magic number
     add 2ef8983  nimble/controller: Fix handling incorrect LL opcode
     add e3833ef  MYNEWT-633: Controller does not respond on LL_PHY_REQ
     add 3d7ef4b  MYNEWT-687: Reduce encryption scratchpad size on nrf51
     add ead8995  BLE Host - Rename parameter for clarity
     add bb70d97  BLE Host - Don't allow conn to already-conned peer
     add 1cd36ff  BLE Host - Additional debug logging.
     add 98b9d9d  BLE Host - Add missing #include.
     add 989a302  BLE UART xport - sysinit panic on init fail.
     add b5288b1  BLE Host - Make L2CAP CID definitions public.
     add 89efd17  BLE Host - If initial sync fails, retry later.
     add b5185c5  BLE uart transport: Add text to sysinit panic.
     add a28b394  BLE Host - Remove duplicate conn check.
     add 94d9a59  MYNEWT-697: Controller can leak connection state machines
     add e171c86  MYNEWT-698: Unhandled exception in controller in ble_ll_conn_end
     add 69d782a  MYNEWT-698: Unhandled exception in controller in ble_ll_conn_end
     add c686e87  MYNEWT-700 BLE Host - Race condition: discon + att
     add ac11c3b  nimble/controller: Slight refactor of use of pkt receive time
     add e0b7081  Low power timer. Only nrf52 right now.
     add a993c43  MYNEWT-701: Low power timer support
     add 5650ffd  MYNEWT-702 BLE Host - duplicate update entries
     add 7296555  nimble/controller: Fix for directed advertising report
     add 5f9754f  nimble/controller: Fix len of InitA in advertising report
     add 4116ca3  nimble/controller: Fix mixed AdvAdd and InitA in the advertising report
     add 73e0a49  MYNEWT-698: Unhandled exception in ble_ll_conn_end
     add 2231a26  MYNEWT-668: Improve throughput of BLE connections
     add 32b552e  MYNEWT-702 BLE Host - duplicate update entries
     add d64f4a4  MYNEWT-702 dbg: Erase mempool entries during free.
     add 8a8a82b  MYNEWT-707: Add API to retrieve public and random static address
     add 4ee9441  No jira ticket. Remove unused header file bsp.h
     add 2e5f891  No jira ticket: get native ble building.
     add 8f626dc  No jira ticket: fix uninitialized local variable.
     add 8996b02  nimble/sm: Fix Secure Connection only mode
     add 2c26018  This closes #212.
     add 0c8e780  MYNEWT-713 Sysinit: nimble controller crashes
     add 482e49f  nimble/att: Remove not needed forward declaration
     add 5178765  nimble/att: Add generic helpers for sending commands
     add 0ca890d  nimble/att: Use new helpers for sending error response
     add 1507bbc  nimble/att: Use new helpers for sending MTU exchange
     add d958e0d  nimble/att: Use new helpers for sending read command
     add 5183afb  nimble/att: Use new helpers for sending Read Blob Request
     add 95a706b  nimble/att: Use new helpers for sending Read Multiple Request
     add 6a26ec2  nimble/att: Use new helpers for sending Read By Type Request
     add c4d71bc  nimble/att: Use new helpers for sending Read By Group Type Request
     add 9ff4b02  nimble/att: Use new helpers for sending Find Information Request
     add 0404634  nimble/att: Use new helpers for sending Find By Type Value Request
     add 0348beb  nimble/att: Use new helpers for sending Write Request and Command
     add e819558  nimble/att: Use new helpers for sending Prepare Write Request
     add 13ac13c  nimble/att: Use new helpers for sending Execute Write Request
     add 886bbe6  nimble/att: Use new helpers for sending Notification
     add de2d0e0  nimble/att: Use new helpers for sending Indication
     add c140fc1  nimble/att: Don't pass Error Responce as packed structure
     add 0f28899  nimble/att: Don't pass Writes Response as packed structure
     add 912f12b  nimble/att: Use packed struct for receiving Error Response
     add 4d2962c  nimble/att: Use packed struct for receiving MTU exchange
     add 43c3f35  nimble/att: Use packed struct for receiving Find Information Response
     add 76fd666  nimble/att: Use packed struct for receiving MTU Exchange
     add 3185e37  nimble/att: Use packed struct for receiving Find Information Request
     add 971be8e  nimble/att: Use packed struct for receiving Find By Type Request
     add e952a75  nimble/att: Use packed struct for receiving Find By Type Response
     add b4b8222  nimble/att: Fix no responding with error for invalid data
     add 104b679  nimble/att: Use packed struct for receiving Read By Type Request
     add cb0a7da  nimble/att: Use packed struct for receiving Read By Type Response
     add 3b85591  nimble/att: Use packed struct for receiving Read Request
     add 220c2c5  nimble/att: Use packed struct for receiving Read Blob Request
     add 23d4eaf  nimble/att: Use packed struct for receiving Read Blob Response
     add dfaa361  nimble/att: Use packed struct for receiving Read Multiple Request
     add 9d53dea  nimble/att: Use packed struct for receiving Read Multiple Response
     add 3a8c513  nimble/att: Use packed struct for receiving Read By Group Type Request
     add 310eac1  nimble/att: Use packed struct for receiving Read By Group Type Request
     add ab22cdd  nimble/att: Use packed struct for receiving Write Request and Command
     add f51563a  nimble/att: Use packed struct for receiving Prepare Write Request
     add a8946a4  nimble/att: Use packed struct for receiving Prepare Write Response
     add 6123062  nimble/att: Use packed struct for receiving Execute Write Request
     add 5eff388  nimble/att: Use packed struct for receiving Execute Write Response
     add 7df74a7  nimble/att: Use packed struct for receiving Notification
     add 834ae5c  nimble/att: Use packed struct for receiving Indication
     add 583bcfc  nimble/att: Use packed struct for receiving Write Command
     add 0a61a0f  nimble/att: Strip common ATT header before passing buf to handlers
     add e12a2c4  nimble/att: Use endian.h API for protocol data
     add 0c5ff37  nimble/sm: Use endian.h API for protocol data
     add f4d0995  nimble/l2cap: Remove some dead code
     add 1b00d2a  nimble/l2cap: Use endian.h API for protocol data
     add d0eb8ca  nimble: Remove ble_hs_endian_priv.h API
     add a7c7ce8  nimble/l2cap: Fix locking when receiving LE CoC credit update
     add a8f3314  nimble/l2cap: Fix locking on LE CoC connect
     add ab7dc69  nimble/l2cap: Fix locking on incoming LE CoC connect request
     add dfe35ac  nimble/l2cap: Fix for reject incoming LE CoC channel
     add 1294a7f  nimble/l2cap: Fix logs on LE CoC receive data
     add 621e2d9  nimble/l2cap: Fix hs locking issue when sending le_credit_update
     add c29f408  nimble/l2cap: Add initial unit tests for LE CoC
     add 768267a  nimble/pts: Update pts files due to L2CAP LE CoC
     add 7afc9a2  nimble/l2cap: Add PTS instructions for LE CoC and run all the testcases
     add 26e9b55  This closes #206.
     add 31488f5  nimble/controller: No jira ticket.
     add 7753345  nimble/controller: MYNEWT-726
     add a3e0862  BLE Host - Check tx of disc-svc-uuid in unit tests
     add 9f5852b  MYNEWT-732: Fix ble_gattc_disc_svc_by_uuid
     add 22a4ece  This closes #237.
     add 47d3216  MYNEWT-736 NimBLE - UART xport can't send multibuf
     add 53c595d  net/nimble; add HCI transport which has Linux bluetooth socket, or TCP socket as it's target.
     add 853b97c  nimble/transport/socket; forgot to register with stats package.
     add 0d08166  This closes #221.
     add d7792a2  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient
     add 0a32622  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient
     add 75cb545  MYNEWT-738: Fix parameter array errors
     add ad61581  This closes #245
     add 16f9fe2  nimble/ll: Fix sending features xchange PDUs
     add a280e18  nimble/ll: Add option to schedule connection with non-zero WindowOffset
     add 685ca06  nimble/ll: Change LL PDU name to match spec
     add bea3e7d  nimble/ll: Check peer features for LE Connection Update
     add 2c4bef9  nimble/gap: Fix lock issue
     add e930d09  nimble/controller: Use scansm from function parameter
     add cd184ce  This closes #276
     add de05abb  fix double semicolons
     add f5b80b1  net/nimble; we reject BCM2837 on raspberry pi for higher tx power report. Up the allowed range to accomodate it.
     add 357838f  net/nimble/hs; QCA6234 rejects 2nd page of event settings. Instead of failing, log the event as warning and continue.
     add de749c2  net/nimble; adjust BCM2837 fix to print a warning instead of erroring. Keep header file define the same.
     add ea659ce  MYNEWT-754 BLE Host - cfgable RAM store capacity
     add d0abe94  MYNEWT-754 BLE host - Store cb can abort iterate.
     add cb63ab9  MYNEWT-754 BLE host - addrcmp ignores padding.
     add e38f454  MYNEWT-754 BLE Host - iterate: return err on fail
     add 86f1ffc  MYNEWT-754 BLE Host - Store mgmt API additions
     add 405d3a7  MYNEWT-754 BLE Host - Add some missing consts.
     add e55fdba  MYNEWT-754 BLE Host - Basic store util unit tests.
     add a9a953d  MYNEWT-754 BLE Host - Support deleting of CCCDs.
     add ea54e59  This closes #277.
     add e356a09  nimble/host: fix find by address when addr is NULL
     add 2a6c737  nimble/controller: Fix setting parameters for scanning
     add afcabd3  This closes #290
     add c057702  nimble/l2cap: Fix double free when calling ble_l2cap_discard_rx
     add 3d60c8c  nimble/sm: Fix passing rx_buf to the sm callback
     add 290d19f  This closes #292.
     add 02322e1  double include nrf52_bitfields.h
     add 0bc61d1  BLE Host - Fix peer OTA addr and type on pairing.
     add 04fb48f  Merge pull request #255 from ccollins476ad/ble-preserve-ota
     add 111c2fa  ibeacon: add fields.flags
     add 1cab82f  nimble: fix gap logging on advertise
     add 6b20018  nimble: gap slave remove unused struct items
     add b2d90df  Merge pull request #296 from jacobrosenthal/gap-log
     add 81cc455  MYNEWT-772 BLE Host - Rsrvd bits in set-event-mask
     add e9a60ce  MYNEWT-772 BLE Host - Rsrvd bits in set-event-mask
     add 083bc63  This closes #307.
     add 75ac749  Merge branch 'master' into myn689
     add c6d7cc6  MYNEWT-550 Signal GAP event for custom notifies.
     add 7a1d8ec  MYNEWT-550 Add ble_gattc_indicate_custom()
     add f591940  Fix typo ("ACM" should be "ACL").
     add 5cbefd2  This closes #310.
     add 52e2170  MYNEWT-738: Fix parameter arrays
     add 7dc237a  Merge pull request #311 from wes3/myn738
     add 95dc9bb  BLE Host - Make ble_hs_sched_reset()
     add c9fc6cc  MYNEWT-750 Fix some coding style issues.
     add 92c7b67  MYNEWT-750 BLE Host - Persist SC flag for bonds.
     add ecbdb91  MYNEWT-750 - Authenticated flag incorrect.
     add 915d370  MYNEWT-750 BLE Host - Ignore pair from bonded peer
     add 327e5e5  MYNEWT-750 Fix build when SM disabled.
     add 52f431d  Merge pull request #287 from ccollins476ad/repeat-pairing
     add de78fc0  BLE Host - decrease dflt mtu; make cfgable.
     add b0b7c11  nimble/host: add api to print local gatt server database
     add 004df08  Merge pull request #293 from michal-narajowski/btshell
     add 04ba711  MYNEWT-751 BLE Host - Policy for SM key overflow
     add d410bf9  MYNEWT-751 - Slight change to internal function.
     add aaa6840  MYNEWT-751 Make ble_store_status() private.
     add a1cbeca  MYNEWT-751 store event API change
     add a0f6959  Merge pull request #279 from ccollins476ad/key-wont-fit
     add 5170615  BLE Host - Remove unused functions.
     add 5bb7bce  BLE Host - Allow get / set of channel map.
     add d3501be  MYNEWT-743 BLE Host - Persist bonds to sys/config
     add 59ea30e  Merge pull request #280 from ccollins476ad/store-config
     add d382f34  hw/drivers: trace ble_rng_isr calls
     add 2c53ab2  Merge pull request #344 from michal-narajowski/systemview
     add 95e350a  BLE Host - Add missing #include.
     add 5ba4329  BLE Host - Remove BLE_EDDYSTONE syscfg setting.
     add dfbbc36  remove misplaced duplicate of link lost service
     add 4a44a7e  Merge pull request #371 from bgiori/remove_lls
     add 2872354  MYNEWT-749 BLE Host - Don't persist if keydist==0
     add 13467bc  Merge pull request #370 from ccollins476ad/key-dist-0
     add 07651bd  Give HCI socket transport its own task.
     add 5d3ce87  Merge pull request #384 from ccollins476ad/ble-hci-task
     add 8d96286  testutil - Remove init boilerplate.
     add 5e1bc54  Merge pull request #363 from ccollins476ad/testutil-init
     add 970a199  MYNEWT-268 BLE Host - enable factory reset
     add 10e524c  Merge pull request #380 from ccollins476ad/ble-store-clear
     add 9b5c46c  nimble/monitor: Add monitor interface over UART
     add 78232da  nimble/monitor: Add monitor interface over RTT
     add 9eb124b  nimble/monitor: Add call to log via monitor interface
     add f9ceee4  nimble/monitor: Add call to output text via monitor interface
     add 0d3b490  nimble/monitor: Add intermediate buffer option for RTT
     add 6f28fee  nimble: Disable HCI logs when monitor is enabled
     add e0e5939  nimble/monitor: Add delay in UART queue flush
     add 31b5730  nimble/monitor: Fix coding style
     add 1dce77d  nimble/monitor: Make UART device configurable in syscfg
     add 2318e74  nimble/monitor: Make RTT upstream buffer name configurable
     add 9201968  nimble/monitor: Make controller name static
     add 1d24179  nimble/monitor: Use vsnprintf to calculate characters in log message
     add f7d6997  Merge pull request #372 from andrzej-kaczmarek/btmon_core
     add 09c106c  BLE Host - Add comments; move decls to priv hdrs.
     add 431f640  nimble/controller: Fix scheduler advertising halt error
     add 4168d7c  Merge pull request #403 from wes3/myn810
     add c145f98  Remove incubator leftovers
     add ec0ad6a  nimble/controller: Change LL and HCI version to Bluetooth 5.0
     add 71666ce  nimble/controller: Add support for high duty cycle non-conn
     add 9a78c0b  nimble: Add defines for all Bluetooth 5.0 HCI commands and events
     add 5cbc31d  nimble/controller: Add support for handling privacy modes
     add e88edf8  nimble/controller: Add helper to check if controller is busy
     add 0389031  nimble/host: Add support for privacy modes
     add 5b0e50c  nimble/controller: Add Channel Selection Algorithm #2 implementation
     add e95b5a1  nimble/controller: Use common implementation for channel remapping
     add f0a4d4e  nimble/controller: Add initial unit tests for controller
     add 88b9b28  nimble/controller: Add support for Channel Selection Algorithm #2
     add 24399a9  nimble/controller: Improve CSA #2 channel identifier calculation
     add 863834a  nimble/controller: Add CSA #2 to supported features
     add 826d537  nimble/controller: Send LE Channel Selection Algorithm Event
     add 6f81228  nimble/controller: Rename and move ble_ll_conn_csa2_remapped_channel
     add 0e1b37e  nimble/controller: Use single function for DCI calculation
     add 9b28fc7  nimble/controller: Move latency calculations to ble_ll_conn_calc_dci
     add 7c1e45f  nimble/controller: Allow to configure CSA #2 support
     add e810d9f  controller: Minor comment fix
     add b07436d  This closes #226.
     add bd5e189  nimble/controller: No jira ticket.
     add d9926b4  nimble/hci: Remove reduntant checks
     add 9ac7010  nimble/hci: Add LE read PHY command
     add 02307b6  nimble/hci: Add LE set default PHY command
     add 5b13a72  nimble/hci: Add LE set PHY command
     add a6e239e  nimble/gap: Add API to manage LE PHY
     add 2094a95  This closes #250.
     add d7c0ae0  nimble/controller: MYNEWT-726
     add 568b750  MYNEWT-723: Add control procedure code and HCI command/event code.
     add e121baa  MYNEWT-723: L# 2Mbit and Long range support
     add 8d5679f  MYNEWT-723: Add PHY support to change modulations for 2M phy.
     add 72f7eab  MYNEWT-723: Add control procedure code and HCI command/event code.
     add d00d551  MYNEWT-723: Some additional changes to get the basic 2Mbps PHY support.
     add 7a2f0a0  MYNEWT-723: Fix setting current PHY
     add c25e436  MYNEWT-723: Fix creating LL_PHY_REQ
     add 9dff995  MYNEWT-723: Fix build issue
     add ef44890  nimble/controller: Fix controller unit test
     add f530137  Fix native controller build
     add e291fa7  Merge branch 'master' into bluetooth5
     add e895f24  Merge branch 'master' into bluetooth5_master
     add 44c8a83  nimble/controller: Fix checking PHY Options in LE Set PHY
     add a0b7168  nimble/controller: Fix applying PHY update
     add 3391831  nimble/controller: Cleanup PHY symbols names
     add e3690aa  nimble/controller: Fix setting LE Coded PHY feature flag
     add 2ae275f  nimble/controller: Add access address constraints for LE Coded PHY
     add 66dceff  nimble/controller: Add configuration for LE Coded PHY
     add 3e2e34d  nimble/phy: Cleanup PCNF0 settings
     add 3680ced  nimble/phy: Fix CRC configuration
     add 48f9cd4  nimble/phy: Fix CRC poly configuration
     add d4fb1cb  nimble/phy: Fix access address configuration
     add 3a551c5  nimble/phy: Ugly hack for TX/RX transition timing
     add e82c4cb  Merge branch 'master' into bluetooth5_master
     add fde83b6  nimble/controller: Fix applying PHY Options in LE Set PHY
     add 9dcf3f3  nimble/controller: Move helpers for PDU duration from phy to ll
     add ec2903b  nimble/controller: Make number of PHY modes a common definition
     add 6b7eab8  nimble/controller: Make PDU header TX times easily accessible
     add a3fc2f6  nimble/controller: Add helper to calculate payload octets per TX time
     add 2842624  nimble/controller: Store max TX octets in each PHY mode
     add b60c13b  nimble/controller: Adjust TX size to fit in maxTxTime
     add 5b4f3d8  nimble/controller: Add current phy getter
     add 5d6a0a9  nimble/controller: Add proper conn event scheduling for secondary adv ch
     add 202d4dd  nimble/controller: Minor fix: Keep consistent function names
     add 2c99e39  nimble/controller/phy: Move helper function to header
     add 54129ea  nimble/controller: Fix compiler warning
     add 1cd9839  nimble/controller: Enhance scansm for future support of Bluetooth 5.0
     add f8a1544  nimble/controller: Add support for extended scan
     add ddec542  nimble/controller: Fix scan comment
     add 9c12a71  nimble/controller: Refactor ble_ll_scan_window_chk
     add b9cf4fa  nimble/controller: Refactor ble_ll_scan_proc function
     add 32ebb02  nimble/controller: Add restriction for extended scan
     add f62411d  nimble/controller: Add support for scan using two PHYs
     add 4384b6e  nimble/controller: Change PHY when extended scan requires that
     add 20250b5  nimble/controller: Make use of access_add nad crcinit for scan/adv
     add 2a4f74c  nimble/controller: Extract function to prepare and send adv report
     add 1fe8606  nimble/controller: Improve flow for handling connection data
     add c6809af  nimble/controller: Refactor a bit ble_ll_init_rx_isr_end
     add 84673de  nimble/controller/sched: Remove reduntant declarations
     add 3fc3ecd  nimble/controller: Add parser for extended advertising
     add ab9593a  nimble/controller: Add support to create extended connection
     add e1cd936  nimble/controller: Fix for scanning freeze
     add 35f4b71  nimble/controller: Make rxinfo macros return casted values
     add 464508c  nimble/controller: Fix rxinfo rx state mask
     add c36094b  nimble/controller: Fix conn params check
     add f241110  nimble/controller: Increase stack
     add 613ac75  nimble/controller: Minor coding style fix
     add bc80060  nimble/controller: Sort out flag configuration for BT5
     add c7408d0  nimble/controller: Fix build for 1M
     add 71038d8  nimble/controller: Fix build issue for non Bluetooth 5 configuration
     add b0235a4  nimble/controller: Fix for nrf51 build error
     add 468638d  nimble/controller: Fix checking for supported PHY
     add 40cdbe6  nimble/controller: CSA2 is mandatory for extended advertising
     add 3ccbf9d  nimble/controller: Minor coding style fix
     add 1510f66  nimble/controller: Fix for write above array bound
     add 37904f3  nimble/controller: Fix native and nrf51 header on RX
     add 9398310  nimble/controller: Header already contains valid phy
     add b99f4d0  nimble/controller: Allow 2M and Coded PHYs only on nRF52840
     add b8a5059  nimble/controller: Remove code for 1MHz clock
     add 3d97cd6  nimble/controller: Fix build with native phy
     add 2d8e3de  nimble/controller: Emit build error when building with non-32kHz clock
     add 67b5c46  nimble/controller: Add LP clock sysval to configure BSP
     add 0ac066c  Merge pull request #341 from andrzej-kaczmarek/remove_1mhz
     add 388fbe7  nimble/hci: Add HCI commands for enhanced trans/recv test
     add df49632  nimble/hci: Add set extended scan parameters command
     add 13c519b  nimble/gap: Add API for extended scan
     add 1cfe633  nimble/hci: Remove reduntant declaration
     add 3014e45  nimble/hci: Minor coding style fix
     add 30eb800  nimble/hci: Add support for HCI create ext connect
     add 3a0e8f8  nimble/gap: Add GAP API for extended connection
     add 460b464  nimble/gap: Add support for handling extended advertising event
     add d10f198  nimble: Add BLE_EXT_ADV MYNEWT_VAL
     add a219740  nimble/controller: Remove few not needed #ifdefs
     add 9c5f0de  nimble/controller: Rename BLE_MULTI_ADV_SUPPORT
     add e45518d  nimble/controller: Don't build VS code if Android VS are not enabled
     add 96989da  nimble/controller: Reject le set adv if connectable
     add 0766c50  nimble/controller: Add initial stubs for Ext Advertising HCI commands
     add c8ad2c7  nimble/controller: Add LE Set Extended Advertising Enable Command
     add 0fcafef  nimble/controller: Add LE Remove Advertising Set Command
     add f11c4c5  nimble/controller: Add LE Clear Advertising Sets Command
     add 92d91a5  nimble/controller: Add LE Set Extended Advertising Data Command
     add fad18e9  nimble/controller: Add LE Set Extended Scan Response Data Command
     add 9ff6333  nimble/controller: Add LE Set Extended Advertising Parameters Command
     add fff1b2c  nimble/controller: Use properties for storing advertising type
     add ec76874  nimble/controller: Add support for non-connectable advertising
     add 80075eb  nimble/controller: Add support for sending AUX_SCAN_RSP
     add 79e2ff4  nimble/controller: Send LE Scan Request Received Event
     add acc8071  nimble/controller: Reply with AUX_CONN_RSP for connection request
     add 4bb1e1d  nimble/controller: Add support for sending Set Terminated event
     add ff5d960  nimble/controller: Remove leftover TODOs
     add 0f41b34  nimble/controller: Use flags for storing flag-like values
     add 1f616d3  nimble/controller: Adjust slave anchor point based on PHY used
     add 580c0dd  nimble/controller: Schedule AUX_ADV_IND based ADV_EXT_IND channel mask
     add 3ac3f41  nimble/controller: Add support for setting advertising TX power
     add 2b5c570  nimble/controller: Reduce padding in ble_ll_adv_sm
     add 85ff7e4  nimble/controller: Remove support for Android specific HCI commands
     add 6aa48e0  nimble/controller: Fix build with extended advertising disabled
     add 5b0eb58  nimble/controller: Store DID and SID in single variable
     add 7d33106  nimble/controller: Use flag for marking advertising on data channel
     add b8308fa  Merge pull request #360 from sjanc/bt5_ext_adv
     add 7c79cdf  nimble/controller: Remove restriction whcih does not work in this case
     add 837cb1c  Merge branch 'master' into bluetooth5_master
     add 7b7d06f  Merge pull request #364 from sjanc/bluetooth5_master
     add 8423c0e  nimble/controller: Add MYNEWT_VAL to enable/disable HW whitelist
     add c6190cb  nimble/controller: For Bluetooth5 disable HW whitelist
     add c319caf  nimble/controller: Fix handling scan req during extended scan
     add 4cd2042  nimble/controller: Add support for whitelist and privacy for extended adv
     add f04dda4  nimble/controller: Add default values to extended advertising event
     add 56bc5d2  nimble/controller: Ignore scan rsp which is not an answer on scan req
     add 3500995  nimble/hci: Fix mapping legacy event types
     add 7134ac5  Merge pull request #367 from rymanluk/bt5_scanner
     add 5ea6f0e  nimble/controller: Fix set adv enable hci cmd processing
     add 89055ff  nimble/controller: Remove phy_data from non-phy builds
     add 7c77f17  nimble/controller: Fix for missing scansm pointer in connsm
     add 023a95f  nimble/controller: Remove reduntant checks for OS_CPUTIME_FREQ
     add 3c7c4f6  nimble/host: Store local controller supported features
     add b29268d  nimble/host: Store peer supported features
     add d3024b7  nimble/host: Use features to check parameters update procedure
     add 94bf046  nimble/controller: Fix LE Connection Update status code in slave role
     add 54ded8e  nimble/controller: Enable Connection Parameters Request procedure
     add ccae541  nimble/controller: Fix features handling
     add c2f06e6  nimble/controller: Refactor remote features handling
     add ef7803a  nimble/controller: Initiate data length update if remote supports it
     add 0c51139  nimble/controller: Update supported HCI commands mask
     add 11f1689  nimble/controller: Remove callout for HCI Read Remote Features event
     add eea3d0a  nimble/host: Do not enable unnecessary events from controller
     add 2919576  Merge pull request #375 from andrzej-kaczmarek/bt5-featexch
     add 03c4084  nimble/test: Update unittests after features exchange changes
     add 7bb2827  nimble/transport: Add support fot extended advertising
     add 5c8a37b  nimble/controller: Add MYNEWT_VAL BLE_LL_EXT_ADV_AUX_PTR_CNT
     add c520674  nimble/controller: Fix BLE_LL_MAX_EVT_LEN
     add b931720  nimble/controller: Minor fix for correct define usage
     add 53b56b1  nimble/controller: Make sure auxiliary offset is good enough
     add 71fd58a  nimble/controller: Improve handling aux scan response
     add 4a00779  nimble/controller: Add stats for aux scan req/rsp
     add 3b123a8  nimble/controller: Support ext scanner for chain aux ptr
     add 8ce9597  nimble/controller: Remove not needed flag from header
     add 84c5863  nimble/controller: Fix for regression in extended connect
     add 62aec60  nimble/controller: Improve handling hci create connection command
     add 55b4e1c  nimble/controller: Fix window delay for PHY 2M
     add 6284f5c  nimble/controller: Allow to use larger advertising data
     add 641715f  nimble/controller: Fix calculating AUX_ADV_IND start time
     add 9102eaf  nimble/controller: Fix calculating ext advertising PDUs TX time
     add df46ec9  Merge pull request #379 from sjanc/bt5_ext_adv
     add 4852591  Merge branch 'master' into bluetooth5_master
     add 14215cf  Merge pull request #382 from sjanc/bluetooth5_master
     add 3b9ca6b  nimble/controller: Disable LL logs
     add fceb860  nimble/controller: Improve validation on extended connect command
     add dd27259  Merge pull request #387 from rymanluk/bt5_fix
     add 4246f6c  nimble/controller: Fix build error with ext adv disabled
     add db2c2aa  nimble/controller: fix null pointer dereference
     add bbcd2a4  Merge branch 'master' into bluetooth5_master
     add ba00a13  nimble/controller: Create ble_ll_init_rx_isr_start
     add d1860ba  nimble/controller: Fix AAR usage for extended advertising
     add fa39a9e  nimble/controller/nrf51: Fix configuration for privacy in BT5
     add 8efd7e9  nimble/controller: Minor doxygen fixes
     add 742b3b0  nimble/phy: Cleanup AAR initialization
     add 6ced777  Merge pull request #401 from andrzej-kaczmarek/bt5-aar-fix
     add 0274081  nimble/controller: Add support for ext advertising duration
     add f9bf761  nimble/controller: Remove redundant call to ble_ll_scan_chk_resume
     add 6654d3b  Merge pull request #402 from sjanc/bt5_ext_adv
     add 6f5e96d  nimble/host: fix uninitialized value
     add 191fac4  nimble/controller: fix uninitialized value
     add 43de01f  nimble/controller: fix null pointer dereference
     add a65e329  nimble/controller: fix undefined result of << expression
     add b4a6738  nimble/host: add missing rc check when setting adv fields
     add 43118c2  nimble/host: handle error case on ble_svc_ans_chr_write
     add 93d1540  Merge pull request #398 from michal-narajowski/bt5-fixes
     add e859bc9  nimble: convert HCI error codes to hex
     add 09cc501  Merge branch 'master' into bluetooth5_master
     add 9f278a5  nimble/controller: Fix setting PHY for slave connection
     add 9345831  nimble/controller: Fix typo
     add c79ef7f  nimble/controller: Fix connMaxTxTime calculation on coded PHY
     add 33b131c  nimble/controller: Fix initial conn event scheduling on ext adv
     add e9fa51d  nimble/hs: Update enabled LE Event Mask
     add 98abc42  nimble/controller: Fix length for advertising report HCI event
     add 9fc4c79  nimble/controller: Fix advertising report HCI event with empty adv data
     add 0d83f2a  nimble/controller: Fix event mask checking for advertising report HCI events
     add 5ba8fb5  nimble/controller: Remove unused subev parameter
     add 7c12d8e  nimble/controller: Improve advertising report HCI event building
     add 7cd361a  nimble/pts: update PTS GAP test scenarios
     add 07c3802  nimble/pts: update PTS SM test scenarios
     add 8cf705c  nimble/pts: update PTS GATT test scenarios
     add f59ca37  nimble/pts: update testing dates
     add 95eb9f5  nimble/host: fix SM legacy authenticated pairing
     add dccb517  nimble/host: fix SM SC authenticated pairing
     add 5738a4d  Merge pull request #415 from michal-narajowski/bt5-regression-tests
     add b57fc4f  nimble/host: Add builder functions for Ext Adv HCI commands
     add 6ad9cf2  nimble/host: Add support for using Extended Advertising
     add b257408  Merge pull request #428 from sjanc/bt5_ext_adv_host
     add 74b772c  nimble/test: update tests after bugfix in SM legacy
     add bfcf2ed  Merge pull request #437 from sjanc/master_bluetooth5
     add 763ca94  Remove last incubator leftovers
     add a6f48d6  [MYNEWT-285] nimble/phy: Fix CRC checking
     add e33baef  Merge pull request #449 from andrzej-kaczmarek/nimble-crc-check
     add 735b125  Initial commit for the "body sensor network" code changes.
     add badbbf8  nimble/controller: merge bsnbranch into bluetooth5
     add cd5448c  nimble/controller: bsnbranch merge into bluetooth5
     add 3f50cd7  Merge pull request #422 from wes3/bsnbranch
     add 3370618  nimble/controller: Fix legacy scanning
     add 4778a10  Merge pull request #452 from andrzej-kaczmarek/bt5-legacy-scan-fix
     add 0b2cd31  nimble/controller: Apply wfr workaround to Coded PHY only
     add 6bbbc77  nimble/controller: Remove invalid comment
     add e89f712  nimble/controller: Ignore PDUs with invalid CRC in init state
     add 2216adc  nimble/controller: Fix wfr timer handling in init state
     add c0ad140  nimble/controller: Fix AUX_CONNECT_RSP handling
     add cb5077a  nimble/phy: Fix BCC for LE Coded PHY
     add 51ba410  nimble/controller: Add stat for AUX_CONNECT_RSP tx
     add 72d2e49  nimble/controller: Minor coding style
     add b42af78  nimble/controller: Minor comment fix and cleanup
     add b34074c  nimble/controller: Minor fix function name
     add 33871c9  nimble/phy: Set proper CCM datarate
     add c47129e  nimble/phy: Fix key-stream generation in CCM
     add 5945b72  nimble/phy: Fix build error on nRF52
     add e3d6766  nimble/controller: Fix privacy mode
     add 9029951  nimble/controller: Fix handling direct advertising
     add 368f819  nimble/controller: Fix interval settings for directed advertising
     add 1f10126  nimble/host: Fix HD directed advertising with extended advertising
     add fad0747  Merge pull request #463 from sjanc/directed_adv_fixes
     add 2829735  nimble/phy: Fix resolving address
     add 77b3bdb  Fix host unit test compiler error on mac.
     add 1758c04  nimble/phy: Fix resolving address on nRF51
     add 0de57d5  Merge pull request #467 from andrzej-kaczmarek/bt5-resolv-fix
     add 1f9772a  nimble/controller: Fix scan response set for legacy
     add 5faa62b  nimble/controller: Fix build issue when BT5_PHY is set but not EXT ADV
     add 31721e8  nimble: Fix setting advertising instance random address
     add 663ec2f  nrf51 ble; fix compilation when BLE_LL_CFG_FEAT_LL_PRIVACY is not set.
     add 06e748d  nimble/controller: Fix handling privacy mode
     add a598de0  Merge pull request #476 from rymanluk/bt5_privacy_mode_fix
     add 5157ca1  nimble/controller: Improve handling aux ptr scheduller
     add 690c5f2  nimble/controller: Fix duration for aux packet
     add 969af06  nimble/controller: Fix for checking valid scanning PHY
     add 44eb417  nimble/controller: Fix build issue when PHY is not set
     add 9dfb1fe  Merge pull request #461 from rymanluk/bt5_scanner_improve
     add ec5b610  BLE Host - Remove start event.
     add b86f28d  BLE Host - Change unit test to use dflt evq.
     add ec377c1  BLE Host - Allow GATT svcs to be reg. after init.
     add 0618483  BLE Host - Remove unnecessary const in chr def.
     add 594dc85  BLE Host - Function to copy a UUID.
     add dd66006  BLE Host - GATT svr now Initializes ATT svr.
     add 5acfc47  This closes #480.
     add a0809fa  nimble/sm: Fix passing uninitialized variable
     add 67734bc  nimble/sm: Fix buffer overflow when copying address
     add 0b40a23  nimble/gap: Fix NULL pointer dereference
     add ad61510  nimble/gap: Fix storing pointer for local outside of scope
     add eb3468d  nimble/sm: Fix NULL pointer dereference
     add 7fc9bcb  nimble/sm: Fix os_mbuf leaks on keys distribution
     add b6b97dc  nimble/host: Remove redundant check for unsigned value
     add 056f549  nimble/controller: Fix out of bound access to g_ble_ll_adv_sm
     add 68db52f  nimble/controller: Remove redundant NULL checks
     add 4b7856d  nimble/controller: Fix checking for invalid PHY in aux ptr
     add c52f0c5  Merge pull request #489 from sjanc/static_check
     add 72549d4  nimble/host: Refactor HCI commands sending functions
     add 7877690  nimble/host: Allow to hide GATT services from clients
     add 96d8275  nimble/host: Fix searching for descriptor in gatts
     add 29e7f82  BLE Host - Don't abort reset if HCI restart fails.
     add 969bd26  nimble/l2cap: Remove redundant NULL check
     add 2e66dcd  nimble/controller: Fix validating extended advertising phy
     add 947a8ab  nimble/ans: Assert on invalid operation
     add 2b5468a  nimble/ans: Fix out of bounds access
     add 7c4d175  Merge pull request #493 from sjanc/static_check
     add c8e26ec  nimble/host: Fix build with new TinyCrypt
     add 725aa7d  nimble/host: fix event flag check
     add 7351399  Revert "nimble/host: Fix build with new TinyCrypt"
     add dfca210  nimble/test: Pass SM public key structure to ble_sm_dbg_set_sc_keys
     add bfa341f  nimble/test: Check for ble_gap_conn_find return value
     add f38900b  nimble/test: Assert all os_mbuf operations
     add 4dad6ae  nimble/tests: Fix possible NULL pointer dereference
     add d65d2d8  nimble/test: Fix setting channel map for CSA2
     add 56e470e  nimble/test: Limit max characteristics when validating handling
     add ea1c51a  nimble/test: Fix max intervals in L2CAP tests
     add 24c39e2  nimble/test: Limit max characteristics when validating handling FIX
     add 5516512  Remove some dead code from native controller
     add c4fb11c   Remove some dead code from native controller FIXXXX
     add 4346852  BLE Host - Automatic own-addr-type resolution
     add e5154f2  BLE Host - Allow NULL output params in ID fns.
     add 566ddac  Add function to load at least one BLE addr from hw
     add 7bcddcf  Merge pull request #483 from ccollins476ad/ble-auto-addr
     add 1b5691b  mesh: One to one copy of Mesh from Zephyr
     add b871a00  nimble/mesh: Porting Mesh to Mynewt
     add 23827a8  mesh: Fix setting the right value for Static OOB type
     add ea1af25  Merge pull request #511 from rymanluk/porting
     add 3bdb93c  nimble/mesh: assert on out of prov buffers
     add 818c02e  nimble/mesh: Fix failed provisioning response
     add 01d3514  Merge pull request #521 from michal-narajowski/mesh-porting-fixes
     add e37134c  nimble/test: Assert os_mbuf operations in GATT tests
     add 0c56f9c  Merge pull request #520 from sjanc/static_check
     add f361dd5  nimble/hs: Make ble_hs_evq_get() private API
     add 30fcf7f  nimble/monitor: Make RTT buffer size configurable
     add 16ce31f  nimble/monitor: Make UART ring buffer size configurable
     add ec11d68  nimble/monitor: Make console out buffer size configurable
     add bc98862  nimble/monitor: Always use uptime for timestamp
     add ba6b177  nimble/monitor: Fix ble_monitor_out
     add 0fff446  nimble/monitor: Add reporting of dropped packets
     add 97c7608  Merge pull request #519 from andrzej-kaczmarek/monitor-dev
     add 784b3b0  nimble/l2cap: Fix use on uninitialized value
     add 0a418b4  nimble/gap: Fix pointer to local outside of scope
     add 63aef01  nimble/mesh: Clear link TX when ACK arrived on it
     add 825d0ed  nimble/controller: Fix disconnection event status
     add 9c8eb7c  nimble/ll: Fix duplicates filtering in scanner
     add 122af7a  Merge pull request #533 from andrzej-kaczmarek/nimble-ll-dup-fix
     add 181c477  nimble/sm: Use privacy device mode as default
     add 3107fa6  Merge pull request #534 from rymanluk/priv_fix
     add e9f824c  nimble/controller: Fix scan long advertising packets
     add 4e58b27  nimble/controller: Decrease size of struct ble_mbuf_hdr
     add 0d3bbd1  Merge pull request #537 from rymanluk/scan_fix
     add 490ed01  nimble/mesh: Return once app-key is found and handled
     add aecb396  nimble/controller: Drop adv event if it is too big
     add 9af4f74  Merge pull request #539 from rymanluk/scan_fix
     add 25f35af  nimble/ll: Increase stack for ble_ll_task
     add ae9a7a8  Merge pull request #538 from andrzej-kaczmarek/nimble-ll-stack-fix
     add 275f2a4  mesh: send ack for every message with matching FSC
     add 1b1443c  mesh: add missing argument to delayed work in configuration
     add 3e5c676  mesh: fix null ptr access
     add 0e5c63f  mesh: return buffer even when no usrhdr
     add d8a8d09  mesh: fix handling group send with local interface enabled
     add d296134  mesh: fix initialize message queue
     add 9bae4ed  mesh: check destination address on receive
     add 01fc296  mesh: add log message when dropping packet because unprovisioned
     add 5deed11  mesh: add extended debug flag for printing adv packets
     add 4ff2f27  mesh: fix typo in setting friend config
     add 1d8f51a  mesh: fix toggling debug logs per layer
     add 1fdd3df  mesh: add missing delayed work argument
     add 73d1586  mesh: fix setting message fields in health model
     add 2e17024  mesh: add more debug logs in network layer
     add 810eb2e  mesh: set delayed timer for periodic publish before publishing
     add 02b43a9  mesh: set company id field in health status message
     add 51440bb  Remove extraneous #include.
     add 5214fd3  Merge pull request #562 from ccollins476ad/bswap-errors
     add 5a15974  nimble/host: Fix invalid symbol name
     add c0aa11f  nimble/phy: Remove unused code
     add f553427  nimble/phy: Enable workaround for nRF52840 errata #164
     add d7308fb  Merge pull request #569 from andrzej-kaczmarek/nimble-phy-fix
     add a3a94a3  nimble/host: Add symbol for 'any' phy mask
     add a0a4fa6  Merge pull request #572 from andrzej-kaczmarek/nimble-host-symbol-fix
     add f83cfe2  nimble/ll: Fix setting default phy prefs
     add 76bfb6e  nimble/ll: Enforce minimum payload length for coded phy
     add 1724135  nimble/ll: Drop packets with empty payload for LL Control PDU
     add e945bfc  nimble/controller: Remove misleading TODO
     add f05e87b  nimble/phy: Enable fast radio ramp-up
     add cd97ab4  nimble/phy: Implement software T_IFS control
     add 1c7c3ac  nimble/phy: Fix wfr time calculations
     add c9c22a1  nimble/phy: Fix possible race between wfr and EVENTS_ADDRESS
     add ba8dac3  nimble/phy: Add code to debug radio timings
     add 2f56305  nimble/phy: Allow extra t_ifs margin on receive
     add ffd3f64  Merge pull request #576 from andrzej-kaczmarek/tifs-rework
     add 0296a84  Revert "mesh: fix handling group send with local interface enabled"
     add 01acbe4  mesh: Remove local network interface MYNEWT_VAL option
     add cd000e3  mesh: Allow TTL <= 1 for the local net interface
     add 57d67a4  nimble/host: Allow setting adv data when advertising
     add 1ee5260  Rename BLE socket task "sock" --> "hci_sock"
     add 3ba9b33  Merge pull request #582 from ccollins476ad/native-sock-write
     add 24c1d9c  BLE Host - Make ble_hs_id_infer_auto() public.
     add d359be9  nimble/host: Update with new Tinycrypt ECC API
     add 1e52e8d  Merge pull request #578 from sjanc/tc
     add 51792ad  mesh: Fix compilation with GCC 7.1
     add bc3d918  mesh: Fix dropping valid proxy configration messages
     add a4780b4  Merge pull request #589 from rymanluk/mesh_proxy_fix
     add 458af74  nimble/mesh: Fix address type handling
     add 5ac775f  nimble: Don't hardcode TinyCrypt rand function
     add fa94bcc  BLE Host - rename `default_irk` --> `ble_hs_pvcy_default_irk`
     add 10b870c  BLE Host - Reduce line length to <= 79 chars.
     add d70a26c  MYNEWT-841 BLE Host - Fill resolve list at startup
     add 2ac08fb  BLE Host - Unit tests for IRK restore on startup.
     add 7166a14  Merge pull request #593 from ccollins476ad/restore-irks
     add e8059e8  mesh: Fix string signedness issue
     add afa4ac5  mesh: Fix SDU length check
     add 23b686d  mesh: Fix Health Period Set OpCode
     add a85f006  mesh: Fix encoding fault count to Health Current Status
     add 0bf0f1a  mesh: Fix spelling of "heartbeat"
     add 0b4bd03  mesh: Fix zeroing heartbeat state
     add 8658a94  mesh: Fix resetting heartbeat subscription expiry properly
     add 02b3ffa  mesh: Fix Set LPNTimeout message handling
     add 74ad584  mesh: Fix setting health period divider
     add 6bce742  mesh: Don't send health status messages if a test fails
     add 41f1905  nimble/host: Fix ble_hs_adv_parse()
     add 8bf8189  BLE Host - Connect failures were not reported.
     add dc87ef4  BLE Host - Unit test for unreported connect fails.
     add b536379  Merge pull request #595 from ccollins476ad/no-conn-fail-evt
     add 1ac143a  nimble/ll: Fix weird symbol name usage
     add c4dc74c  nimble/ll: Add ble_ll_usecs_to_ticks_round_up
     add 79d9ce8  nimble/ll: Fix scheduling of AUX_ADV_IND packets
     add 53aa77a  nimble/ll: Fix calculating auxiliary offset in AUX_ADV_IND
     add 1e5da34  nimble/ll: Add extra assertion for adv chanmask
     add a493ab8  nimble/ll: Fix consecutive bits detection in AA
     add 37f5711  nimble/phy: Make sure wfr debug pin is properly disabled
     add b94f0ae  nimble/phy: Change PPI channels for debug pins
     add 33d421e  nimble/phy: Add note about used PPI channels
     add 3f78173  Merge pull request #602 from andrzej-kaczmarek/nimble-phy-fix
     add 3307086  mesh: Fix revoking app keys
     add bf8f40b  Merge pull request #604 from michal-narajowski/mesh_app_key_revoke
     add 29adaa8  nimble/phy: Change TX scheduling in RX-TX transition
     add d10f382  Merge pull request #611 from andrzej-kaczmarek/nimble-phy-rxtx-s8
     add 7f1c7ca  BLE Host - Honor controller's flow control
     add ca8d204  BLE Host - Remove ACL transmit queue.
     add 9eec13e  BLE Host - Read BR/EDR buffer size at startup.
     add 44d79c8  Merge pull request #613 from ccollins476ad/ble-max-pkts
     add 6e759e6  mesh: Fix missing argument in k_delayed_work
     add 226ad0c  mesh: Fix setting mod sub status parameters
     add 2b8ddea  mesh: Fix sending unassigned variable in mod_sub_va_overwrite
     add 419a1f2  Merge pull request #609 from michal-narajowski/mesh-fixes
     add 427f493  nimble/ll: Cleanup aux scheduling function
     add 52ff2aa  nimble/ll: Improve scheduling of aux scan
     add ad918bd  Merge pull request #608 from andrzej-kaczmarek/nimble-ll-aux-sched
     add c745395  nimble/ll: Fix scheduling of extended advertising events
     add ba73e1b  nimble/phy: Add phy_mode to rxinfo
     add 9cd9ca0  nimble/phy: Fix usage of rx phy_mode
     add 7e09cf3  nimble/ll: Fix scheduling new connection in slave role
     add 0de7d6c  Merge pull request #615 from andrzej-kaczmarek/nimble-phy-mode-fix
     add dfd9dd3  BLE Host - Move HCI test util code into a new file
     add 6257b89  Merge pull request #616 from ccollins476ad/ble-hs-test-refactor
     add 9adc3ee  Fix new warnings caused by change in compiler flag setting.
     add 60769bb  ble controller; was not building properly with FEAT_LL_PRIVACY set to 0.
     add 6c090b5  Merge pull request #612 from mkiiskila/debug_mX_flags
     add ed81c5f  nimble/ll: Fix build w/o ext adv
     add 25d86f8  Merge pull request #617 from andrzej-kaczmarek/nimble-ll-fix-build
     add 2d39fab  nimble/gap: Fix usage of BLE_GAP_OBSERVER
     add b5ad65b  nimble/controller: Fix freeze in extended scanning
     add c33b1fe  nimble/controller: Improve wfr timer for aux ptr
     add 6172f2d  nimble/controller: Fix missleading variable name
     add 68aa458  nimble/controller: Always check if we need to continue scan
     add 5f17f61  nimble/controller: Fix memory leaks in the ext scanner
     add f6df70a  nimble/controller: Improve getting aux ptr code
     add 0a3a8bb  nimble/controller: Fix memory leaks when creating connection
     add 2f24dce  nimble/controller: Improve ext connection creation
     add 07d2fe2  nimble/controller: Move scheduling aux to LL
     add 74b4fc1  nimble/controller: Fix wl for extended scanner
     add 99074c4  nimble/controller: Fix handling ext adv with advA
     add 0fb3508  nimble/controller: Fix off one issue with ext adv data
     add 2243ff6  nimble/controller: Fix extended connect
     add 67827f1  nimble/controller: Store missing DID from ext adv
     add 35e4b86  nimble/controller: minor coding style fix
     add 3dcfd67  nimble/controller: Fix connecting on long scan interval
     add 25bf79c  nimble/controller: remove reduntant return
     add 952b682  BLE Host - Fix a few coding style issues.
     add 787edbc  BLE Host - add reason for adv / disc complete.
     add cc64c70  BLE Host - no_lock versions of GAP cancel fns.
     add a16e7a2  BLE Host - Allow GAP to be preempted.
     add 2daa87d  MYNEWT-842 BLE Host - Stop GAP, add to rslv list
     add 16acde5  MYNEWT-842 - Unit tests for adding IRK entries.
     add d8cc9cb  BLE Host - Fix build errors for non-centrals.
     add 77769db  nimble/host: Fix build issue
     add f2a7c50  mesh: Fix missing feature bits
     add c3dcb77  Merge pull request #620 from michal-narajowski/bt_mesh_feat_bits
     add 80eabbb  mesh: Heartbeat fixes for message count
     add c4f80cc  Merge pull request #621 from michal-narajowski/heartbeat
     add 6400747  Removing use of undefined TASKS_START behavior
     add 0e54407  Removing use of undefined TASKS_START behavior
     add 6529079  BLE Host - Fix typo in flag check
     add a33e2c8  Merge pull request #633 from ccollins476ad/frag-typo
     add df8f403  BLE socket transport - don't drop large frames.
     add e0afcde  apps/blehr: Added heart-rate sensor app
     add 24d8169  BLE Host - Corrections for heartrate PR (591).
     add 1be3549  BLE Host - Lock mutex in ble_hs_id_infer_auto()
     add 4215108  nimble/phy: Fix scheduling gap between coded and uncoded
     add 535aa22  nimble/phy: Fix RXd packet start time calculation
     add 6ad1371  nimble/ll: Set phy mode before scheduling tx
     add b182340  nimble/ll: Add stat for dropped adv event
     add 408a7b7  nimble/ll: Drop event if adv ext is delayed beyond aux
     add 60be7dc  Merge pull request #622 from andrzej-kaczmarek/nimble-aux-sched-fix
     add eeaa3c8  mesh: Fix and clean up iv update procedure
     add c7d9985  Merge pull request #641 from michal-narajowski/mesh-iv-update-fix
     add b1c45fa  BLE Host - Remove BLE_GAP_EVENT_CONN_CANCEL
     add 389f11b  Merge pull request #632 from ccollins476ad/rm-conn-cancel
     add a7037da  BLE Host - Delay sync callback after IRK restore
     add 44d5c46  mesh: Fail init on keys generation error
     add c55b6c2  Merge pull request #646 from michal-narajowski/mesh-init-fix
     add 848d20e  mesh: Fix ignoring all prohibited sub_dst in HB Sub Set
     add b566922  mesh: Fix HB Pub Count Log calculation routine
     add 514a5d1  mesh: Fix sending heartbeat only when relay state changes
     add aa8aea3  mesh: Fix clearing HB state when disabling HB sub
     add 2a5dbc7  mesh: Fix HB Sub Status when disabling subscription
     add 9726391  Merge pull request #649 from michal-narajowski/mesh_pts_fixes
     add 0444501  net/nimble: MYNEWT-862 HFXO not always turning off
     add 9105655  Merge pull request #647 from wes3/hfxo_fix
     add bfffc40  BLE HCI transport - emspi
     add e00887d  ANS service: Add a hacky #undef to fix ambiq blds.
     add eb72b40  Merge pull request #655 from ccollins476ad/apollo2
     add dd2e426  nimble/host: Remove unused bsp includes
     add 2a4409d  nimble/host: Add missing include
     add 6c73620  nimble/host: Fix semaphore usage
     add 51ecfda  nimble/host: Enable ble_hs_locked_by_cur_task for debug only
     add 3e5ad67  nimble/ias: Fix service definition
     add 3a53ee1  Merge pull request #653 from andrzej-kaczmarek/various-fixes
     add 0f244be  mesh: Improve Network Message Cache behavior
     add 774606a  Merge pull request #652 from michal-narajowski/mesh-msg-cache
     add 17eacb6  mesh: Keep received buffer intact until transport layer
     add 5cf82a6  mesh: Take advantage of BT_MESH_NET_HDR_LEN define
     add 83d58a2  mesh: Fix TX segment context lookups
     add facbfaa  mesh: Add bt_mesh_net_flags() helper function
     add a3553a3  mesh: Export some transport layer helpers
     add 61e1c27  mesh: Cfg: Only update friend state if supported
     add 2cddc44  mesh: Remove redundant assignment
     add 61c9ab6  mesh: Export bt_mesh_friend_cred_get() for Friend usage
     add f424f15  mesh: Return change information from bt_mesh_iv_update()
     add 84a2ec9  mesh: Extend advertising API with helpers for Friend support
     add a305a99  Merge pull request #651 from michal-narajowski/friend_preparation
     add 288348e  nimble/host: Remove unused members from ble_gap_slave
     add d7e70b5  nimble: Move adv instances count definition to common header
     add 8e46e2f  nimble/host: Unanonimize ble_gap_slave
     add 28dfa64  nimble/gap: Make ble_gap_slave table
     add da5e4af  nimble: Fix tx power type in hci_ext_adv_params
     add c8a9d75  nimble/host: Use flag for tracking advertising type
     add 11a5c44  nimble/host: Simplify connection accept functions
     add 47f0610  nimble/host: Make function touching ble_gap_slave use instance
     add 6cb386c  Merge pull request #662 from sjanc/ext_adv_cleanups
     add 496cc9a  MYNEWT-869 BLE Host - Fix GATT svr unit test.
     add 25359e0  MYNEWT-869 BLE Host - Fix CoC double free
     add 2a8393a  emspi transport - Fix compiler warning.
     add bcf3324  Merge pull request #667 from ccollins476ad/apollo2-timers
     add 2509e8d  nimble/tps: Fix compilation error
     add 32e6cfc  nimble/lls: Make LLS usable
     add 565e379  Merge pull request #668 from andrzej-kaczmarek/nimble-build-fix
     add 5d96e4b  Add missing license headers
     add 8624e41  nimble/host: Use static buffer for GAP mempool
     add ff3cecf  nimble/host: Change services pkg init priorities
     add 73bdd65  nimble/mesh: Fix #include
     add 5b78aee  nimble/mesh: Remove invalid typedef
     add d13bd3d  Merge pull request #673 from andrzej-kaczmarek/nimble-fixing
     add 63345c6  nimble/host: Add API for extended advertising
     add feb373c  nimble/host: Add support for starting advertising instance
     add ec76061  nimble/host: Add support for stopping advertising instance
     add 303d938  nimble/host: Add support for removing advertising instance
     add 31211ee  nimble/host: Add support for configuring advertising instances
     add 4b6ce13  nimble/host: Remove ext adv path from legacy API
     add b721eaa  nimble/host: Pass advertising instance to connection complete
     add 8434d82  nimble/host: Add support for setting advertising instance address
     add 7af3f3e  nimble/host: Extend advertising stop event with instance
     add b3e770f  nimble/host: Make preempt code multi advertising aware
     add 42f7032  nimble/host: Don't use slave timer with extended advertising
     add 33e2118  nimble/gap: Remove old experimental API for setting advertising PHY
     add be1ab39  nimble/host: Add support for setting extended adv_data and scan_rsp
     add 3f1c405  Merge pull request #671 from sjanc/ext_adv_host
     add 90c7411  BLE Host - use instance 0 when ext. adv. disabled.
     add f77a8e6  net/nimble/host unittest; change null initialization to memset.
     add 88e86cf  mesh: Disable Low Power node by default
     add c39ada8  mesh: Add complete Friend support
     add b1475d0  mesh: Fix not including RSSI into network RX context
     add f7b8478  mesh: Cfg: Implement Low Power Node PollTimeout Get fully
     add 55de002  mesh: Fix transport layer heartbeat subscription matching
     add a3d8bb8  mesh: Fix message replay protection
     add 911cac6  mesh: Improve acknowledgement timer calculation
     add d794e55  mesh: Fix provisioning with Key Refresh flag set
     add 698ef99  mesh: Improve debug logs for provisioning
     add 70be508  mesh: Fix retries when establishing Friendship as LPN
     add 2540127  mesh: Fix ignoring invalid Transport OpCode as LPN
     add 92cc1d3  mesh: Fix friendship credential usage for segmented messages
     add 9a38145  mesh: Remove unnecessary per-buffer segment context
     add 2855e1f  mesh: Simplify & fix net credentials selection
     add 98582e6  mesh: Fix network decryption in case of multiple LPNs
     add aad4fe0  mesh: Avoid using 64-bit storage & math for beacons
     add 50a4227  mesh: Fix net_find_and_decrypt() function
     add c4af06b  nimble/host: Fix Mesh feature description in syscfg.yml
     add 0a14e1e  mesh: Fix typo when iterating GATT clients
     add fad6a71  mesh: Fix ignoring prohibited ReceiveWindow value
     add 732dd10  mesh: Improve Low Power establishment procedure
     add b9efac4  mesh: Fix sending Friend Clear messages indefinitely
     add aa99d78  mesh: Fix clearing friendship
     add 448c48c  mesh: Use more accurate timing for LPN functions
     add 2705e7d  mesh: Allow passing adv transmit info in net_tx
     add b3e33d8  mesh: Introduce LPN-specific adv transmit properties
     add 1b59005  mesh: Fix network credential selection
     add 3bef53b  mesh: Implement the Friend Clear procedure
     add 80e6ef1  mesh: Set PTS-friendly Friendship values in syscfg.yml
     add 9a47b14  mesh: Implement handling of Friend Clear messages
     add 6758b99  mesh: Use a saner default ReceiveDelay in syscfg.yml
     add c049eca  mesh: Provisioning: Fix OOB string output
     add 8145996  mesh: Provisioning: Fix coding style (too long line)
     add f57490e  mesh: Provisioning: Fix input OOB support
     add 8453744  mesh: Provisioning: Fix encoding of OOB values into link.auth
     add 95ca1b9  mesh: Provisioning: Make static OOB value const
     add ca35f51  mesh: Provisioning: Introduce link open/close callbacks
     add 2c7183b  mesh: Clarify API for empty model arrays
     add 9423633  mesh: Change local_queue from k_fifo to sys_slist_t
     add 5084e4b  mesh: Fix sending messages when not provisioned
     add ed72ea7  mesh: Export key packing helpers internally
     add 178b2a0  mesh: Take advantage of BT_MESH_TTL_MAX macro
     add 669dcf7  mesh: Fix missing tracking of segment callback
     add 6e53b1c  mesh: Fix relaying packets
     add 7311bd1  mesh: Refactor public headers
     add 9590a0d  mesh: Reformat headers to match Zephyr's coding style
     add f7e8c81  mesh: Make TRANSMIT_COUNT & TRANSMIT_INT macros public
     add 11e2d48  mesh: Add skeleton for Configuration Client Model
     add 0854a8c  mesh: shell: Add basic skeleton
     add 3375705  mesh: shell: Add LPN toggling command
     add 0c96fcc  mesh: shell: Take advantage of link open/close callbacks
     add 95b0a27  mesh: shell: Add command for Node Identity
     add 0046a7d  mesh: Add primary address to provisioning complete callback
     add 842f235  mesh: Add support for sending Get Composition Data
     add e2a9ef5  mesh: Add support for sending Beacon Get & Set
     add 670a4b8  mesh: Add support for Relay and 1-byte state Get/Set
     add 4ff4684  mesh: Add support for sending AppKeyAdd message
     add a8340ee  mesh: Add support for sending Model App Bind message
     add 360c0f2  mesh: Add support for sending Model Subscription Add
     add 4712e4e  mesh: Add support for sending Heartbeat Subscription Set
     add 2194229  mesh: shell: Add support for getting composition data
     add 016e8d3  mesh: shell: Add "dst" & "netidx" commands
     add fbf79b2  mesh: shell: Add support for Beacon Get/Set
     add c7eaae8  mesh: shell: Add for relay and 1-byte state commands
     add 81373a9  mesh: shell: Add app-key-add command
     add b0cea7d  mesh: shell: Add app-key-bind command
     add 025fd1d  mesh: shell: Add mod-sub-add command
     add 6a6dfa5  mesh: shell: Add hb-sub-set command
     add 1732e18  mesh: Use proper _t suffix for typedefs
     add 6d2f91e  mesh: Add more flexible APIs for provisioning bearers
     add abf2733  mesh: Rename configuration server code from cfg to cfg_srv
     add e0c5ff4  mesh: Rename health server code from health to health_srv
     add 57b7ad3  mesh: Provide documentation for provisioning APIs
     add a1b668e  mesh: shell: Group global variables in a dedicated struct
     add 4758977  mesh: Provisioning: Add NetKeyIndex to complete callback
     add 83c75d1  mesh: Fix calling complete callback for bt_mesh_provision()
     add 6ef16e8  mesh: Add documentation for public provisioning APIs
     add 51c9330  mesh: Add support for sending Heartbeat Publication Set
     add 6427ffd  mesh: shell: Add hb-pub-set command
     add 40447d7  mesh: shell: Add provision command for self-provisioning
     add da41292  mesh: Add support for sending Heartbeat Publication Get
     add e24b6cc  mesh: shell: Convert hb-pub-set command to hb-pub
     add b91d881  mesh: Add support for sending Heartbeat Subscription Get
     add d6b3421  mesh: shell: Convert hb-sub-set command to hb-sub
     add 2f9d842  mesh: Allow changing cfg client message timeout
     add d50a443  mesh: shell: Fix newline in incorrect place
     add 304c737  mesh: Fix documentation of bt_mesh_input_string()
     add 6eb4d81  mesh: Fix enabling scanning after provisioning
     add b17a743  mesh: Use invalid CID instead of bool for non-vendor models
     add 7812c19  mesh: Add support for sending Model Publication messages
     add 9af3617  mesh: shell: Add mod-pub command
     add b5de1d7  mesh: Use dedicated struct for heartbeat publication
     add 643e54f  mesh: Use dedicated struct for heartbeat subscription
     add c8c6b53  mesh: Use u8_t instead of bitfields for 8-bit wide values
     add 7defc29  mesh: Friend: Fix setting pending_buf variable
     add df4d2dd  mesh: Make AppKey binding implicit for Model Publication
     add 4c08f28  mesh: Fix compiler warning for access.c
     add 1031888  mesh: Fix clearing incomplete Friendship upon reset
     add afec8f2  Mesh: Move per-buffer mesh meta-data to external struct
     add f7a2b58  mesh: Introduce user data for the advertising callback
     add 1040b8f  mesh: Introduce a second advertising callback
     add ad8f75b  mesh: Fix notifying message send completion for GATT proxy
     add 66ca13a  mesh: Use a unified send callback also for public API
     add 424111b  mesh: Fix encoding/decoding Publish Retransmit value
     add c1b48a1  mesh: Fix model publication
     add 1f5f3cd  mesh: Fix calling send start for multi-segmented messages
     add 4c36fae  mesh: Fix ignoring all messages in LPN mode
     add b3f18ec  mesh: Add Model Subscription Del & Overwrite support
     add 5b44a0a  mesh: shell: Add mod-sub-del command
     add 6989900  mesh: shell: Declare mandatory dependency on BLE_MESH_CFG_CLI
     add aceab9e  mesh: Fix node reset
     add b1fde6b  mesh: Proxy: Downgrade advertising errors to warnings
     add e5e0634  mesh: Fix non-periodic Model Publication
     add 68e3b8c  mesh: Provide documentation for the publication API
     add a3a3511  mesh: Fix accuracy of Publish Period
     add 407243a  mesh: remove redundant 32-bit wrap-around code
     add 0adfb5c  mesh: Improve model publication documentation
     add 4b942a9  mesh: Fix dereferencing mod->pub too early
     add 834802d  mesh: Fix coverity warning of unchecked return
     add 5977674  mesh: Friend: Fix poll timeout type
     add a9a4bc3  mesh: shell: Add appidx command for setting the AppIndex
     add 5eae9c2  mesh: Add skeleton for Health Client model
     add 5163145  mesh: Add support for sending Health Fault Get message
     add 7a59db3  mesh: Add support for receiving Health Current Status
     add 832474b  mesh: shell: Use a valid Company ID
     add 1524fad  mesh: shell: Add Health Fault support to the server
     add b21b48e  mesh: Add support for Health Fault Clear messages
     add 614b5a2  mesh: Add support for Health Fault Test messages
     add 3e2bd5a  mesh: Add support for Health Period messages
     add 90d2aac  mesh: Introduce helpers to wait for a status message
     add 432b1ea  mesh: Add support for Health Attention messages
     add 22d38d1  mesh: Health: Fix requiring specific Company ID
     add add21e0  mesh: Fix typos in IV Index update procedure
     add 08a3827  mesh: Reformat code to better match Zephyr's
     add d4e71d4  mesh: Introduce public LPN APIs for better control
     add 069ca7f  mesh: Increase initial poll timeout
     add 5681e64  mesh: LPN: Fix clearing pending request
     add 2102e4b  mesh: LPN: Fix clearing group status
     add 952ebc3  mesh: shell: Fix decoding vendor model IDs
     add ce7db48  mesh: shell: Add support for decoding hex strings
     add f44497d  mesh: shell: Add raw network PDU sending support
     add 4634129  mesh: Improve logging related to Label UUID lookups
     add 3d186cd  mesh: Add support for manipulating Label UUIDs
     add f04de5e  mesh: shell: Fix & clean up command help
     add 04e4f00  mesh: Fix creating initial beacon data
     add 5718d07  mesh: shell: Add iv-update command
     add c38a6b9  mesh: Add IV Update test mode API
     add a8d2f33  mesh: Fix NetKey Update behavior in Phase 1
     add c6e1fd0  mesh: shell: Fix health publication message size
     add f10777c  mesh: Improve documentation for model publication
     add 658468f  mesh: shell: Fix sending health publication
     add 52ff4e8  mesh: Restrict scope of variables in health_get_registered()
     add d40248f  mesh: shell: Make Static OOB optional
     add fe78081  mesh: shell: Add command for setting the UUID
     add 82af3dc  mesh: shell: Fix parsing "boolean" parameters
     add 3640938  mesh: Introduce option for Node ID timeout
     add 0524c3b  mesh: Use 32-bit math for Node ID duration
     add b4a423f  mesh: Fix proxy advertising handling
     add 8f2bf3b  mesh: Fix clearing network message cache
     add 42af22a  mesh: Remove unnecessary logic for key selection
     add f465087  mesh: Fix & clean up Friendship Credential handling
     add 560a722  mesh: Fix clearing Friend state upon reset
     add f1307f6  mesh: Fix looking up existing friendship contexts
     add beb85cb  mesh: Reduce logging clutter for LPN lookups
     add 5481f79  mesh: Log information about the on-behalf-of flag
     add 24b948b  mesh: Fix Friend messaging state tracking
     add a6f469f  mesh: Remove unnecessary variable
     add 6f7b712  mesh: Deliver TTL=1 PDUs only to the local net interface
     add c58b75d  mesh: Fix GATT Proxy & Node Identity state binding
     add 228e89a  mesh: Fix initializing Node ID start time
     add 8595ceb  mesh: Fix disconnecting clients when disabling GATT Proxy
     add ed40ac1  mesh: Fix Replay Protection List checking
     add a0db70a  mesh: Introduce API for clearing the RPL
     add ebf291a  mesh: Clearly document the magic 18 byte minimum length
     add 61397f8  mesh: Fix logging mesh addresses
     add 03c37fa  mesh: Fix sending beacons to Friend Queue & GATT clients
     add 362858b  mesh: Fix Proxy compilation
     add af3e945  mesh: Fix setting an upper limit on beacon interval
     add fb2cfe4  mesh: Fix beacon cache handling
     add 2a2d61d  mesh: Fix changing Relay state from Not Supported (0x02)
     add 712cc4c  mesh: Fix relaying conditions for Adv & GATT bearers
     add 82e1225  mesh: Fix using the correct transmit state
     add 25111a3  mesh: Fix format specifier for s32_t
     add 24ffc14  mesh: shell: Fix AppKey Add command handler
     add 084d592  mesh: Fix copy-paste mistake in log message
     add 7c1d6b2  mesh: Fix creating advertising packets from pool
     add ef62131  mesh: Fix relaying from GATT to Advertising
     add 046fb1c  mesh: Add support for sending NetKey Add message
     add 013911a  mesh: Add Proxy advertising support for multiple subnets
     add 2110b8c  mesh: Add helpers for starting/stopping Node ID
     add a2c22a9  mesh: Prioritize subnets with Node ID
     add 9c8a364  mesh: Suppport multiple subnets for app-triggered Node ID
     add 06f4b25  mesh: Proxy: Fine-tune subnet advertising rotation
     add f8c351d  mesh: Proxy: Don't try to advertise when it's not possible
     add d8fc5cb  mesh: Fix friend mempool initialization
     add 91fd57f  mesh: Reformat defines to improve readability
     add 19c9525  mesh: Add debug check that os_mbuf is not chained
     add eeafd12  mesh: Fix typo in Kconfig help message
     add bf590d7  mesh: Fix using Friend and LPN configs
     add f91703f  mesh: Fix build issue
     add 6de52d2  nimble/host: Fix invalid connection handle usage
     add b0b7787  nimble/host: Increase HCI command timeout
     add 5dc94ac  nimble/ll: Remove unused includes
     add 93d58b0  BLE Host - Don't crash if no store package.
     add 3829cc3  nimble/ll: Do not initiate features xchg as a slave
     add 51104af  Merge pull request #710 from andrzej-kaczmarek/nimble-iphone-fix
     add 655e15f  nimble/controller: Make sure random address is set corretly
     add 22de9c0  blemesh: Fix compiler error when building without PB_ADV
     add 3677953  Merge pull request #722 from rymanluk/some_mesh_fixes
     add 2f33623  emspi transport - clarify that it is host-only.
     add efaad20  BLE Host - flow control.
     add 5a9801b  nimble/transport: Fix typo in UART transport
     add 88d3b3c  nimble: Add meta-package for HCI transports
     add d69e961  Merge pull request #719 from andrzej-kaczmarek/nimble-hci-trans
     add 0b0fa39  nimble/ll: Fix helpers to calculate aux adv and scan rsp length
     add 716f629  nimble/ll: Fix calculation of connect rsp length
     add 75cbd2b  nimble/ll: Fix calculation of scan rsp length
     add b7dca4f  nimble/ll: Fix calculation of adv pdu length
     add 714d4d2  nimble/att: Fix error code when accessing characteristics
     add 17a663e  nimble/att: Fix response for unknown opcode
     add 1116910  Merge pull request #736 from rymanluk/att_fix
     add e837fa7  nimble/host: Allow low interval on non-connectable advertising
     add 3b6296d  Merge pull request #741 from sjanc/non-conn-adv
     add 99bd6ea  nimble/ble_ll: Add support for HCI Test commands
     add e91109e  Merge pull request #742 from rymanluk/hci_test_cmd
     add dbda065  mesh: Reset Heartbeat Publication timer before sending message
     add 1895cf5  mesh: Check Heartbeat Pub count prior scheduling delayed work
     add 5a2dd66  nimble/ll: Fix DTM build without 2M/Coded PHY enabled
     add f9de289  nimble/gap: Change ext adv data API to consume mbufs
     add 1d0b0a9  nimble/gap: Fix setting long advertising data
     add f5490b9  nimble/ll: Keep instance adv data in mbufs
     add 3fc48ee  nimble/phy: Allow ble_phy_tx without mbuf
     add 21e6f10  Merge pull request #755 from andrzej-kaczmarek/nimble-ll-mbuf
     add baff9ab  nimble/controller: Fix LE Test End Command return value
     add 41dbe1d  nimble/controller: Fix DTM build
     add 3455df8  nimble/ll: Fix HCI LE Read Remote Features command
     add f3db4a1  Merge pull request #766 from andrzej-kaczmarek/nimle-ll-remfeat-fix
     add a00cdb9  nimble/phy: Fix encryption on nRF52
     add ad398d2  nimble/phy: Make some constant data an actual static const
     add 08d43f0  nimble/phy: Use static mapping for channel index to RF freq
     add 7b4d320  nimble/phy: Remove redundant code
     add f9c0978  nimble/phy: Fix magic number
     add 5dc668f  nimble/phy: Fix PCNF0 configuration
     add fd8a7e7  Merge pull request #771 from andrzej-kaczmarek/nimble-phy-dev
     add 43ff662  nimble/phy: Fix build
     add 86ee60e  nimble/controller: Fix DTM test commands channel settings
     add 122ac01  Merge pull request #768 from sjanc/dtm
     add 9649836  nimble/ll: Remove unnecessary assert
     add 3f81ffa  nimble/ll: Improve handling of incomplete adv data
     add 4ae8d33  nimble: Enable missing Encryption Key Refresh Complete Event
     add 4661e7b  nimble/ll: Remove duplicated symbols
     add afbaf4b  nimble/gap: Allow adv data for connectable ext adv
     add 6f786f6  nimble/dtm: Disable whitening for testing
     add e047d30  nimble/ll_dtm: Fix for enabling clock on RX
     add 4919f52  nimble/ll_sched: Minor coding style fix
     add 355ceaa  Merge pull request #767 from rymanluk/dtm_fix
     add 573a764  nimble/ll: Fix max supported TX time
     add 32ba8b3  nimble/ll: Fix LL_LENGTH_REQ/RSP handling
     add 869b5a8  nimble/ll: Cleanup a bit conn initialization
     add 99e04f7  nimble/ll: Fix data fragmentation with maxTxTime<maxTxOctets
     add 80b6678  nimble: Fix HCI LE Set Data Length parameters range
     add 2f3c674  Merge pull request #614 from andrzej-kaczmarek/nimble-ll-dle-fix
     add 5810f86  nimble/ll: Fix parsing length in advertising PDU
     add 2823507  nimble/ll: Fix extended advertising reports HCI  events
     add 319fd8e  nimble/transport: Remove HCI event buffer size override for extadv
     add f0cd5d0  nimble/ll: Disable PHY if failed to handle connection event
     add cb06a14  nimble/phy: Make sure PHY is properly disabled before TX/RX
     add fe24be8  Merge pull request #789 from andrzej-kaczmarek/nimble-standby-fix
     add 91ca91d  nimble/ll: Fix for disconnection with LL response timeout
     add 96b40c2  Merge pull request #786 from rymanluk/nimble_ll_fixes
     add 54b5f31  nimble/ll: Store scan response data in mbuf
     add 5e82e31  nimble/ll: Add support for adv/scanrsp data fragmentation
     add 4dd9196  Merge pull request #770 from andrzej-kaczmarek/adv-chain
     add 298481d  nimble/startup: Read local HCI version on startup
     add fb69e53  nimble/mesh: Use fast advertising interval for BT5 controllers
     add fadb671  nimble: Fix for failing unit tests
     add 68740d6  nimble/ll: Fix generating RPA when advertising
     add dbdea0f  nimble/ll: Use NRPA for scan requests to unknown devices
     add 0548f84  nimble/ll: Add note about InitA when initiating connection with privacy
     add 0899175  nimble/host: Do not set peer IRK for all-zero address
     add 350eded  nimble/host: Remove redundant memset
     add 06cfc0b  nimble/phy: Fix for late RX-TX transition on nRF52
     add 1ce5000  Fixing NRF_RADIO CI field on ble_phy.
     add d62d1c2  Merge pull request #763 from mlaz/integrate_nrfx
     add 7bdacd3  nimble/phy: Allow 2M PHY on nRF52
     add da3bdce  nimble/phy: Cleanup code for checking PDUSTAT->CISTAT
     add 2174622  mesh: Fix sys_slist_t port and add net_buf_slist_t port
     add 03b449a  mesh: shell: Fix IVIndex parsing
     add c1b501a  mesh: Fix status returned from mod_unbind
     add cc7e830  mesh: Do not set RFU bits in Heartbeat Publication Features
     add 11dd535  Revert "mesh: Fix ignoring invalid Transport OpCode as LPN"
     add 3873f09  mesh: Fix LPN subsciption groups update on VA deletion
     add f3158bc  mesh: Fix model subscription groups cleanup
     add 3d4109d  mesh: Introduce Bluetooth Testing API
     add 0ef3b75  mesh: Add model bound callbacks to Testing API
     add ef2bbf1  mesh: Add Provisioning Invalid Bearer callback to Testing API
     add 95d32ec  mesh: Move bt_test_mesh_net_recv to internal API
     add 7ebc2b5  mesh: Add event indicating expiration of incomp timer
     add f25e49f  mesh: Fix ignoring old SeqAuth values
     add 56fdb2d  mesh: Take advantage of K_SECONDS macro
     add 5618c9f  mesh: Clear segment rx context when incomplete timer expires
     add 58041b9  mesh: Fix ack timeout calculation
     add ca7e104  mesh: Fix segment transmission timeout
     add 074d32d  mesh: Remove redundant AD parsing check
     add ab275d8  Merge pull request #748 from michal-narajowski/mesh-zephyr-ports
     add 150cbde  Added device appearance setter and getter to GAP service.
     add ceab2b4  Reverted accidentaly removed function prototype.
     add b0e6640  Changes after PR review. CSC profile specific ATT error added. Custom endianness handling functions replaced with system functions. Device appearance moved to syscfg.
     add 287101b  mesh: Initialize shell on sysinit
     add a6f461b  mesh: shell: Add dummy vendor model for PTS testing
     add bc49238  mesh: shell: Add LPN subscription commands to mesh shell
     add 31d1880  mesh: shell: Add command for printing mesh credentials
     add 6bc91e9  mesh: shell: Add command for printing mesh composition data
     add 65cdb84  mesh: glue: Fix k_sem_take() semaphore port
     add eccf2e8  mesh: Fix Friend os_mempool_size calculation
     add a17113e  mesh: shell: Use separate task to avoid deadlocks
     add 5d427da  mesh: shell: Use Runtime's company ID
     add 9b080e3  mesh: cfg_cli: Set default message timeout to 5 seconds
     add 3dc586d  mesh: glue: Fix calculating remaining time of delayed work
     add 1b202fa  mesh: glue: Add sanity check in k_delayed_work_submit
     add 554fd64  mesh: shell: Use random addr when public is unassigned
     add cb1760e  Merge pull request #815 from michal-narajowski/mesh-blemesh-shell
     add ab815f7  mesh: shell: Fix build when shell is disabled
     add 34c36c1  Use `task_priority` type for task priority syscfg.
     add 347d3f1  BLE LL - Fix prio conflict with UART in unit tests
     add ea51f6d  Merge pull request #792 from ccollins476ad/task-prio
     add c1272bd  nimble/ll: Fix BLE_LL_CONN_INIT_MIN_WIN_OFFSET
     add da72102  nimble/gap: Fix whitespaces
     add 49c1941  nimble/gap: Remove redundant formward declaration
     add 724dea1  nimble/gap: Remove deprecated characteristics
     add e77d546  nimble/gap: Add "Central Address Resolution" characteristic
     add 0256df2  nimble/gap: Make device name configurable via syscfg
     add 095bbc8  nimble/gap: Store appearance as simple uint16
     add ac3727c  nimble/gap: Fix characteristics in non-peripheral role
     add 0fa1d0e  nimble/gap: Make PPCP configurable
     add 5f5b248  nimble/gap: Make device name optionally writable
     add 48ec479  nimble/gap: Make appearance optionally writable
     add 78617e1  nimble/gap: Make max device length configurable
     add aaf569e  nimble: Adding missing inttypes.h include
     add ad3ff34  mesh: Fix passing CID to model publication messages
     add 417418e  mesh: Add support for OOB info and URI in provisioning data
     add 703c021  mesh: Fix coverity warning with unchecked error return
     add 6e2c7d1  mesh: Account for scan window delaying adv events
     add 35bcfc2  mesh: Fix handling of failed transmissions
     add 63b487a  mesh: Resend Link Acknowledgment when necessary
     add d7fc4a5  mesh: Fix sending Provisioning Failed for PB-GATT
     add 7ed9685  mesh: Ignore segments of cancelled message
     add e99920f  mesh: Use a single transmission from Friend to LPN
     add 8feb3ca  Merge pull request #841 from michal-narajowski/mesh-zephyr-ports
     add c33701a  nimble/phy: Fix receiver configuration on late RX
     add 8acb7a8  nimble/ll: Allow setting scan rsp data before configuring advertising
     add 6014f93  Merge pull request #871 from michal-narajowski/ll-legacy-adv-fix
     add 1e7940c  nimble/ll: Update handling of HCI Number of Completed Packets event
     add 1ca40fe  Merge pull request #837 from andrzej-kaczmarek/nimble-numpktcmp-fix
     add 7925ccf  nimble/ll: Use OS_TASK_STACK_DEFINE to init ble_ll stack
     add 07a5d69  nimble/mesh: Use OS_TASK_STACK_DEFINE for stacks in mesh
     add b35de4c  nimble/dtm: Allow for being late on RX start timer
     add 448954c  Merge pull request #866 from rymanluk/dtm_impr
     new 10cc211  service/ans: don't depent on libm for creating bitmask (#903)
     new f9250ff  nimble/ll: Allow to be late on RX when scanning
     new 176b8d8  nimble/ll: Minor coding style fix
     new ef48541  nimble/ll: Improve extended scanner for both PHYs
     new 6054b77  nimble/ll: Support scan on two PHYs when continous scanning requested
     new 5eebc3b  nimble/ll: Fix extended connect when using both PHYs for scanning
     new cff6b84  Merge pull request #883 from rymanluk/scan_ext_impr
     new e2ce808  mesh: shell: Enable beacon by default
     new 3c0e120  mesh: Fix setting advertising scan response data
     new 880daad  mesh: shell: Fix supported output actions
     new feb792c  mesh: Fix available LPN groups count
     new ae8ce47  Merge pull request #911 from michal-narajowski/mesh-fixes
     new 2f803e0  Move cmsis_nvic.h files frm BSP to MCU
     new 1c26f0b  nimble: Make this proper external repository

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (33c05c1)
            \
             N -- N -- N   refs/heads/master (1c26f0b)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 14 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 README.md                                          |   71 -
 nimble/controller/include/controller/ble_ll.h      |   19 +-
 nimble/controller/include/controller/ble_ll_scan.h |    6 +-
 .../controller/include/controller/ble_ll_sched.h   |   11 +-
 nimble/controller/include/controller/ble_phy.h     |   14 +-
 nimble/controller/src/ble_ll.c                     |   59 +-
 nimble/controller/src/ble_ll_adv.c                 | 1178 ++++++----
 nimble/controller/src/ble_ll_conn.c                |   67 +-
 nimble/controller/src/ble_ll_conn_hci.c            |   21 +-
 nimble/controller/src/ble_ll_conn_priv.h           |    9 +-
 nimble/controller/src/ble_ll_ctrl.c                |   51 +-
 nimble/controller/src/ble_ll_dtm.c                 |  528 +++++
 .../src/ble_ll_dtm_priv.h}                         |   28 +-
 nimble/controller/src/ble_ll_hci.c                 |   28 +
 nimble/controller/src/ble_ll_scan.c                |  328 +--
 nimble/controller/src/ble_ll_sched.c               |   69 +-
 nimble/controller/src/ble_ll_supp_cmd.c            |   17 +
 nimble/controller/syscfg.yml                       |    7 +-
 nimble/controller/test/syscfg.yml                  |    3 +
 .../native/include/ble/xcvr.h}                     |   34 +-
 nimble/{host/util => drivers/native}/pkg.yml       |    7 +-
 nimble/drivers/native/src/ble_hw.c                 |  239 ++
 nimble/drivers/native/src/ble_phy.c                |  632 ++++++
 .../nrf51/include/ble/xcvr.h}                      |   33 +-
 nimble/{host/util => drivers/nrf51}/pkg.yml        |    8 +-
 nimble/drivers/nrf51/src/ble_hw.c                  |  482 +++++
 nimble/drivers/nrf51/src/ble_phy.c                 | 1487 +++++++++++++
 .../nrf52/include/ble/xcvr.h}                      |   37 +-
 nimble/{host/util => drivers/nrf52}/pkg.yml        |    8 +-
 nimble/drivers/nrf52/src/ble_hw.c                  |  486 +++++
 nimble/drivers/nrf52/src/ble_phy.c                 | 1867 ++++++++++++++++
 nimble/drivers/nrf52/syscfg.yml                    |   54 +
 nimble/host/mesh/include/mesh/access.h             |  401 ++++
 nimble/host/mesh/include/mesh/cfg_cli.h            |  184 ++
 nimble/host/mesh/include/mesh/cfg_srv.h            |   69 +
 nimble/host/mesh/include/mesh/glue.h               |  105 +-
 nimble/host/mesh/include/mesh/health_cli.h         |   72 +
 nimble/host/mesh/include/mesh/health_srv.h         |   91 +
 nimble/host/mesh/include/mesh/main.h               |  355 +++
 nimble/host/mesh/include/mesh/mesh.h               |  626 +-----
 nimble/host/mesh/include/mesh/proxy.h              |   35 +
 nimble/host/mesh/include/mesh/slist.h              |  468 ++++
 nimble/host/mesh/include/mesh/testing.h            |   68 +
 nimble/host/mesh/pkg.yml                           |    6 +
 nimble/host/mesh/src/access.c                      |  237 +-
 nimble/host/mesh/src/access.h                      |   55 +-
 nimble/host/mesh/src/adv.c                         |  366 ++--
 nimble/host/mesh/src/adv.h                         |   74 +-
 nimble/host/mesh/src/beacon.c                      |  112 +-
 nimble/host/mesh/src/beacon.h                      |   19 +-
 nimble/host/mesh/src/cfg_cli.c                     | 1397 ++++++++++++
 nimble/host/mesh/src/{cfg.c => cfg_srv.c}          |  426 ++--
 nimble/host/mesh/src/crypto.c                      |   18 +-
 nimble/host/mesh/src/crypto.h                      |   14 +-
 nimble/host/mesh/src/foundation.h                  |   59 +-
 nimble/host/mesh/src/friend.c                      | 1300 ++++++++++-
 nimble/host/mesh/src/friend.h                      |   56 +-
 nimble/host/mesh/src/glue.c                        |  134 +-
 nimble/host/mesh/src/health_cli.c                  |  515 +++++
 nimble/host/mesh/src/{health.c => health_srv.c}    |  177 +-
 nimble/host/mesh/src/lpn.c                         |  396 +++-
 nimble/host/mesh/src/lpn.h                         |   67 +-
 nimble/host/mesh/src/mesh.c                        |  304 +--
 nimble/host/mesh/src/mesh_priv.h                   |    3 +-
 nimble/host/mesh/src/net.c                         |  547 +++--
 nimble/host/mesh/src/net.h                         |  458 ++--
 nimble/host/mesh/src/prov.c                        |  165 +-
 nimble/host/mesh/src/prov.h                        |   27 +-
 nimble/host/mesh/src/proxy.c                       |  585 +++--
 nimble/host/mesh/src/proxy.h                       |    6 +-
 nimble/host/mesh/src/shell.c                       | 2275 ++++++++++++++++++++
 nimble/host/mesh/src/shell.h                       |    6 +
 nimble/host/mesh/src/testing.c                     |  154 ++
 nimble/host/mesh/src/testing.h                     |   23 +
 nimble/host/mesh/src/transport.c                   |  588 +++--
 nimble/host/mesh/src/transport.h                   |  102 +-
 nimble/host/mesh/syscfg.yml                        |  101 +-
 nimble/host/services/ans/src/ble_svc_ans.c         |    9 +-
 .../gap/include/services/gap/ble_svc_gap.h         |   17 +-
 nimble/host/services/gap/src/ble_svc_gap.c         |  214 +-
 nimble/host/services/gap/syscfg.yml                |   80 +
 nimble/host/src/ble_att.c                          |   24 +-
 nimble/host/src/ble_att_priv.h                     |    3 +
 nimble/host/src/ble_att_svr.c                      |    8 +-
 nimble/host/src/ble_gap.c                          |   23 +-
 nimble/host/src/ble_hs.c                           |   57 +-
 nimble/host/src/ble_hs_conn_priv.h                 |    8 +
 nimble/host/src/ble_hs_flow.c                      |  240 +++
 .../host/ble_hs_hci.h => src/ble_hs_flow_priv.h}   |   12 +-
 nimble/host/src/ble_hs_hci.c                       |   15 +-
 nimble/host/src/ble_hs_hci_cmd.c                   |   58 +-
 nimble/host/src/ble_hs_hci_priv.h                  |    9 +-
 nimble/host/src/ble_hs_priv.h                      |    3 +
 nimble/host/src/ble_hs_pvcy.c                      |   14 +-
 nimble/host/src/ble_hs_startup.c                   |   38 +-
 nimble/host/src/ble_l2cap.c                        |    2 +-
 nimble/host/src/ble_sm.c                           |    2 +-
 nimble/host/syscfg.yml                             |   33 +-
 nimble/host/test/src/ble_att_svr_test.c            |   29 +-
 nimble/host/test/src/ble_hs_pvcy_test.c            |    2 +-
 nimble/host/test/src/ble_hs_test_util_hci.c        |    6 +
 nimble/include/nimble/ble.h                        |    3 +
 nimble/include/nimble/ble_hci_trans.h              |   15 +
 nimble/include/nimble/hci_common.h                 |   52 +-
 nimble/src/hci_common.c                            |    4 +-
 nimble/transport/emspi/src/ble_hci_emspi.c         |   64 +-
 nimble/transport/emspi/syscfg.yml                  |    6 +-
 nimble/{controller/test => transport}/pkg.yml      |   29 +-
 nimble/transport/ram/src/ble_hci_ram.c             |   10 +
 nimble/transport/ram/syscfg.yml                    |    3 -
 nimble/transport/socket/syscfg.yml                 |    4 +-
 nimble/{host/store/config => transport}/syscfg.yml |   20 +-
 nimble/transport/uart/src/ble_hci_uart.c           |   50 +-
 nimble/transport/uart/syscfg.yml                   |    3 -
 repository.yml                                     |    4 +-
 115 files changed, 18757 insertions(+), 3550 deletions(-)
 delete mode 100644 README.md
 create mode 100644 nimble/controller/src/ble_ll_dtm.c
 copy nimble/{host/include/host/ble_hs_id.h => controller/src/ble_ll_dtm_priv.h} (59%)
 copy nimble/{controller/include/controller/ble_ll_xcvr.h => drivers/native/include/ble/xcvr.h} (59%)
 copy nimble/{host/util => drivers/native}/pkg.yml (88%)
 create mode 100644 nimble/drivers/native/src/ble_hw.c
 create mode 100644 nimble/drivers/native/src/ble_phy.c
 copy nimble/{host/include/host/ble_hs_log.h => drivers/nrf51/include/ble/xcvr.h} (56%)
 copy nimble/{host/util => drivers/nrf51}/pkg.yml (87%)
 create mode 100644 nimble/drivers/nrf51/src/ble_hw.c
 create mode 100644 nimble/drivers/nrf51/src/ble_phy.c
 copy nimble/{host/include/host/ble_hs_log.h => drivers/nrf52/include/ble/xcvr.h} (52%)
 copy nimble/{host/util => drivers/nrf52}/pkg.yml (87%)
 create mode 100644 nimble/drivers/nrf52/src/ble_hw.c
 create mode 100644 nimble/drivers/nrf52/src/ble_phy.c
 create mode 100644 nimble/drivers/nrf52/syscfg.yml
 create mode 100644 nimble/host/mesh/include/mesh/access.h
 create mode 100644 nimble/host/mesh/include/mesh/cfg_cli.h
 create mode 100644 nimble/host/mesh/include/mesh/cfg_srv.h
 create mode 100644 nimble/host/mesh/include/mesh/health_cli.h
 create mode 100644 nimble/host/mesh/include/mesh/health_srv.h
 create mode 100644 nimble/host/mesh/include/mesh/main.h
 create mode 100644 nimble/host/mesh/include/mesh/proxy.h
 create mode 100644 nimble/host/mesh/include/mesh/slist.h
 create mode 100644 nimble/host/mesh/include/mesh/testing.h
 create mode 100644 nimble/host/mesh/src/cfg_cli.c
 rename nimble/host/mesh/src/{cfg.c => cfg_srv.c} (90%)
 create mode 100644 nimble/host/mesh/src/health_cli.c
 rename nimble/host/mesh/src/{health.c => health_srv.c} (68%)
 create mode 100644 nimble/host/mesh/src/shell.c
 create mode 100644 nimble/host/mesh/src/shell.h
 create mode 100644 nimble/host/mesh/src/testing.c
 create mode 100644 nimble/host/mesh/src/testing.h
 create mode 100644 nimble/host/services/gap/syscfg.yml
 create mode 100644 nimble/host/src/ble_hs_flow.c
 copy nimble/host/{include/host/ble_hs_hci.h => src/ble_hs_flow_priv.h} (81%)
 copy nimble/{controller/test => transport}/pkg.yml (69%)
 copy nimble/{host/store/config => transport}/syscfg.yml (54%)

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 05/14: nimble/ll: Fix extended connect when using both PHYs for scanning

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 5eebc3b15e2d750c41550753572b82b37cd9a894
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Wed Mar 7 11:44:28 2018 +0100

    nimble/ll: Fix extended connect when using both PHYs for scanning
    
    When host is using extended connect, scan parameters is a recomendation
    for the controller. Nimble usually follow it but in case host requests
    both CODED and UNCODED PHY for primary scan PHY and choose parameters
    which saying "continous scan" on both PHYs, controller will split time
    between both PHYs.
    
    X-Original-Commit: fc457f1c0791bbc1493a01b9170b5d04d69e354a
---
 nimble/controller/src/ble_ll_scan.c | 35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index 5f7fe59..76559ef 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -2874,7 +2874,8 @@ ble_ll_scan_ext_initiator_start(struct hci_ext_create_conn *hcc,
                                 struct ble_ll_scan_sm **sm)
 {
     struct ble_ll_scan_sm *scansm;
-    struct ble_ll_scan_params *scanphy;
+    struct ble_ll_scan_params *uncoded;
+    struct ble_ll_scan_params *coded;
     struct hci_ext_conn_params *params;
     int rc;
 
@@ -2886,23 +2887,23 @@ ble_ll_scan_ext_initiator_start(struct hci_ext_create_conn *hcc,
 
     if (hcc->init_phy_mask & BLE_PHY_MASK_1M) {
         params = &hcc->params[0];
-        scanphy = &scansm->phy_data[PHY_UNCODED];
+        uncoded = &scansm->phy_data[PHY_UNCODED];
 
-        scanphy->scan_itvl = params->scan_itvl;
-        scanphy->scan_window = params->scan_window;
-        scanphy->scan_type = BLE_SCAN_TYPE_INITIATE;
-        scanphy->scan_filt_policy = hcc->filter_policy;
+        uncoded->scan_itvl = params->scan_itvl;
+        uncoded->scan_window = params->scan_window;
+        uncoded->scan_type = BLE_SCAN_TYPE_INITIATE;
+        uncoded->scan_filt_policy = hcc->filter_policy;
         scansm->cur_phy = PHY_UNCODED;
     }
 
     if (hcc->init_phy_mask & BLE_PHY_MASK_CODED) {
         params = &hcc->params[2];
-        scanphy = &scansm->phy_data[PHY_CODED];
+        coded = &scansm->phy_data[PHY_CODED];
 
-        scanphy->scan_itvl = params->scan_itvl;
-        scanphy->scan_window = params->scan_window;
-        scanphy->scan_type = BLE_SCAN_TYPE_INITIATE;
-        scanphy->scan_filt_policy = hcc->filter_policy;
+        coded->scan_itvl = params->scan_itvl;
+        coded->scan_window = params->scan_window;
+        coded->scan_type = BLE_SCAN_TYPE_INITIATE;
+        coded->scan_filt_policy = hcc->filter_policy;
         if (scansm->cur_phy == PHY_NOT_CONFIGURED) {
             scansm->cur_phy = PHY_CODED;
         } else {
@@ -2910,6 +2911,18 @@ ble_ll_scan_ext_initiator_start(struct hci_ext_create_conn *hcc,
         }
     }
 
+    /* If host request for continuous scan if 2 PHYs are requested, we split
+     * time on two
+     */
+    if ((scansm->next_phy != PHY_NOT_CONFIGURED) &&
+                ((uncoded->scan_itvl == uncoded->scan_window) ||
+                (coded->scan_itvl == coded-> scan_window))) {
+
+        uncoded->scan_itvl *= 2;
+        coded-> scan_itvl = uncoded->scan_itvl;
+        coded->scan_window = uncoded->scan_window;
+    }
+
     rc = ble_ll_scan_sm_start(scansm);
     if (sm == NULL) {
         return rc;

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 09/14: mesh: shell: Fix supported output actions

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 880daad2a2a6e82fd94ab0719ca162173309761c
Author: Michał Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Mar 6 12:17:25 2018 +0100

    mesh: shell: Fix supported output actions
    
    Add more supported output actions to be able to provision with
    the Bluetooth Mesh app from Silicon Labs. It contains a bug
    which causes it to select wrong (not supported) action.
    
    X-Original-Commit: 9f6b121764c0707a93ace91dbd11923c6dba1b71
---
 nimble/host/mesh/src/shell.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nimble/host/mesh/src/shell.c b/nimble/host/mesh/src/shell.c
index 1e8e79e..03ea6dd 100644
--- a/nimble/host/mesh/src/shell.c
+++ b/nimble/host/mesh/src/shell.c
@@ -413,11 +413,11 @@ static struct bt_mesh_prov prov = {
 	.reset = prov_reset,
 	.static_val = NULL,
 	.static_val_len = 0,
-	.output_size = 6,
-	.output_actions = (BT_MESH_DISPLAY_NUMBER | BT_MESH_DISPLAY_STRING),
+	.output_size = 4,
+	.output_actions = (BT_MESH_BLINK | BT_MESH_BEEP | BT_MESH_DISPLAY_NUMBER | BT_MESH_DISPLAY_STRING),
 	.output_number = output_number,
 	.output_string = output_string,
-	.input_size = 6,
+	.input_size = 4,
 	.input_actions = (BT_MESH_ENTER_NUMBER | BT_MESH_ENTER_STRING),
 	.input = input,
 };

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 14/14: nimble: Make this proper external repository

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 1c26f0bffddb437cbca0ff67cd6cffba0f1296e3
Author: Andrzej Kaczmarek <an...@codecoup.pl>
AuthorDate: Wed Dec 20 14:33:54 2017 +0100

    nimble: Make this proper external repository
---
 nimble/controller/pkg.yml                  |  6 +++---
 nimble/controller/test/pkg.yml             | 14 +++++++-------
 nimble/drivers/native/pkg.yml              |  4 ++--
 nimble/drivers/nrf51/pkg.yml               |  6 +++---
 nimble/drivers/nrf52/pkg.yml               |  6 +++---
 nimble/host/mesh/pkg.yml                   | 12 ++++++------
 nimble/host/pkg.yml                        | 16 ++++++++--------
 nimble/host/services/ans/pkg.yml           |  4 ++--
 nimble/host/services/bleuart/pkg.yml       |  6 +++---
 nimble/host/services/gap/pkg.yml           |  4 ++--
 nimble/host/services/gatt/pkg.yml          |  4 ++--
 nimble/host/services/ias/pkg.yml           |  4 ++--
 nimble/host/services/lls/pkg.yml           |  4 ++--
 nimble/host/services/tps/pkg.yml           |  4 ++--
 nimble/host/store/config/pkg.yml           |  8 ++++----
 nimble/host/store/ram/pkg.yml              |  4 ++--
 nimble/host/test/pkg.yml                   | 16 ++++++++--------
 nimble/host/util/pkg.yml                   |  4 ++--
 nimble/pkg.yml                             |  4 ++--
 nimble/transport/emspi/pkg.yml             |  6 +++---
 nimble/transport/pkg.yml                   | 14 +++++++-------
 nimble/transport/ram/pkg.yml               |  6 +++---
 nimble/transport/socket/pkg.yml            | 10 +++++-----
 nimble/transport/uart/pkg.yml              | 10 +++++-----
 nimble/host/util/pkg.yml => repository.yml | 21 +++++++++++----------
 25 files changed, 99 insertions(+), 98 deletions(-)

diff --git a/nimble/controller/pkg.yml b/nimble/controller/pkg.yml
index fa50118..8ccb9f8 100644
--- a/nimble/controller/pkg.yml
+++ b/nimble/controller/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/controller
+pkg.name: nimble/controller
 pkg.description: Controller side of the nimble Bluetooth Smart stack.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -31,8 +31,8 @@ pkg.req_apis:
     - stats
 
 pkg.deps:
-    - kernel/os
-    - net/nimble
+    - "@apache-mynewt-core/kernel/os"
+    - nimble
 
 pkg.init:
     ble_ll_init: 250
diff --git a/nimble/controller/test/pkg.yml b/nimble/controller/test/pkg.yml
index c345c13..ab1d9db 100644
--- a/nimble/controller/test/pkg.yml
+++ b/nimble/controller/test/pkg.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: net/nimble/controller/test
+pkg.name: nimble/controller/test
 pkg.type: unittest
 pkg.description: "NimBLE controller unit tests."
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
@@ -23,11 +23,11 @@ pkg.homepage: "http://mynewt.apache.org/"
 pkg.keywords:
 
 pkg.deps:
-    - test/testutil
-    - net/nimble/controller
+    - "@apache-mynewt-core/test/testutil"
+    - nimble/controller
 
 pkg.deps.SELFTEST:
-    - sys/console/stub
-    - sys/log/full
-    - sys/stats/stub
-    - net/nimble/transport/ram
+    - "@apache-mynewt-core/sys/console/stub"
+    - "@apache-mynewt-core/sys/log/full"
+    - "@apache-mynewt-core/sys/stats/stub"
+    - nimble/transport/ram
diff --git a/nimble/drivers/native/pkg.yml b/nimble/drivers/native/pkg.yml
index f57af62..8795898 100644
--- a/nimble/drivers/native/pkg.yml
+++ b/nimble/drivers/native/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: hw/drivers/nimble/native
+pkg.name: nimble/drivers/native
 pkg.description: BLE driver for simulations.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -27,4 +27,4 @@ pkg.keywords:
 
 pkg.apis: ble_driver
 pkg.deps:
-    - net/nimble/controller
+    - nimble/controller
diff --git a/nimble/drivers/nrf51/pkg.yml b/nimble/drivers/nrf51/pkg.yml
index 6c427b5..5f17d6f 100644
--- a/nimble/drivers/nrf51/pkg.yml
+++ b/nimble/drivers/nrf51/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: hw/drivers/nimble/nrf51
+pkg.name: nimble/drivers/nrf51
 pkg.description: BLE driver for nRF51 systems.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -27,5 +27,5 @@ pkg.keywords:
 
 pkg.apis: ble_driver
 pkg.deps:
-    - net/nimble
-    - net/nimble/controller
+    - nimble
+    - nimble/controller
diff --git a/nimble/drivers/nrf52/pkg.yml b/nimble/drivers/nrf52/pkg.yml
index f682667..180919c 100644
--- a/nimble/drivers/nrf52/pkg.yml
+++ b/nimble/drivers/nrf52/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: hw/drivers/nimble/nrf52
+pkg.name: nimble/drivers/nrf52
 pkg.description: BLE driver for nRF52 systems.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -27,5 +27,5 @@ pkg.keywords:
 
 pkg.apis: ble_driver
 pkg.deps:
-    - net/nimble
-    - net/nimble/controller
+    - nimble
+    - nimble/controller
diff --git a/nimble/host/mesh/pkg.yml b/nimble/host/mesh/pkg.yml
index 3e1be0e..19fb91d 100644
--- a/nimble/host/mesh/pkg.yml
+++ b/nimble/host/mesh/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/mesh
+pkg.name: nimble/host/mesh
 pkg.description: Bluetooth Mesh
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -27,11 +27,11 @@ pkg.keywords:
     - mesh
 
 pkg.deps:
-    - kernel/os
-    - net/nimble
-    - util/mem
-    - net/nimble/host  
-    - crypto/tinycrypt
+    - "@apache-mynewt-core/kernel/os"
+    - "@apache-mynewt-core/util/mem"
+    - "@apache-mynewt-core/crypto/tinycrypt"
+    - nimble
+    - nimble/host  
 
 pkg.deps.BLE_MESH_SHELL:
     - sys/shell
diff --git a/nimble/host/pkg.yml b/nimble/host/pkg.yml
index 4affd38..f939b8e 100644
--- a/nimble/host/pkg.yml
+++ b/nimble/host/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host
+pkg.name: nimble/host
 pkg.description: Host side of the nimble Bluetooth Smart stack.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,21 +26,21 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - kernel/os
-    - net/nimble
-    - util/mem
+    - "@apache-mynewt-core/kernel/os"
+    - "@apache-mynewt-core/util/mem"
+    - nimble
 
 pkg.deps.BLE_SM_LEGACY:
-    - crypto/tinycrypt
+    - "@apache-mynewt-core/crypto/tinycrypt"
 
 pkg.deps.BLE_SM_SC:
-    - crypto/tinycrypt
+    - "@apache-mynewt-core/crypto/tinycrypt"
 
 pkg.deps.BLE_MONITOR_RTT:
-    - hw/drivers/rtt
+    - "@apache-mynewt-core/hw/drivers/rtt"
 
 pkg.deps.BLE_MESH:
-    - net/nimble/host/mesh
+    - nimble/host/mesh
 
 pkg.req_apis:
     - ble_transport
diff --git a/nimble/host/services/ans/pkg.yml b/nimble/host/services/ans/pkg.yml
index 345c93b..671791d 100644
--- a/nimble/host/services/ans/pkg.yml
+++ b/nimble/host/services/ans/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/ans
+pkg.name: nimble/host/services/ans
 pkg.description: Alert Notification Service Server.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - nimble 
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_ans_init: 303
diff --git a/nimble/host/services/bleuart/pkg.yml b/nimble/host/services/bleuart/pkg.yml
index a357d37..56fbffb 100644
--- a/nimble/host/services/bleuart/pkg.yml
+++ b/nimble/host/services/bleuart/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/bleuart
+pkg.name: nimble/host/services/bleuart
 pkg.description: BLE uart service.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -27,8 +27,8 @@ pkg.keywords:
     - uart
 
 pkg.deps:
-    - kernel/os
-    - net/nimble/host
+    - "@apache-mynewt-core/kernel/os"
+    - nimble/host
 
 pkg.req_apis:
     - console
diff --git a/nimble/host/services/gap/pkg.yml b/nimble/host/services/gap/pkg.yml
index c68acea..1ff5534 100644
--- a/nimble/host/services/gap/pkg.yml
+++ b/nimble/host/services/gap/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/gap
+pkg.name: nimble/host/services/gap
 pkg.description: Implements the GAP Service. 
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - gap
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_gap_init: 301
diff --git a/nimble/host/services/gatt/pkg.yml b/nimble/host/services/gatt/pkg.yml
index 8af1c9e..6f027dc 100644
--- a/nimble/host/services/gatt/pkg.yml
+++ b/nimble/host/services/gatt/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/gatt
+pkg.name: nimble/host/services/gatt
 pkg.description: Implements the GATT service.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - gatt
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_gatt_init: 302
diff --git a/nimble/host/services/ias/pkg.yml b/nimble/host/services/ias/pkg.yml
index 0af4d5c..26ff1fb 100644
--- a/nimble/host/services/ias/pkg.yml
+++ b/nimble/host/services/ias/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/ias
+pkg.name: nimble/host/services/ias
 pkg.description: Immidiate Alert Service Implementation.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - nimble
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_ias_init: 303
diff --git a/nimble/host/services/lls/pkg.yml b/nimble/host/services/lls/pkg.yml
index bab70ff..d78493f 100644
--- a/nimble/host/services/lls/pkg.yml
+++ b/nimble/host/services/lls/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/lls
+pkg.name: nimble/host/services/lls
 pkg.description: Link Loss Service Implementation.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - nimble
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_lls_init: 303
diff --git a/nimble/host/services/tps/pkg.yml b/nimble/host/services/tps/pkg.yml
index 821d389..e9641b3 100644
--- a/nimble/host/services/tps/pkg.yml
+++ b/nimble/host/services/tps/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/services/tps
+pkg.name: nimble/host/services/tps
 pkg.description: Tx Power Service adopted specification.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,7 +28,7 @@ pkg.keywords:
     - nimble
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_svc_tps_init: 303
diff --git a/nimble/host/store/config/pkg.yml b/nimble/host/store/config/pkg.yml
index 9fb513f..ae5d428 100644
--- a/nimble/host/store/config/pkg.yml
+++ b/nimble/host/store/config/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/store/config
+pkg.name: nimble/host/store/config
 pkg.description: sys/config-based persistence layer for the NimBLE host.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -28,11 +28,11 @@ pkg.keywords:
     - persistence
 
 pkg.deps:
-    - encoding/base64
-    - net/nimble/host
+    - "@apache-mynewt-core/encoding/base64"
+    - nimble/host
 
 pkg.deps.BLE_STORE_CONFIG_PERSIST:
-    - sys/config
+    - "@apache-mynewt-core/sys/config"
 
 pkg.init:
     ble_store_config_init: 500
diff --git a/nimble/host/store/ram/pkg.yml b/nimble/host/store/ram/pkg.yml
index f771605..2f1b4ee 100644
--- a/nimble/host/store/ram/pkg.yml
+++ b/nimble/host/store/ram/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/store/ram
+pkg.name: nimble/host/store/ram
 pkg.description: >
     DEPRECATED; for a RAM-only BLE store, use store/config and set
     BLE_STORE_CONFIG_PERSIST to 0.  RAM-based persistence layer for the NimBLE
@@ -31,7 +31,7 @@ pkg.keywords:
     - persistence
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
 
 pkg.init:
     ble_store_ram_init: 500
diff --git a/nimble/host/test/pkg.yml b/nimble/host/test/pkg.yml
index b5e39f2..e0f273d 100644
--- a/nimble/host/test/pkg.yml
+++ b/nimble/host/test/pkg.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-pkg.name: net/nimble/host/test
+pkg.name: nimble/host/test
 pkg.type: unittest
 pkg.description: "NimBLE host unit tests."
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
@@ -23,12 +23,12 @@ pkg.homepage: "http://mynewt.apache.org/"
 pkg.keywords:
 
 pkg.deps:
-    - test/testutil
-    - net/nimble/host
-    - net/nimble/host/store/config
+    - "@apache-mynewt-core/test/testutil"
+    - nimble/host
+    - nimble/host/store/config
 
 pkg.deps.SELFTEST:
-    - sys/console/stub
-    - sys/log/full
-    - sys/stats/stub
-    - net/nimble/transport/ram
+    - "@apache-mynewt-core/sys/console/stub"
+    - "@apache-mynewt-core/sys/log/full"
+    - "@apache-mynewt-core/sys/stats/stub"
+    - nimble/transport/ram
diff --git a/nimble/host/util/pkg.yml b/nimble/host/util/pkg.yml
index 3c4b373..b80dbea 100644
--- a/nimble/host/util/pkg.yml
+++ b/nimble/host/util/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/util
+pkg.name: nimble/host/util
 pkg.description: Supplementary utilities for the NimBLE host
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,4 +26,4 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - net/nimble/host
+    - nimble/host
diff --git a/nimble/pkg.yml b/nimble/pkg.yml
index 6136d98..2c54d1f 100644
--- a/nimble/pkg.yml
+++ b/nimble/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble
+pkg.name: nimble
 pkg.description: Generic functionality for the nimble Bluetooth Smart stack; used by both the controller and the host.
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,4 +26,4 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - kernel/os
+    - "@apache-mynewt-core/kernel/os"
diff --git a/nimble/transport/emspi/pkg.yml b/nimble/transport/emspi/pkg.yml
index a1f6511..479bdc5 100644
--- a/nimble/transport/emspi/pkg.yml
+++ b/nimble/transport/emspi/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/transport/emspi
+pkg.name: nimble/transport/emspi
 pkg.description: "HCI transport using EM's HCI SPI protocol."
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,8 +26,8 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - net/nimble
-    - kernel/os
+    - "@apache-mynewt-core/kernel/os"
+    - nimble
 
 pkg.apis:
     - ble_transport
diff --git a/nimble/transport/pkg.yml b/nimble/transport/pkg.yml
index 3a59081..e2d9548 100644
--- a/nimble/transport/pkg.yml
+++ b/nimble/transport/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/transport
+pkg.name: nimble/transport
 pkg.description: Meta-package for NimBLE HCI transport
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,17 +26,17 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps.BLE_HCI_TRANSPORT_NIMBLE_BUILTIN:
-    - net/nimble/transport/ram
-    - net/nimble/controller
+    - nimble/transport/ram
+    - nimble/controller
 
 pkg.deps.BLE_HCI_TRANSPORT_EMSPI:
-    - net/nimble/transport/emspi
+    - nimble/transport/emspi
 
 pkg.deps.BLE_HCI_TRANSPORT_RAM:
-    - net/nimble/transport/ram
+    - nimble/transport/ram
 
 pkg.deps.BLE_HCI_TRANSPORT_SOCKET:
-    - net/nimble/transport/socket
+    - nimble/transport/socket
 
 pkg.deps.BLE_HCI_TRANSPORT_UART:
-    - net/nimble/transport/uart
+    - nimble/transport/uart
diff --git a/nimble/transport/ram/pkg.yml b/nimble/transport/ram/pkg.yml
index c340cee..a9d46a7 100644
--- a/nimble/transport/ram/pkg.yml
+++ b/nimble/transport/ram/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/transport/ram
+pkg.name: nimble/transport/ram
 pkg.description: XXX
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,8 +26,8 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - net/nimble
-    - kernel/os
+    - "@apache-mynewt-core/kernel/os"
+    - nimble
 
 pkg.apis:
     - ble_transport
diff --git a/nimble/transport/socket/pkg.yml b/nimble/transport/socket/pkg.yml
index 75ef04c..11a94fe 100644
--- a/nimble/transport/socket/pkg.yml
+++ b/nimble/transport/socket/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/transport/socket
+pkg.name: nimble/transport/socket
 pkg.description: Provides HCI transport over socket interface
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,10 +26,10 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - hw/hal
-    - kernel/os
-    - net/nimble
-    - util/mem
+    - "@apache-mynewt-core/hw/hal"
+    - "@apache-mynewt-core/kernel/os"
+    - "@apache-mynewt-core/util/mem"
+    - nimble
 
 pkg.apis:
     - ble_transport
diff --git a/nimble/transport/uart/pkg.yml b/nimble/transport/uart/pkg.yml
index 2419fa3..f281b64 100644
--- a/nimble/transport/uart/pkg.yml
+++ b/nimble/transport/uart/pkg.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-pkg.name: net/nimble/transport/uart
+pkg.name: nimble/transport/uart
 pkg.description: XXX
 pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
 pkg.homepage: "http://mynewt.apache.org/"
@@ -26,10 +26,10 @@ pkg.keywords:
     - bluetooth
 
 pkg.deps:
-    - hw/hal
-    - kernel/os
-    - net/nimble
-    - util/mem
+    - "@apache-mynewt-core/hw/hal"
+    - "@apache-mynewt-core/kernel/os"
+    - "@apache-mynewt-core/util/mem"
+    - nimble
 
 pkg.apis:
     - ble_transport
diff --git a/nimble/host/util/pkg.yml b/repository.yml
similarity index 75%
copy from nimble/host/util/pkg.yml
copy to repository.yml
index 3c4b373..ba9fea1 100644
--- a/nimble/host/util/pkg.yml
+++ b/repository.yml
@@ -6,7 +6,7 @@
 # to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
-# 
+#
 #  http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
@@ -17,13 +17,14 @@
 # under the License.
 #
 
-pkg.name: net/nimble/host/util
-pkg.description: Supplementary utilities for the NimBLE host
-pkg.author: "Apache Mynewt <de...@mynewt.apache.org>"
-pkg.homepage: "http://mynewt.apache.org/"
-pkg.keywords:
-    - ble
-    - bluetooth
+repo.name: apache-mynewt-nimble
+repo.versions:
+    "0.0.0": "master"
+
+    "0-dev": "0.0.0"
+    "0-latest": "0.0.0"
+
+repo.newt_compatibility:
+    0.0.0:
+        1.1.0: good
 
-pkg.deps:
-    - net/nimble/host

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 10/14: mesh: Fix available LPN groups count

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit feb792c6e08aada3de0a3690391a8c24c28e7953
Author: Michał Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Mar 6 16:07:30 2018 +0100

    mesh: Fix available LPN groups count
    
    X-Original-Commit: 22228bdc87d78141849ac0715c39ef50c32436fb
---
 nimble/host/mesh/include/mesh/glue.h | 2 +-
 nimble/host/mesh/src/lpn.c           | 2 +-
 nimble/host/mesh/src/net.h           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/nimble/host/mesh/include/mesh/glue.h b/nimble/host/mesh/include/mesh/glue.h
index b1050d8..26ba98f 100644
--- a/nimble/host/mesh/include/mesh/glue.h
+++ b/nimble/host/mesh/include/mesh/glue.h
@@ -349,7 +349,7 @@ static inline unsigned int find_msb_set(u32_t op)
 /* Above flags are used with IS_ENABLED macro */
 #define IS_ENABLED(config) MYNEWT_VAL(config)
 
-#define CONFIG_BLUETOOTH_MESH_LPN_GROUPS    MYNEWT_VAL(BLE_MESH_LPN_GROUPS)
+#define CONFIG_BT_MESH_LPN_GROUPS           MYNEWT_VAL(BLE_MESH_LPN_GROUPS)
 #define CONFIG_BT_MESH_ADV_BUF_COUNT        MYNEWT_VAL(BLE_MESH_ADV_BUF_COUNT)
 #define CONFIG_BT_MESH_FRIEND_QUEUE_SIZE    MYNEWT_VAL(BLE_MESH_FRIEND_QUEUE_SIZE)
 #define CONFIG_BT_MESH_FRIEND_RECV_WIN      MYNEWT_VAL(BLE_MESH_FRIEND_RECV_WIN)
diff --git a/nimble/host/mesh/src/lpn.c b/nimble/host/mesh/src/lpn.c
index 165bc23..0cc4622 100644
--- a/nimble/host/mesh/src/lpn.c
+++ b/nimble/host/mesh/src/lpn.c
@@ -613,7 +613,7 @@ static void lpn_group_del(u16_t group)
 
 static inline int group_popcount(atomic_t *target)
 {
-#if CONFIG_BLUETOOTH_MESH_LPN_GROUPS > 32
+#if CONFIG_BT_MESH_LPN_GROUPS > 32
 	int i, count = 0;
 
 	for (i = 0; i < ARRAY_SIZE(bt_mesh.lpn.added); i++) {
diff --git a/nimble/host/mesh/src/net.h b/nimble/host/mesh/src/net.h
index 24940a6..5e11aa2 100644
--- a/nimble/host/mesh/src/net.h
+++ b/nimble/host/mesh/src/net.h
@@ -121,7 +121,7 @@ struct bt_mesh_friend {
 };
 
 #if (MYNEWT_VAL(BLE_MESH_LOW_POWER))
-#define LPN_GROUPS MYNEWT_VAL(BLE_MESH_LOW_POWER)
+#define LPN_GROUPS CONFIG_BT_MESH_LPN_GROUPS
 #else
 #define LPN_GROUPS 0
 #endif

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 02/14: nimble/ll: Minor coding style fix

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 176b8d8dce2ac5404a0349fd430765d2eae94b29
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Wed Mar 7 11:35:34 2018 +0100

    nimble/ll: Minor coding style fix
    
    X-Original-Commit: 09c3e68af9f41cb6aa5274c254648b721b6c7140
---
 nimble/controller/src/ble_ll_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index 51100cc..de3178f 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1379,7 +1379,7 @@ ble_ll_scan_event_proc(struct os_event *ev)
     case BLE_LL_STATE_ADV:
     case BLE_LL_STATE_CONNECTION:
          start_scan = 0;
-        break;
+         break;
     case BLE_LL_STATE_INITIATING:
         /* Must disable PHY since we will move to a new channel */
         ble_phy_disable();

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 11/14: Merge pull request #883 from rymanluk/scan_ext_impr

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit cff6b84dfe5b29a1d6817f5a9a8d34bcf32658be
Merge: 10cc211 5eebc3b
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Mar 13 13:18:51 2018 +0100

    Merge pull request #883 from rymanluk/scan_ext_impr
    
    nimble/ll: Improve extended scan/connect when host request both PHYs to be used
    
    X-Original-Commit: f816a547943a826e058f7f17e0c892b6e1fbc493

 nimble/controller/src/ble_ll_scan.c | 160 ++++++++++++++++++++----------------
 1 file changed, 89 insertions(+), 71 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 07/14: mesh: shell: Enable beacon by default

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit e2ce808c94b6f53257cdd4a2ba7d3a3f616e1705
Author: Michał Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Mar 6 11:31:45 2018 +0100

    mesh: shell: Enable beacon by default
    
    X-Original-Commit: 9d180d3b5e440c1942fbfcacb6b811d17d1bad55
---
 nimble/host/mesh/src/shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/host/mesh/src/shell.c b/nimble/host/mesh/src/shell.c
index 8a5cb38..1e8e79e 100644
--- a/nimble/host/mesh/src/shell.c
+++ b/nimble/host/mesh/src/shell.c
@@ -65,7 +65,7 @@ static struct {
 
 static struct bt_mesh_cfg_srv cfg_srv = {
 	.relay = BT_MESH_RELAY_DISABLED,
-	.beacon = BT_MESH_BEACON_DISABLED,
+	.beacon = BT_MESH_BEACON_ENABLED,
 #if MYNEWT_VAL(BLE_MESH_FRIEND)
 	.frnd = BT_MESH_FRIEND_DISABLED,
 #else

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 13/14: Move cmsis_nvic.h files frm BSP to MCU

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 2f803e02e82188d851e1dde444f34ba6dc62aadf
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Fri Mar 9 09:22:01 2018 -0300

    Move cmsis_nvic.h files frm BSP to MCU
    
    This moves cmsis_nvic.h from BSPs to MCUs. Where customizations where
    necessary, new syscfg options were added to the MCU to be overridden by
    the BSP, eg, number of peripheral interrupts.
    
    X-Original-Commit: a926c9c1025087967f113235c4fe7cd5ee6a8dc2
---
 nimble/drivers/nrf51/src/ble_hw.c  | 2 +-
 nimble/drivers/nrf51/src/ble_phy.c | 2 +-
 nimble/drivers/nrf52/src/ble_hw.c  | 2 +-
 nimble/drivers/nrf52/src/ble_phy.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/nimble/drivers/nrf51/src/ble_hw.c b/nimble/drivers/nrf51/src/ble_hw.c
index e9b5040..5c30275 100644
--- a/nimble/drivers/nrf51/src/ble_hw.c
+++ b/nimble/drivers/nrf51/src/ble_hw.c
@@ -27,7 +27,7 @@
 #include "nimble/nimble_opt.h"
 #include "nrf51_bitfields.h"
 #include "controller/ble_hw.h"
-#include "bsp/cmsis_nvic.h"
+#include "mcu/cmsis_nvic.h"
 
 /* Total number of resolving list elements */
 #define BLE_HW_RESOLV_LIST_SIZE     (16)
diff --git a/nimble/drivers/nrf51/src/ble_phy.c b/nimble/drivers/nrf51/src/ble_phy.c
index e22257b..ba51308 100644
--- a/nimble/drivers/nrf51/src/ble_phy.c
+++ b/nimble/drivers/nrf51/src/ble_phy.c
@@ -23,7 +23,7 @@
 #include "syscfg/syscfg.h"
 #include "os/os.h"
 #include "ble/xcvr.h"
-#include "bsp/cmsis_nvic.h"
+#include "mcu/cmsis_nvic.h"
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"
 #include "controller/ble_phy.h"
diff --git a/nimble/drivers/nrf52/src/ble_hw.c b/nimble/drivers/nrf52/src/ble_hw.c
index e63ba52..57d1402 100644
--- a/nimble/drivers/nrf52/src/ble_hw.c
+++ b/nimble/drivers/nrf52/src/ble_hw.c
@@ -27,7 +27,7 @@
 #include "nimble/nimble_opt.h"
 #include "nrf52_bitfields.h"
 #include "controller/ble_hw.h"
-#include "bsp/cmsis_nvic.h"
+#include "mcu/cmsis_nvic.h"
 #include "os/os_trace_api.h"
 
 /* Total number of resolving list elements */
diff --git a/nimble/drivers/nrf52/src/ble_phy.c b/nimble/drivers/nrf52/src/ble_phy.c
index 8590929..7f478b6 100644
--- a/nimble/drivers/nrf52/src/ble_phy.c
+++ b/nimble/drivers/nrf52/src/ble_phy.c
@@ -23,7 +23,7 @@
 #include "syscfg/syscfg.h"
 #include "os/os.h"
 #include "ble/xcvr.h"
-#include "bsp/cmsis_nvic.h"
+#include "mcu/cmsis_nvic.h"
 #include "hal/hal_gpio.h"
 #include "nimble/ble.h"
 #include "nimble/nimble_opt.h"

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 06/14: service/ans: don't depent on libm for creating bitmask (#903)

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 10cc2118264db6864eaba872bfccecd421e755fc
Author: Stéphane D'Alu <sd...@sdalu.com>
AuthorDate: Mon Mar 12 22:58:31 2018 +0100

    service/ans: don't depent on libm for creating bitmask (#903)
    
    X-Original-Commit: 0fc4943638290b121b92bc87266860802ee91258
---
 nimble/host/services/ans/src/ble_svc_ans.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/nimble/host/services/ans/src/ble_svc_ans.c b/nimble/host/services/ans/src/ble_svc_ans.c
index 507d795..ec58bd5 100644
--- a/nimble/host/services/ans/src/ble_svc_ans.c
+++ b/nimble/host/services/ans/src/ble_svc_ans.c
@@ -19,12 +19,6 @@
 
 #include <assert.h>
 #include <string.h>
-#include <math.h>
-
-/* Some ambiq SDK headers use `OVERFLOW` as an identifier.  This is a macro
- * that is leaked by some versions of math.h.
- */
-#undef OVERFLOW
 
 #include "sysinit/sysinit.h"
 #include "syscfg/syscfg.h"
@@ -32,7 +26,6 @@
 #include "host/ble_gap.h"
 #include "services/ans/ble_svc_ans.h"
 
-
 /* Max length of new alert info string */
 #define BLE_SVC_ANS_INFO_STR_MAX_LEN        18
 /* Max length of a new alert notification, max string length + 2 bytes
@@ -349,7 +342,7 @@ ble_svc_ans_unr_alert_add(uint8_t cat_id)
     uint8_t cat_bit_mask; 
     
     if (cat_id < BLE_SVC_ANS_CAT_NUM) {
-        cat_bit_mask = pow(2, cat_id);
+        cat_bit_mask = 1 << cat_id;
     } else {
         return BLE_HS_EINVAL;
     }

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 01/14: nimble/ll: Allow to be late on RX when scanning

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit f9250ff60de7aa3efed6cf1fe9c60ac534e66e67
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Mar 6 14:41:56 2018 +0100

    nimble/ll: Allow to be late on RX when scanning
    
    X-Original-Commit: 178ff7a986ca139b1d776bad8050526f4dfaf18d
---
 nimble/controller/src/ble_ll_scan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index b20cbfc..51100cc 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1001,7 +1001,7 @@ ble_ll_scan_start(struct ble_ll_scan_sm *scansm, struct ble_ll_sched_item *sch)
         rc = ble_phy_rx_set_start_time(os_cputime_get32() +
                                        g_ble_ll_sched_offset_ticks, 0);
     }
-    if (!rc) {
+    if (!rc || rc == BLE_PHY_ERR_RX_LATE) {
         /* Enable/disable whitelisting */
         if (scanphy->scan_filt_policy & 1) {
             ble_ll_whitelist_enable();

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 03/14: nimble/ll: Improve extended scanner for both PHYs

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit ef48541d0988956d8746a7c6f510a1ef2b53b989
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Mar 6 14:43:14 2018 +0100

    nimble/ll: Improve extended scanner for both PHYs
    
    This patch simplify a bit scanner core and make sure to reuse all
    available bandwith when scanning for two PHYs is requested
    
    X-Original-Commit: 1efe9e5a084373104eda914caba8252b054ddb27
---
 nimble/controller/src/ble_ll_scan.c | 109 ++++++++++++++++++------------------
 1 file changed, 56 insertions(+), 53 deletions(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index de3178f..d62620c 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -1244,9 +1244,9 @@ ble_ll_scan_switch_phy(struct ble_ll_scan_sm *scansm)
  *
  * @param arg
  */
-static uint32_t
+static bool
 ble_ll_scan_start_next_phy(struct ble_ll_scan_sm *scansm,
-                                 uint32_t next_event_time)
+                                 uint32_t *next_event_time)
 {
     struct ble_ll_scan_params *cur_phy;
     struct ble_ll_scan_params *next_phy;
@@ -1256,35 +1256,33 @@ ble_ll_scan_start_next_phy(struct ble_ll_scan_sm *scansm,
     /* Lets check if we want to switch to other PHY */
     if (scansm->cur_phy == scansm->next_phy ||
             scansm->next_phy == PHY_NOT_CONFIGURED) {
-        return next_event_time;
+        return false;
     }
 
     cur_phy = &scansm->phy_data[scansm->cur_phy];
     next_phy = &scansm->phy_data[scansm->next_phy];
 
-    cur_phy->next_event_start = next_event_time;
+    /* Store next event for current phy */
+    cur_phy->next_event_start = *next_event_time;
 
-    if ((int32_t)(next_phy->next_event_start - next_event_time)<  0) {
-        /* Other PHY already wanted to scan. Allow it */
-        ble_ll_scan_switch_phy(scansm);
-        now = os_cputime_get32();
-        if ((int32_t)(next_phy->next_event_start - now) <= 0) {
-            /* Start with new channel only if PHY was scanning already */
-            if (next_phy->next_event_start != 0) {
-                next_phy->scan_chan =
-                        ble_ll_scan_get_next_adv_prim_chan(next_phy->scan_chan);
-            }
-            next_phy->scan_win_start_time = now;
-            win = os_cputime_usecs_to_ticks(next_phy->scan_window *
-                                            BLE_HCI_SCAN_ITVL);
+    /* Other PHY already wanted to scan. Allow it */
+    ble_ll_scan_switch_phy(scansm);
 
-            next_phy->next_event_start = now + win;
-            ble_ll_scan_start(scansm, NULL);
-        }
-        next_event_time = next_phy->next_event_start;
+    now = os_cputime_get32();
+
+    /* Start with new channel only if PHY was scanning already */
+    if (next_phy->next_event_start != 0) {
+        next_phy->scan_chan =
+                ble_ll_scan_get_next_adv_prim_chan(next_phy->scan_chan);
     }
+    next_phy->scan_win_start_time = now;
+    win = os_cputime_usecs_to_ticks(next_phy->scan_window *
+                                    BLE_HCI_SCAN_ITVL);
 
-    return next_event_time;
+    next_phy->next_event_start = now + win;
+
+    *next_event_time = next_phy->next_event_start;
+    return true;
 }
 
 static void
@@ -1369,6 +1367,16 @@ ble_ll_scan_event_proc(struct os_event *ev)
         next_event_time = win_start + scan_itvl;
     }
 
+#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
+    if (inside_window == 0  &&
+                        ble_ll_scan_start_next_phy(scansm, &next_event_time)) {
+        /* Check if we should start next phy. If so let's say we are inside
+         * the window
+         */
+        inside_window = 1;
+    }
+#endif
+
     /*
      * If we are not in the standby state it means that the scheduled
      * scanning event was overlapped in the schedule. In this case all we do
@@ -1403,30 +1411,6 @@ ble_ll_scan_event_proc(struct os_event *ev)
         break;
     }
 
-#ifdef BLE_XCVR_RFCLK
-    if (inside_window == 0) {
-        /*
-         * We need to wake up before we need to start scanning in order
-         * to make sure the rfclock is on. If we are close to being on,
-         * enable the rfclock. If not, set wakeup time.
-         */
-        if (dt >= (scan_itvl - g_ble_ll_data.ll_xtal_ticks)) {
-            /* Start the clock if necessary */
-            if (start_scan) {
-                if (ble_ll_xcvr_rfclk_state() == BLE_RFCLK_STATE_OFF) {
-                    ble_ll_xcvr_rfclk_start_now(now);
-                    next_event_time = now + g_ble_ll_data.ll_xtal_ticks;
-                }
-            }
-        } else {
-            next_event_time -= g_ble_ll_data.ll_xtal_ticks;
-            if (start_scan) {
-                ble_ll_scan_rfclk_chk_stop();
-            }
-        }
-    }
-#endif
-
     if (start_scan && inside_window) {
 #ifdef BLE_XCVR_RFCLK
             xtal_state = ble_ll_xcvr_rfclk_state();
@@ -1443,7 +1427,7 @@ ble_ll_scan_event_proc(struct os_event *ev)
              */
             if (win != 0) {
                 if ((win - dt) <= xtal_ticks)  {
-                    goto rfclk_not_settled;
+                    goto done;
                 }
             }
 
@@ -1455,19 +1439,38 @@ ble_ll_scan_event_proc(struct os_event *ev)
                 ble_ll_xcvr_rfclk_start_now(now);
             }
             next_event_time = now + xtal_ticks;
-            goto rfclk_not_settled;
+            goto done;
         }
 #endif
         ble_ll_scan_start(scansm, NULL);
-    } else {
-#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
-      next_event_time = ble_ll_scan_start_next_phy(scansm, next_event_time);
-#endif
+        goto done;
     }
 
 #ifdef BLE_XCVR_RFCLK
-rfclk_not_settled:
+    if (inside_window == 0) {
+        /*
+         * We need to wake up before we need to start scanning in order
+         * to make sure the rfclock is on. If we are close to being on,
+         * enable the rfclock. If not, set wakeup time.
+         */
+        if (dt >= (scan_itvl - g_ble_ll_data.ll_xtal_ticks)) {
+            /* Start the clock if necessary */
+            if (start_scan) {
+                if (ble_ll_xcvr_rfclk_state() == BLE_RFCLK_STATE_OFF) {
+                    ble_ll_xcvr_rfclk_start_now(now);
+                    next_event_time = now + g_ble_ll_data.ll_xtal_ticks;
+                }
+            }
+        } else {
+            next_event_time -= g_ble_ll_data.ll_xtal_ticks;
+            if (start_scan) {
+                ble_ll_scan_rfclk_chk_stop();
+            }
+        }
+    }
 #endif
+
+done:
     OS_EXIT_CRITICAL(sr);
     os_cputime_timer_start(&scansm->scan_timer, next_event_time);
 }

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 08/14: mesh: Fix setting advertising scan response data

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 3c0e120bd07d465df34591a392436cd4c98ad14b
Author: Michał Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Mar 6 12:02:42 2018 +0100

    mesh: Fix setting advertising scan response data
    
    Previously the scan response data was ignored.
    Also the discoverable mode of advertising should be set
    to ensure that the advertising is scannable and that the controller
    can send scan response data.
    
    X-Original-Commit: 8dbd765334d696baeb2c7a20e5ea812a727180c1
---
 nimble/host/mesh/src/glue.c  | 16 ++++++++++++++++
 nimble/host/mesh/src/proxy.c |  4 +++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/nimble/host/mesh/src/glue.c b/nimble/host/mesh/src/glue.c
index b93d9db..15d8d9b 100644
--- a/nimble/host/mesh/src/glue.c
+++ b/nimble/host/mesh/src/glue.c
@@ -491,6 +491,22 @@ bt_le_adv_start(const struct ble_gap_adv_params *param,
         return err;
     }
 
+    if (sd) {
+        buf_len = 0;
+
+        err = set_ad(sd, sd_len, buf, &buf_len);
+        if (err) {
+            BT_ERR("Advertising failed: err %d", err);
+            return err;
+        }
+
+        err = ble_gap_adv_rsp_set_data(buf, buf_len);
+        if (err != 0) {
+            BT_ERR("Advertising failed: err %d", err);
+            return err;
+        }
+    }
+
     err = ble_gap_adv_start(g_mesh_addr_type, NULL, BLE_HS_FOREVER, param,
                             NULL, NULL);
     if (err) {
diff --git a/nimble/host/mesh/src/proxy.c b/nimble/host/mesh/src/proxy.c
index 1fe5317..4ec2cbe 100644
--- a/nimble/host/mesh/src/proxy.c
+++ b/nimble/host/mesh/src/proxy.c
@@ -81,13 +81,15 @@ ble_uuid16_t BT_UUID_MESH_PROXY_DATA_OUT       = BLE_UUID16_INIT(0x2ade);
 #define CLIENT_BUF_SIZE 68
 
 static const struct ble_gap_adv_params slow_adv_param = {
-	.conn_mode = (BLE_GAP_CONN_MODE_UND ),
+	.conn_mode = (BLE_GAP_CONN_MODE_UND),
+	.disc_mode = (BLE_GAP_DISC_MODE_GEN),
 	.itvl_min = BT_GAP_ADV_SLOW_INT_MIN,
 	.itvl_max = BT_GAP_ADV_SLOW_INT_MAX,
 };
 
 static const struct ble_gap_adv_params fast_adv_param = {
 	.conn_mode = (BLE_GAP_CONN_MODE_UND),
+	.disc_mode = (BLE_GAP_DISC_MODE_GEN),
 	.itvl_min = BT_GAP_ADV_FAST_INT_MIN_2,
 	.itvl_max = BT_GAP_ADV_FAST_INT_MAX_2,
 };

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 04/14: nimble/ll: Support scan on two PHYs when continous scanning requested

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 6054b773942b603d309b32d89b9b6dab6e2309d9
Author: Łukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Mar 6 14:45:41 2018 +0100

    nimble/ll: Support scan on two PHYs when continous scanning requested
    
    X-Original-Commit: 6258e862c56f2b99ef1682f1fc6c200ce36986ab
---
 nimble/controller/src/ble_ll_scan.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/nimble/controller/src/ble_ll_scan.c b/nimble/controller/src/ble_ll_scan.c
index d62620c..5f7fe59 100644
--- a/nimble/controller/src/ble_ll_scan.c
+++ b/nimble/controller/src/ble_ll_scan.c
@@ -2691,14 +2691,16 @@ ble_ll_set_ext_scan_params(uint8_t *cmd)
     }
 #endif
 
-    /* For now we don't accept request for continuous scan if 2 PHYs are
-     * requested.
+    /* If host requests continuous scan for 2 PHYs, we double scan interval
+     * and split it for two equal scan windows between 2 PHYs
      */
-    if ((cmd[2] ==
-            (BLE_HCI_LE_PHY_1M_PREF_MASK | BLE_HCI_LE_PHY_CODED_PREF_MASK)) &&
+    if ((coded->configured && uncoded->configured) &&
                 ((uncoded->scan_itvl == uncoded->scan_window) ||
                 (coded->scan_itvl == coded-> scan_window))) {
-            return BLE_ERR_INV_HCI_CMD_PARMS;
+
+                uncoded->scan_itvl *= 2;
+                coded-> scan_itvl = uncoded->scan_itvl;
+                coded->scan_window = uncoded->scan_window;
     }
 
     memcpy(g_ble_ll_scan_params, new_params, sizeof(new_params));

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.

[mynewt-nimble] 12/14: Merge pull request #911 from michal-narajowski/mesh-fixes

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit ae8ce47c5d703b39b534bdeddc90becee80af42f
Merge: cff6b84 feb792c
Author: Michał Narajowski <mi...@codecoup.pl>
AuthorDate: Tue Mar 13 13:21:09 2018 +0100

    Merge pull request #911 from michal-narajowski/mesh-fixes
    
    Mesh fixes
    
    X-Original-Commit: 00eb38b4c4d14b88da05ff0e82b2f8ebf728942c

 nimble/host/mesh/include/mesh/glue.h |  2 +-
 nimble/host/mesh/src/glue.c          | 16 ++++++++++++++++
 nimble/host/mesh/src/lpn.c           |  2 +-
 nimble/host/mesh/src/net.h           |  2 +-
 nimble/host/mesh/src/proxy.c         |  4 +++-
 nimble/host/mesh/src/shell.c         |  8 ++++----
 6 files changed, 26 insertions(+), 8 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
andk@apache.org.