标题: 关于bluetooth蓝牙插件的使用 [打印本页] 作者: 王超伟 时间: 2020-10-23 22:19 标题: 关于bluetooth蓝牙插件的使用 老师,这个蓝牙插件是怎么用的呀,为什么我“查找并连接蓝牙”后点击“发送蓝牙信息”,却提示未连接到蓝牙设备,不是因该已连上了吗?
我感觉是没有连上,如果连上的话在我手机里的蓝牙设置页面中应该可以看到iblue3A蓝牙设备已连接,但我测试后实际没有显示已连接。
-----------------------------以下是我的完整测试代码,老师帮看看是不是少了什么代码呢 ,下面的代码我是从官网上复制过来测试的。---------------------------------
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using Smobiler.Core;
using Smobiler.Core.Controls;
namespace 控件测试
{
partial class frmRTypeTemplate : Smobiler.Core.Controls.MobileForm
{
public frmRTypeTemplate() : base()
{
InitializeComponent();
this.Load += SmobilerForm1_Load;
}