File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -263,15 +263,6 @@ BlePeripheral::_advDataInit(void)
263263 *adv_tmp++ = BLE_SVC_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
264264 _adv_data_len = 3 ;
265265
266- if (_appearance) {
267- /* Add appearance */
268- adv_tmp = &_adv_data[_adv_data_len];
269- *adv_tmp++ = 3 ;
270- *adv_tmp++ = BLE_ADV_TYPE_APPEARANCE;
271- UINT16_TO_LESTREAM (adv_tmp, _appearance);
272- _adv_data_len += 4 ;
273- }
274-
275266 if (_advertise_service_uuid) {
276267 BleUuid bleUuid = BleUuid (_advertise_service_uuid);
277268 struct bt_uuid uuid = bleUuid.uuid ();
Original file line number Diff line number Diff line change @@ -78,11 +78,10 @@ class BlePeripheral {
7878 BleStatus setLocalName (const char *localName);
7979
8080 /* *
81- * Set the broadcast appearance type for the BLE Peripheral Device
81+ * Set the appearance type for the BLE Peripheral Device
8282 *
8383 * See https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.gap.appearance.xml
84- * for available options. If not set, no appearance type will be specified
85- * in broadcast information.
84+ * for available options.
8685 *
8786 * @param appearance Appearance category identifier as defined by BLE Standard
8887 *
You can’t perform that action at this time.
0 commit comments