You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2021/01/12 13:05:32 UTC

[mynewt-nimble] branch master updated (5fbb666 -> 5bcfd16)

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

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


    from 5fbb666  ble_gap: fix warning about implicit cast form pointer to int
     new 4982bc7  mesh: Fixes seg_tx_reset adv buf unref In seg_tx_reset() in transport.c, set the busy flag to 0U before doing adv buf unref, which will avoid sending unnecessary adv packets in case the adv buf is already put in the mesh adv_queue.
     new 999f4a1  mesh: Fixes wrong return value
     new 90e624b  mesh: Fixes Delete On Node Fixes a issue where nodes could not be deleted.
     new 569a625  mesh: Fixes Config client send publish message When Config client model send publish message, app_idx will be need, however, currently code clear this value use &, this will be generate error when app_idx not zero.
     new 07928f5  mesh: Fixes wrong subnet used for Friend Clear When Friend node tries to send Friend Clear message to other Friend nodes, it should use the subnet information based on the net_idx from friendship.
     new e088a9d  mesh: Refactor CCM Unifies the Mesh CCM implementation parts for encryption and decryption into a crypt and an auth step, reducing stack usage and code size.
     new 7710771  mesh: Enable Segmented Control Messages
     new 13c48e2  mesh: Model start callback
     new 0b1e0d7  mesh: Add database for managing nodes and keys
     new 1cfa2e8  mesh: Fix PreviousAddress endianess in Friend Request
     new 95051c6  mesh: Skip publish if update fails
     new 748f568  mesh: Fix provisioning buffer initialization
     new 6920683  mesh: create aes-ccm module aes-ccm now has it's own file. Added functions and file structure introduced by 24db9e029c67afa971ed708b79ab86cebc99c895
     new 3ee80fe  mesh: Support reliable sending when publishing
     new 567bb54  mesh: CDB for config client in shell
     new 5b2b9ea  mesh: typo in condition in comp_add_elem of cfg_srv
     new f4d5f4c  mesh: Rework msg_cache
     new fe96603  Bluetooth: mesh: Use 24-bit functions
     new 08d0397  mesh: Segmented TX to groups
     new 13900a1  mesh: Group resends in proxy nodes
     new 7b15f67  mesh: Split out provisioning bearers
     new 05b30af  mesh: Fix restore when revoke keys
     new 74a57e5  mesh: optimize performance for lpn node
     new d5e0507  mesh: Fix handling of app index and local device key
     new 6b6c67e  mesh: Slab based segmentation handling
     new 30cbff9  mesh: Fix transport tx and rx
     new 4c2a60c  mesh: Fixes duplicated close callback
     new 5c4d4fe  mesh: PB-GATT common link closed
     new e2048d9  mesh: Fix add model group address to sub list
     new f8c5a0e  mesh: Remove net_idx params when with app key
     new d5adbe2  mesh: Add cfg cli list getters
     new 02df6df  mesh: net_key_status only pull one key idx
     new 7cffc8d  mesh: Add a define representing max transaction id
     new e6fd327  mesh: Start protocol timer on send message in advertising bearer
     new fa3c93c  mesh: Add reset link functionality to provisioning bearers
     new 1c702e0  mesh: Fix net_buf leak in advertising provisioning bearer
     new 052a034  mesh: Enhancement prov segment received
     new 8be692f  mesh: Fix tx seg buffer with NULL pointer reference
     new 14f7dd9  mesh: configurable advertiser stack size
     new eaa36c9  mesh: Silence proxy not connected log
     new bfe7f21  mesh: Add Option config unprov beacon interval
     new 27cb1c9  mesh: Network loopback
     new 0e77fee  mesh: Config client net_key_del
     new ca59f8d  mesh: Adds three Config Client API
     new 2bcd23d  mesh: Store Krp phase after krp value changed
     new 9727915  mesh: Move Replay Protect to seperate module
     new 9ea97bd  mesh: Virtual address memory leak
     new 1b38d8b  mesh: Fix bug with storing node in CDB
     new e6f3a2e  mesh: Fix cdb key update iteration
     new e08f2f3  mesh: Remove redundant expression
     new 3f79c76  mesh: Fix dereferencing pointer before checking for NULL
     new d6525d5  mesh: Friend with unknown appkey
     new 51370cc  mesh: Transport seg with few adv bufs
     new a684f02  mesh: Transport tx seg_o overflow
     new e147290  mesh: Transport tx fields overflow
     new 2272327  mesh: fix shadow declare this is port of bb5ce8ae30e5e44bb2c337988e08e1c90c42f40e
     new 557c6f9  mesh: correct the return type
     new f317241  mesh: Fail init on model init error
     new 78f95c5  mesh: replace zephyr integer types with C99 types
     new 92483a2  mesh: Add key-value concept to store model data
     new 6ffa901  mesh: Null check buf before unref
     new e9ebd2d  mesh: Keep PB-GATT callback through disconnect
     new 86c5d77  mesh: Fix response to Provisioning PDU with invalid type
     new e51ecd5  mesh: Wait for proxy on node reset
     new ec3e4b4  mesh: Transport seg send timeout
     new a45035e  mesh: Use BT_UUID_16_ENCODE to set UUIDs in adv data
     new 97023e6  mesh: Use #ifdef for provisioner build
     new f0a80d0  mesh: Fix send input_complete before public key
     new bf4560e  mesh: Provisioning: Reject identical random
     new e1a222a  mesh: Config Client network transmit set/get API
     new b25a1a8  mesh: Disable network_id beacon when proxy disabled
     new baf1549  mesh: Change the default value to syscfg
     new 7ad5d4d  mesh: Isolate cryptographic material
     new 9897e56  mesh: free local mbuf chains
     new 0b3db9a  mesh: add bt_mesh_friend_terminate() function
     new 044f08b  mesh: split prov.c into two separate modules
     new 53a5897  mesh: Fixes Relay to frnd_cred message
     new 819bbe8  mesh: Add Config Client API
     new 4d5a103  mesh: Move labels to transport
     new 61c3b30  mesh: Remove `bt_mesh_net_start`
     new a02cb16  mesh: Fix model tree walk procedure
     new 0beffcd  msh: Permit model walk from any model
     new db8da90  mesh: Fix set friend_cred flag incorrectly
     new 4435537  mesh: Account for ASZMIC in encrypt
     new c06a03a  mesh: Move heartbeat to separate module
     new 011dbfd  mesh: Encapsulate feature config
     new 2e41391  mesh: Check TTL max value on transport TX
     new e3b0b3c  mesh: Fix DST field check when send
     new 48ef1af  mesh: after-sync fixes this commit contains fixes of various problems introduced by sync with zephyr and/or mistakes in porting these changes.
     new e955ec2  mesh: Permit kr phase 0x00 to 0x03 MESH/NODE/KR/BI-01-C Permit kr phase 0x00-->0x03
     new ae9800b  mesh: Fixes missing recv net_idx copy to context
     new c4c63b7  mesh: fix after sync part 2
     new 44bdd1d  mesh: Fixes missing set virtual addr
     new 935509a  mesh: avoid improper access to internal structures
     new f92996b  mesh: Only block mod_sub if status was requested
     new ce8c300  mesh: Fix friend node cache message
     new 5b2b733  mesh: Fix Friend node estalished
     new efbebd1  mesh: Fixes wrong app_key_idx parameters
     new 68e7bb8  mesh: Fixes LPN poll timeout gradually grow
     new 6681f63  mesh: Pull all function calls out of the K_MSEC macro
     new bf6c419  mesh: Fix overflow of ivu_duration value
     new 478fae3  mesh: Make address defines public
     new 2ea1f1e  mesh: Make access packet sizes defines public
     new 4ccfa1c  mesh: Set LPN credentials on friend_req
     new 5642a14  mesh: Check LPN credentials before establishment
     new f03c4ce  mesh: LPN non-low power establishment set state
     new 5b090c9  bttester: Fix net send command
     new 13a7c75  mesh: after sync fixes continuation
     new 5a5493d  mesh: Fix friendship counter increasing order
     new 5bcfd16  mesh: fix cdb.c conflicts when BLE_MESH_CDB is disabled

