【实例简介】
【实例截图】
【核心代码】
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.Advertisement;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using BLECode;
namespace WindowsFormsApp2
{
public partial class Form1 : Form
{
BluetoothLECode bluetooth;
string BluetoothLE = "";
public Form1()
{
InitializeComponent();
BluetoothLE= System.Configuration.ConfigurationManager.AppSettings["BluetoothLE"];
string _se