You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/08/24 19:12:26 UTC
[mynewt-newtmgr] 01/03: nmxact - Allow acked write reqs for CoAP
services.
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git
commit 16ec49707f7a65c336fd61e967382299023f3d2b
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Aug 24 12:10:52 2017 -0700
nmxact - Allow acked write reqs for CoAP services.
---
nmxact/nmble/ble_util.go | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/nmxact/nmble/ble_util.go b/nmxact/nmble/ble_util.go
index fa9d151..f31ca31 100644
--- a/nmxact/nmble/ble_util.go
+++ b/nmxact/nmble/ble_util.go
@@ -716,8 +716,10 @@ func GenCoapService(cfg CoapServiceCfg) (BleSvc, error) {
SvcType: BLE_SVC_TYPE_PRIMARY,
Chrs: []BleChr{
BleChr{
- Uuid: cfg.ReqChrUuid,
- Flags: BLE_GATT_F_WRITE_NO_RSP | secFlags,
+ Uuid: cfg.ReqChrUuid,
+ Flags: BLE_GATT_F_WRITE |
+ BLE_GATT_F_WRITE_NO_RSP |
+ secFlags,
MinKeySize: 0,
AccessCb: func(access BleGattAccess) (uint8, []byte) {
return svr.Rx(access), nil
--
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.