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)
263
263
*adv_tmp++ = BLE_SVC_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE;
264
264
_adv_data_len = 3 ;
265
265
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
-
275
266
if (_advertise_service_uuid) {
276
267
BleUuid bleUuid = BleUuid (_advertise_service_uuid);
277
268
struct bt_uuid uuid = bleUuid.uuid ();
Original file line number Diff line number Diff line change @@ -78,11 +78,10 @@ class BlePeripheral {
78
78
BleStatus setLocalName (const char *localName);
79
79
80
80
/* *
81
- * Set the broadcast appearance type for the BLE Peripheral Device
81
+ * Set the appearance type for the BLE Peripheral Device
82
82
*
83
83
* 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.
86
85
*
87
86
* @param appearance Appearance category identifier as defined by BLE Standard
88
87
*
You can’t perform that action at this time.
0 commit comments