%% Connect to a Bluetooth Low Energy Peripheral Device Using Its Address on Windows
% 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 with address "8498663EE16A". On a Windows computer, this address represents the 48-bit Bluetooth MAC address of the peripheral device.

b = ble("8498663EE16A")

% Copyright 2019 The MathWorks, Inc.