%% Write BLE Interface Description Block to PCAPNG File
% Create a PCAPNG file writer object, specifying the name of the PCAPNG file.

pcapngObj = pcapngWriter('FileName','writeBLEinterface');

% Write the interface description block for BLE.

interfaceName = 'BLE interface';
bleLinkType = 251;
interfaceId = writeInterfaceDescriptionBlock(pcapngObj,bleLinkType, ...
    interfaceName);

% Copyright 2020 The MathWorks, Inc.