You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/26 07:26:14 UTC

[GitHub] sjanc closed pull request #1051: btshell: Fix data_status decoding in extended scan

sjanc closed pull request #1051: btshell: Fix data_status decoding in extended scan
URL: https://github.com/apache/mynewt-core/pull/1051
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/apps/btshell/src/main.c b/apps/btshell/src/main.c
index 8bb46874b0..0dc6645dcf 100644
--- a/apps/btshell/src/main.c
+++ b/apps/btshell/src/main.c
@@ -941,13 +941,13 @@ btshell_decode_event_type(struct ble_gap_ext_disc_desc *desc)
     }
 
     switch(desc->data_status) {
-    case BLE_HCI_ADV_DATA_STATUS_COMPLETE:
+    case BLE_GAP_EXT_ADV_DATA_STATUS_COMPLETE:
         console_printf("complete");
         break;
-    case BLE_HCI_ADV_DATA_STATUS_INCOMPLETE:
+    case BLE_GAP_EXT_ADV_DATA_STATUS_INCOMPLETE:
         console_printf("incomplete");
         break;
-    case BLE_HCI_ADV_DATA_STATUS_TRUNCATED:
+    case BLE_GAP_EXT_ADV_DATA_STATUS_TRUNCATED:
         console_printf("truncated");
         break;
     default:


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services