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/05/16 18:33:50 UTC
[1/3] incubator-mynewt-core git commit: net/nimble;
adjust BCM2837 fix to print a warning instead of erroring. Keep
header file define the same.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/master b2a367eb0 -> be82a7ad6
net/nimble; adjust BCM2837 fix to print a warning instead of erroring.
Keep header file define the same.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/be82a7ad
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/be82a7ad
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/be82a7ad
Branch: refs/heads/master
Commit: be82a7ad60926d746a77409c322449563f02cce5
Parents: 1db1b3c
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Apr 26 17:32:47 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue May 16 11:33:41 2017 -0700
----------------------------------------------------------------------
net/nimble/host/src/ble_hs_hci_util.c | 3 +--
net/nimble/include/nimble/hci_common.h | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/be82a7ad/net/nimble/host/src/ble_hs_hci_util.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_hci_util.c b/net/nimble/host/src/ble_hs_hci_util.c
index e143e19..f50eafd 100644
--- a/net/nimble/host/src/ble_hs_hci_util.c
+++ b/net/nimble/host/src/ble_hs_hci_util.c
@@ -55,8 +55,7 @@ ble_hs_hci_util_read_adv_tx_pwr(int8_t *out_tx_pwr)
if (params_len != 1 ||
*out_tx_pwr < BLE_HCI_ADV_CHAN_TXPWR_MIN ||
*out_tx_pwr > BLE_HCI_ADV_CHAN_TXPWR_MAX) {
-
- return BLE_HS_ECONTROLLER;
+ BLE_HS_LOG(WARN, "advertiser txpwr out of range\n");
}
return 0;
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/be82a7ad/net/nimble/include/nimble/hci_common.h
----------------------------------------------------------------------
diff --git a/net/nimble/include/nimble/hci_common.h b/net/nimble/include/nimble/hci_common.h
index 4387caf..ff34316 100644
--- a/net/nimble/include/nimble/hci_common.h
+++ b/net/nimble/include/nimble/hci_common.h
@@ -191,7 +191,7 @@ extern "C" {
/* --- LE advertising channel tx power (OCF 0x0007) */
#define BLE_HCI_ADV_CHAN_TXPWR_ACK_PARAM_LEN (2) /* Includes status byte. */
#define BLE_HCI_ADV_CHAN_TXPWR_MIN (-20)
-#define BLE_HCI_ADV_CHAN_TXPWR_MAX (12)
+#define BLE_HCI_ADV_CHAN_TXPWR_MAX (10)
/* --- LE set advertising data (OCF 0x0008) */
#define BLE_HCI_MAX_ADV_DATA_LEN (31)
[3/3] incubator-mynewt-core git commit: net/nimble;
we reject BCM2837 on raspberry pi for higher tx power report. Up the
allowed range to accomodate it.
Posted by cc...@apache.org.
net/nimble; we reject BCM2837 on raspberry pi for higher tx power
report. Up the allowed range to accomodate it.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/83c0b03e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/83c0b03e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/83c0b03e
Branch: refs/heads/master
Commit: 83c0b03e28c0fea8b5bec46b0075aebdf01984dd
Parents: b2a367e
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Apr 25 11:03:20 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue May 16 11:33:41 2017 -0700
----------------------------------------------------------------------
net/nimble/include/nimble/hci_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/83c0b03e/net/nimble/include/nimble/hci_common.h
----------------------------------------------------------------------
diff --git a/net/nimble/include/nimble/hci_common.h b/net/nimble/include/nimble/hci_common.h
index ff34316..4387caf 100644
--- a/net/nimble/include/nimble/hci_common.h
+++ b/net/nimble/include/nimble/hci_common.h
@@ -191,7 +191,7 @@ extern "C" {
/* --- LE advertising channel tx power (OCF 0x0007) */
#define BLE_HCI_ADV_CHAN_TXPWR_ACK_PARAM_LEN (2) /* Includes status byte. */
#define BLE_HCI_ADV_CHAN_TXPWR_MIN (-20)
-#define BLE_HCI_ADV_CHAN_TXPWR_MAX (10)
+#define BLE_HCI_ADV_CHAN_TXPWR_MAX (12)
/* --- LE set advertising data (OCF 0x0008) */
#define BLE_HCI_MAX_ADV_DATA_LEN (31)
[2/3] incubator-mynewt-core git commit: net/nimble/hs;
QCA6234 rejects 2nd page of event settings. Instead of failing, log
the event as warning and continue.
Posted by cc...@apache.org.
net/nimble/hs; QCA6234 rejects 2nd page of event settings.
Instead of failing, log the event as warning and continue.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/1db1b3c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/1db1b3c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/1db1b3c1
Branch: refs/heads/master
Commit: 1db1b3c17264cf42ef210d1c00cb7ef15ec07f09
Parents: 83c0b03
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Tue Apr 25 11:06:10 2017 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue May 16 11:33:41 2017 -0700
----------------------------------------------------------------------
net/nimble/host/src/ble_hs_startup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/1db1b3c1/net/nimble/host/src/ble_hs_startup.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_startup.c b/net/nimble/host/src/ble_hs_startup.c
index f7d5956..a38c703 100644
--- a/net/nimble/host/src/ble_hs_startup.c
+++ b/net/nimble/host/src/ble_hs_startup.c
@@ -189,7 +189,7 @@ ble_hs_startup_set_evmask_tx(void)
ble_hs_hci_cmd_build_set_event_mask2(0x0000000000800000, buf, sizeof buf);
rc = ble_hs_hci_cmd_tx_empty_ack(buf);
if (rc != 0) {
- return rc;
+ BLE_HS_LOG(WARN, "ble_hs_startup_set_evmask_tx() failed\n");
}
return 0;