%% Connect to a Bluetooth Low Energy Peripheral Device Using Its Name
% Search for and establish a connection to your Bluetooth Low Energy peripheral device.
% Scan for nearby peripheral devices that have the name "Gear Fit2 (E16A)" using blelist.

blelist("Name","Gear Fit2 (E16A)")

% Create a connection to the device.

b = ble("Gear Fit2 (E16A)")

% Copyright 2019 The MathWorks, Inc.