蓝牙LE 101-如何做基础知识 [英] Bluetooth LE 101- how to do the basics

查看:78
本文介绍了蓝牙LE 101-如何做基础知识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我刚买了一个BLE分线板,它上面还有一个小型微控制器(相当于一个arduino基本上);我想将它连接到我的Windows 10计算机,以发送和接收数据。

I just purchased a BLE breakout board, which has on board also a small micro controller (equivalent to an arduino basically); and I would like to connect it to my windows 10 computer, to send and receive data.

这是我第一次写这样的应用程序,所以我一直在寻找介绍材料教基础知识:

This is the first time that I write such application, so I was looking for intro material that would teach the basics:

1)如何连接BLE设备(假设我通过Windows UI配对;我希望它像常规BT一样工作,一旦你配对它,它就会停留配对)。

1) how to connect the BLE device (assuming that I pair it via Windows UI; I hope that it works like regular BT, where once you pair it, it stay paired).

2)如何从中读取数据,并向其发送数据

2) how to read data from it, and send data to it

3)如何编写GATT配置文件,或者如何使用现有的一个(或修改现有的配置文件)。

3) How to write the GATT profile, or how to use one of the existing ones (or modify an existing profile).

我的想法是创造一些非常简单的东西:它只是读取值并在屏幕上打印它们,并具有这种能力将数据发送到BLE适配器(在键盘上输入,有点像你在常规BT上发送AT命令)。

My idea is to make something incredibly simple: it will just read values and print them on screen, and have the capability to send data to the BLE adaptor (typing on the keyboard, kinda like you send AT commands on regular BT).

我可以使用C ++或C#,所以我不是那么挑剔: )

I can use either C++ or C#, so I am not that picky :)

任何人都可以指出显示基础知识的资源吗?现在,如果我可以连接到设备并发送/接收数据,我将非常高兴;然后我可以考虑下一步。谢谢!

Can anyone point to resources that show the basics? For now I will be more than happy if I can connect to the device and send/receive data; then I can think about next steps. Thanks!

推荐答案

我想这比我想的更难找到....要么没有人知道,要么没有开车分享任何东西:)

I guess it is harder than I thought to find info on this....either nobody knows or there is no drive to share anything :)

做一些如此重要的事情;我认为MSDN会有一些例子,除了发布的那些。猜猜要做得很辛苦;从头开始。没什么大不了的。

Being something so essential; I thought that MSDN would have some examples, beside the ones posted. Guess gotta do it in the hard way; making all from scratch. No big deal.


这篇关于蓝牙LE 101-如何做基础知识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