You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2019/02/20 14:51:44 UTC
[mynewt-core] branch master updated (db3d579 -> 9204b25)
This is an automated email from the ASF dual-hosted git repository.
marko pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.
from db3d579 Check if ARRAY_SIZE is already defined (#1651)
new 73f6c11 oic; add APIs for transport to inform about incoming/removed connections. This notifications are then distributed to interested parties.
new 181ed37 oic; add a routine to walk through all registered coap observers.
new 48688dc coap; move observer removal when BLE connection goes down to execute in same task context as other coap processing.
new 02aef4f coap; add an optional function pointer for transport to report whether it is using connections or if it is connectionless. Use this in notification reporting to figure if CON messages should be used to determine whether recipient is still there.
new 7e15e1c oic; fix typo in syscfg description
new 3982fc4 oic; oc_conn_created() was creating a wrong kind of notification.
new 9204b25 Merge pull request #1641 from mkiiskila/coap_connection_observer_cleanup
The 8554 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:
net/oic/include/oic/messaging/coap/observe.h | 2 +
net/oic/include/oic/port/mynewt/adaptor.h | 2 +
net/oic/include/oic/port/mynewt/ble.h | 12 +++
net/oic/include/oic/port/mynewt/transport.h | 1 +
net/oic/include/oic/port/oc_connectivity.h | 46 +++++++++++
net/oic/src/messaging/coap/observe.c | 20 ++++-
net/oic/src/port/mynewt/adaptor.c | 1 +
net/oic/src/port/mynewt/ble_adaptor.c | 84 +++++++++++++++++----
net/oic/src/port/mynewt/conns.c | 109 +++++++++++++++++++++++++++
net/oic/syscfg.yml | 6 ++
10 files changed, 267 insertions(+), 16 deletions(-)
create mode 100644 net/oic/src/port/mynewt/conns.c