summaryrefslogtreecommitdiff
path: root/chip/nrf51/radio_test.h
diff options
context:
space:
mode:
authorLevi Oliver <levio@google.com>2016-08-09 14:55:41 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-11 14:46:32 -0700
commitbf302b55e9973a5c6e3e59722a9d3062e7936832 (patch)
treed3de6d5c8f90bbaffded93a3747d078fbde83b25 /chip/nrf51/radio_test.h
parentef6e93dc1bbf92821c9d3ff149f691fbdad1c015 (diff)
downloadchrome-ec-bf302b55e9973a5c6e3e59722a9d3062e7936832.tar.gz
btle: Add framework for parsing data packets
Re-wrote ble_radio_init to work with both data and advertising packets. Updated all calls to refactored function. RADIO_PCNF0_ADV renamed because it applies to advertisement and data packet formats. Updated all references to this value. TEST=make BOARD=hadoken BUG=None BRANCH=None Change-Id: I0fdbe0eb146ce5cbc40e3ac67bf4d0e5465dcc2f Signed-off-by: Levi Oliver <levio@google.com> Reviewed-on: https://chromium-review.googlesource.com/367732 Commit-Ready: Myles Watson <mylesgw@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Myles Watson <mylesgw@chromium.org>
Diffstat (limited to 'chip/nrf51/radio_test.h')
-rw-r--r--chip/nrf51/radio_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/nrf51/radio_test.h b/chip/nrf51/radio_test.h
index b70a22d69a..591b78a78c 100644
--- a/chip/nrf51/radio_test.h
+++ b/chip/nrf51/radio_test.h
@@ -17,7 +17,7 @@
#define BLE_MAX_TEST_CHANNEL 39
#define BLE_MIN_TEST_CHANNEL 0
-#define NRF51_RADIO_PCNF0_TEST NRF51_RADIO_PCNF0_ADV
+#define NRF51_RADIO_PCNF0_TEST NRF51_RADIO_PCNF0_ADV_DATA
#define BLE_TEST_WHITEN 0