从Puck到RPI3的蓝牙通知的最佳解决方案 [英] Best solution for Bluetooth notification from Puck to RPI3
问题描述
我有一个在纽扣电池上运行的Puck.js BLE设备。 我希望能够通知发送到我的RPI3当冰球的按钮被按下。
http://www.espruino.com/Puck.js#buy
'p>什么是发送消息的最直接的方式,以及代码是什么类型应在RPI3运行接收消息?
我不需要配对,消息是简单的1或0.
按钮被按下,Pi的消息收到事件被触发。
感谢您的建议。
编辑:我不是在问如何编写Puck ,我已经完成了。
我感兴趣的是PI如何收到可能每天发生几次的消息。 由于PI将是客户端,我应该使用什么编程技术来允许它接收消息。  
IOTGirl,相信WinIOT将具有用于ARM的BLE驱动
谢谢你,Terrence
嗨Terrence,
我在您提供的网站上看不到有关Windows支持的信息,所以建议您查看他们的论坛。 从这样的主题:
http://forum.espruino.com/conversations/272384/ 似乎就像他们需要为你提供一个工作的驱动程序。 对于在Pi上运行的Windows IoT Core,您需要
来为您提供为ARM编译的Windows驱动程序。
此致,
IoTGirl
I have a Puck.js BLE device that runs on a coin cell. I want to be able to send a notice to my RPI3 when the puck's button is pushed.
http://www.espruino.com/Puck.js#buy
What is the most direct way to send the message, and what type of code should be running on the RPI3 to receive the message?
I do not need paring and the message is a simple 1 or 0.
Button gets pressed, Pi's message received event gets triggered.
Thank you for your advice.
Edit: I am not asking how to program the Puck, I already have that done.
I am interested in how the PI will receive a message that might happen a couple of times a day. As the PI will be the client, what programming technique should I use to allow it to receive the message.
IOTGirl, I believe WinIOT will have the ble drivers for ARM.
Thank you, Terrence
Hi Terrence,
I don't see much about Windows Support on the site you provided so I suggest you check their forums. From threads like these: http://forum.espruino.com/conversations/272384/ it seems like they would need to provide you a driver for this to work. In the case of Windows IoT Core running on the Pi, you would need them to provide you a Windows Driver compiled for ARM.
Sincerely,
IoTGirl
这篇关于从Puck到RPI3的蓝牙通知的最佳解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!