The 110 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:
 apps/blemesh/src/main.c                            |   24 +-
 apps/blemesh_light/src/light_model.c               |   30 +-
 apps/blemesh_light/src/light_model.h               |   12 +-
 apps/blemesh_light/src/main.c                      |    4 +-
 apps/blemesh_models_example_1/src/main.c           |   58 +-
 apps/blemesh_models_example_2/src/ble_mesh.c       |    6 +-
 .../src/device_composition.c                       |  171 +-
 .../src/device_composition.h                       |  122 +-
 apps/blemesh_models_example_2/src/main.c           |   24 +-
 apps/blemesh_models_example_2/src/publisher.c      |    8 +-
 apps/blemesh_models_example_2/src/state_binding.c  |   42 +-
 apps/blemesh_models_example_2/src/state_binding.h  |   10 +-
 apps/blemesh_models_example_2/src/storage.c        |   14 +-
 apps/blemesh_models_example_2/src/storage.h        |    4 +-
 apps/blemesh_models_example_2/src/transition.c     |   28 +-
 apps/blemesh_models_example_2/src/transition.h     |   30 +-
 apps/blemesh_shell/src/main.c                      |   10 +-
 apps/bttester/src/bttester.c                       |   44 +-
 apps/bttester/src/bttester.h                       |  754 ++++----
 apps/bttester/src/bttester_pipe.h                  |    6 +-
 apps/bttester/src/gap.c                            |  162 +-
 apps/bttester/src/gatt.c                           |  144 +-
 apps/bttester/src/glue.c                           |    4 +-
 apps/bttester/src/glue.h                           |   18 +-
 apps/bttester/src/l2cap.c                          |   46 +-
 apps/bttester/src/mesh.c                           |  182 +-
 apps/bttester/src/rtt_pipe.c                       |    8 +-
 apps/bttester/src/uart_pipe.c                      |    8 +-
 apps/bttester/syscfg.yml                           |    6 +-
 apps/mesh_badge/src/board.h                        |    6 +-
 apps/mesh_badge/src/gatt_svr.c                     |   10 +-
 apps/mesh_badge/src/mesh.c                         |   37 +-
 apps/mesh_badge/src/mesh.h                         |    4 +-
 apps/mesh_badge/src/reel_board.c                   |   32 +-
 apps/mesh_badge/syscfg.yml                         |    1 +
 nimble/host/mesh/include/mesh/access.h             |  109 +-
 nimble/host/mesh/{src => include/mesh}/atomic.h    |    0
 nimble/host/mesh/include/mesh/cdb.h                |  267 +++
 nimble/host/mesh/include/mesh/cfg.h                |  485 +++++
 nimble/host/mesh/include/mesh/cfg_cli.h            |  244 ++-
 nimble/host/mesh/include/mesh/cfg_srv.h            |   42 +-
 nimble/host/mesh/include/mesh/glue.h               |  196 +-
 nimble/host/mesh/include/mesh/health_cli.h         |   42 +-
 nimble/host/mesh/include/mesh/health_srv.h         |   20 +-
 nimble/host/mesh/include/mesh/heartbeat.h          |  123 ++
 nimble/host/mesh/include/mesh/main.h               |  198 +-
 nimble/host/mesh/include/mesh/mesh.h               |    5 +
 nimble/host/mesh/include/mesh/model_cli.h          |   18 +-
 nimble/host/mesh/include/mesh/model_srv.h          |   24 +-
 nimble/host/mesh/include/mesh/testing.h            |   22 +-
 nimble/host/mesh/src/access.c                      |  188 +-
 nimble/host/mesh/src/access.h                      |   23 +-
 nimble/host/mesh/src/adv.c                         |   47 +-
 nimble/host/mesh/src/adv.h                         |   19 +-
 nimble/host/mesh/src/aes-ccm.c                     |  224 +++
 nimble/host/mesh/src/app_keys.c                    |  507 +++++
 nimble/host/mesh/src/app_keys.h                    |   86 +
 nimble/host/mesh/src/beacon.c                      |  278 +--
 nimble/host/mesh/src/beacon.h                      |    1 +
 nimble/host/mesh/src/cdb.c                         |  389 ++++
 nimble/host/mesh/src/cfg.c                         |  267 +++
 nimble/host/mesh/src/cfg.h                         |    9 +
 nimble/host/mesh/src/cfg_cli.c                     |  901 +++++++--
 nimble/host/mesh/src/cfg_srv.c                     | 1848 ++++---------------
 nimble/host/mesh/src/crypto.c                      |  546 +-----
 nimble/host/mesh/src/crypto.h                      |  143 +-
 nimble/host/mesh/src/foundation.h                  |   42 +-
 nimble/host/mesh/src/friend.c                      |  394 ++--
 nimble/host/mesh/src/friend.h                      |   20 +-
 nimble/host/mesh/src/glue.c                        |   91 +-
 nimble/host/mesh/src/health_cli.c                  |   68 +-
 nimble/host/mesh/src/health_srv.c                  |   38 +-
 nimble/host/mesh/src/heartbeat.c                   |  351 ++++
 nimble/host/mesh/src/heartbeat.h                   |   40 +
 nimble/host/mesh/src/light_model.c                 |   22 +-
 nimble/host/mesh/src/light_model.h                 |   12 +-
 nimble/host/mesh/src/lpn.c                         |  195 +-
 nimble/host/mesh/src/lpn.h                         |    6 +-
 nimble/host/mesh/src/mesh.c                        |  231 ++-
 nimble/host/mesh/src/mesh_priv.h                   |   22 +-
 nimble/host/mesh/src/model_cli.c                   |   30 +-
 nimble/host/mesh/src/model_srv.c                   |   16 +-
 nimble/host/mesh/src/net.c                         | 1141 +++---------
 nimble/host/mesh/src/net.h                         |  244 +--
 nimble/host/mesh/src/nodes.c                       |  161 --
 nimble/host/mesh/src/nodes.h                       |   10 -
 nimble/host/mesh/src/pb_adv.c                      |  888 +++++++++
 nimble/host/mesh/src/pb_gatt.c                     |  158 ++
 nimble/host/mesh/src/prov.c                        | 1940 ++------------------
 nimble/host/mesh/src/prov.h                        |  133 +-
 nimble/host/mesh/src/prov_bearer.h                 |  116 ++
 nimble/host/mesh/src/prov_device.c                 |  569 ++++++
 nimble/host/mesh/src/provisioner.c                 |  746 ++++++++
 nimble/host/mesh/src/provisioner.h                 |   10 +
 nimble/host/mesh/src/proxy.c                       |  271 ++-
 nimble/host/mesh/src/proxy.h                       |   15 +-
 nimble/host/mesh/src/rpl.c                         |  162 ++
 nimble/host/mesh/src/rpl.h                         |   30 +
 nimble/host/mesh/src/settings.c                    | 1294 ++++++++-----
 nimble/host/mesh/src/settings.h                    |   17 +-
 nimble/host/mesh/src/shell.c                       | 1226 +++++++++++--
 nimble/host/mesh/src/subnet.c                      |  666 +++++++
 nimble/host/mesh/src/subnet.h                      |  197 ++
 nimble/host/mesh/src/testing.c                     |   67 +-
 nimble/host/mesh/src/testing.h                     |   12 +-
 nimble/host/mesh/src/transport.c                   | 1193 ++++++------
 nimble/host/mesh/src/transport.h                   |   80 +-
 nimble/host/mesh/syscfg.yml                        |  280 ++-
 porting/examples/linux_blemesh/ble.c               |   24 +-
 .../examples/linux_blemesh/include/logcfg/logcfg.h |   28 +
 .../examples/linux_blemesh/include/syscfg/syscfg.h |  101 +-
 111 files changed, 13920 insertions(+), 8777 deletions(-)
 copy nimble/host/mesh/{src => include/mesh}/atomic.h (100%)
 create mode 100644 nimble/host/mesh/include/mesh/cdb.h
 create mode 100644 nimble/host/mesh/include/mesh/cfg.h
 create mode 100644 nimble/host/mesh/include/mesh/heartbeat.h
 create mode 100644 nimble/host/mesh/src/aes-ccm.c
 create mode 100644 nimble/host/mesh/src/app_keys.c
 create mode 100644 nimble/host/mesh/src/app_keys.h
 create mode 100644 nimble/host/mesh/src/cdb.c
 create mode 100644 nimble/host/mesh/src/cfg.c
 create mode 100644 nimble/host/mesh/src/cfg.h
 create mode 100644 nimble/host/mesh/src/heartbeat.c
 create mode 100644 nimble/host/mesh/src/heartbeat.h
 delete mode 100644 nimble/host/mesh/src/nodes.c
 delete mode 100644 nimble/host/mesh/src/nodes.h
 create mode 100644 nimble/host/mesh/src/pb_adv.c
 create mode 100644 nimble/host/mesh/src/pb_gatt.c
 create mode 100644 nimble/host/mesh/src/prov_bearer.h
 create mode 100644 nimble/host/mesh/src/prov_device.c
 create mode 100644 nimble/host/mesh/src/provisioner.c
 create mode 100644 nimble/host/mesh/src/provisioner.h
 create mode 100644 nimble/host/mesh/src/rpl.c
 create mode 100644 nimble/host/mesh/src/rpl.h
 create mode 100644 nimble/host/mesh/src/subnet.c
 create mode 100644 nimble/host/mesh/src/subnet.h