From commits-return-16016-archive-asf-public=cust-asf.ponee.io@mynewt.apache.org Wed Feb 7 19:10:34 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 3A52918065B for ; Wed, 7 Feb 2018 19:10:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2A3E0160C5B; Wed, 7 Feb 2018 18:10:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71D1B160C3A for ; Wed, 7 Feb 2018 19:10:33 +0100 (CET) Received: (qmail 49867 invoked by uid 500); 7 Feb 2018 18:10:32 -0000 Mailing-List: contact commits-help@mynewt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mynewt.apache.org Delivered-To: mailing list commits@mynewt.apache.org Received: (qmail 49857 invoked by uid 99); 7 Feb 2018 18:10:32 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2018 18:10:32 +0000 From: GitBox To: commits@mynewt.apache.org Subject: [GitHub] andrzej-kaczmarek closed pull request #799: apps: Fix symbol names for ext advertising data Message-ID: <151802703205.30664.3287553666869847199.gitbox@gitbox.apache.org> andrzej-kaczmarek closed pull request #799: apps: Fix symbol names for ext advertising data URL: https://github.com/apache/mynewt-core/pull/799 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/bletiny/src/main.c b/apps/bletiny/src/main.c index fe7a0be9c..f1f4717f1 100755 --- a/apps/bletiny/src/main.c +++ b/apps/bletiny/src/main.c @@ -934,14 +934,14 @@ bletiny_decode_event_type(struct ble_gap_ext_disc_desc *desc) } switch(desc->data_status) { - case BLE_HCI_ADV_COMPLETED: - console_printf("completed"); + case BLE_HCI_ADV_DATA_STATUS_COMPLETE: + console_printf("complete"); break; - case BLE_HCI_ADV_INCOMPLETE: - console_printf("incompleted"); + case BLE_HCI_ADV_DATA_STATUS_INCOMPLETE: + console_printf("incomplete"); break; - case BLE_HCI_ADV_CORRUPTED: - console_printf("corrupted"); + case BLE_HCI_ADV_DATA_STATUS_TRUNCATED: + console_printf("truncated"); break; default: console_printf("reserved %d", desc->data_status); diff --git a/apps/btshell/src/main.c b/apps/btshell/src/main.c index e6511e782..cef222ed2 100755 --- a/apps/btshell/src/main.c +++ b/apps/btshell/src/main.c @@ -934,14 +934,14 @@ btshell_decode_event_type(struct ble_gap_ext_disc_desc *desc) } switch(desc->data_status) { - case BLE_HCI_ADV_COMPLETED: - console_printf("completed"); + case BLE_HCI_ADV_DATA_STATUS_COMPLETE: + console_printf("complete"); break; - case BLE_HCI_ADV_INCOMPLETE: - console_printf("incompleted"); + case BLE_HCI_ADV_DATA_STATUS_INCOMPLETE: + console_printf("incomplete"); break; - case BLE_HCI_ADV_CORRUPTED: - console_printf("corrupted"); + case BLE_HCI_ADV_DATA_STATUS_TRUNCATED: + console_printf("truncated"); break; default: console_printf("reserved %d", desc->data_status); ---------------------------------------------------------------- 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