开发人员: | Ferdinand Stueckler (32) | ||
价格: | 免费 | ||
排名: | 0 | ||
评价: | 0 我要评价 | ||
列表: | 0 + 0 | ||
积分: | 0 + 0 ¡ | ||
积分 +1 |
说明
Indication aktive: BLE Indication (Default)
Indication inaktive: BLE Notification
Silent aktive: No visual logging
Silent inaktive: Logging
Requirements:
- Min. Android 4.4
- Bluetooth Low Energy (BLE)
- Paired devices
- micro:bit programm (developed by yourself)
MBED example:
#include "MicroBit.h"
#include "MicroBitUARTService.h"
MicroBit uBit;
MicroBitUARTService *uart;
int connected = 0;
void onConnected(MicroBitEvent e)
{
uBit.display.scroll("C");
connected = 1;
}
void onDisconnected(MicroBitEvent e)
{
uBit.display.scroll("D");
connected = 0;
}
void onButtonA(MicroBitEvent e)
{
if (connected == 0) {
uBit.display.scroll("NC");
return;
}
uart->send("Yes");
uBit.display.scroll("Y");
}
void onButtonB(MicroBitEvent e)
{
if (connected == 0) {
uBit.display.scroll("NC");
return;
}
uart->send("No");
uBit.display.scroll("N");
}
void onButtonAB(MicroBitEvent e)
{
if (connected == 0) {
uBit.display.scroll("NC");
return;
}
uart->send("SK");
uBit.display.scroll("SK");
}
void processBLEUart() {
uint8_t readBuf[22];
while (1) { // loop for ever
if ((!connected) || (!uart->isReadable())) {
uBit.sleep(50); // wait 50mS and check again
continue; // loop;
}
//else we are connected AND there is some input to read
if (uart->isReadable()) {
while (uart->isReadable()) {
int charCount = uart->read(readBuf, 22, ASYNC);
if (charCount != 0) {
for (int i = 0; i < charCount; i++)
uBit.display.scroll((char) readBuf[i]);
}
}
}
}
}
/*
IMPORTANT !!!
Oherwise you will run out of memory !
Recommend disabling the DFU and Event services in MicroBitConfig.h since they are not needed here:
microbit->microbit-dal->inc->core->MicroBitConfig.h
#define MICROBIT_BLE_DFU_SERVICE 0
#define MICROBIT_BLE_EVENT_SERVICE 0
#define MICROBIT_SD_GATT_TABLE_SIZE 0x500
*/
int main()
{
// Initialise the micro:bit runtime.
uBit.init();
uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_CONNECTED, onConnected);
uBit.messageBus.listen(MICROBIT_ID_BLE, MICROBIT_BLE_EVT_DISCONNECTED, onDisconnected);
uBit.messageBus.listen(MICROBIT_ID_BUTTON_A, MICROBIT_BUTTON_EVT_CLICK, onButtonA);
uBit.messageBus.listen(MICROBIT_ID_BUTTON_B, MICROBIT_BUTTON_EVT_CLICK, onButtonB);
uBit.messageBus.listen(MICROBIT_ID_BUTTON_AB, MICROBIT_BUTTON_EVT_CLICK, onButtonAB);
uart = new MicroBitUARTService(*uBit.ble, 32, 32);
uBit.display.scroll("Go");
create_fiber(&processBLEUart); // create fiber and schedule it.
release_fiber();
}
屏幕截图
视频
价格
- 今天: 免费
- 最小值: 免费
- 最大值: 免费
可选
开发人员
- Ferdinand Stueckler
- 平台: Android 应用 (22) Windows 应用 (10)
- 列表: 0 + 0
- 积分: 2 + 1,641 ¡
- 排名: 0
- 评价: 0
- 折扣: 0
- 视频: 8
- RSS: 订阅
积分
未找到 ☹️
排名
未找到 ☹️
列表
未找到 ☹️
评价
抢先评价一下吧 🌟
其他信息
- 版本: 1.2
- ID: com.ble.microbit.gateway
- 类别:
Android 应用
›通讯
- 操作系统:
Android 5.0 及更高版本
- 大小:
21 Mb
- 内容分级:
Everyone
- Google Play 评分:
0
- 已更新:
- 发布日期:
通讯录
您可能还喜欢
-
- Gateway Int. High School
- Android 应用: 通讯 来自: MR Softwares
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: v3modak Gateway International High School Hyderabad, Telangana, budvel Rajendra Nagar Please Note : If you have multiple children studying in the same school and the school records have your ... ⥯
-
- Bit Browser -fast web browser
- Android 应用: 通讯 来自: VPN.server.co
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 19 (5.0) 版本: 9.1 Introducing Bit Browser - the ultimate web browsing experience for your Android device in 2023. With its lightning-fast performance and a wide array of features, Bit Browser is the ... ⥯
-
- Polk Gateway
- Android 应用: 通讯 来自: Polk County Government
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 2025.2.234210631 The Polk Gateway is the communication app of Polk County. Current Information and news for our customers, our partner network, as well as employees and interested parties. Stay in ... ⥯
-
- Spinoco SMS Gateway
- Android 应用: 通讯 来自: Spinoco
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 24.6.4 The Spinoco SMS Gateway application enables the synchronization of SMS with the desktop Spinoco application. ⥯
-
- Sync Gateway
- Android 应用: 通讯 来自: Synclovis Systems Pvt. Ltd.
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 1.0.0 Gateway creates an ecosystem that enables Managers, Interns & Organisations to manage Collaboration and to share important announcements within the organisation ⥯
-
- Telerivet Gateway
- Android 应用: 通讯 来自: Telerivet, Inc.
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 98 (3.7) 版本: 3.21.1 The Telerivet Gateway app synchronizes SMS and MMS messages and call notifications between your Android phone and the Telerivet platform, allowing you and your team to view and send ... ⥯
-
- MnSEIA Gateway to Solar App
- Android 应用: 通讯 来自: Socio Labs LLC
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 34.0.0 The Gateway to Solar Conference, hosted by the Minnesota Solar Energy Industries Association (MnSEIA), is the Midwest's biggest and best solar + storage conference. The MnSEIA Gateway ... ⥯
-
- UC Gateway
- Android 应用: 通讯 来自: Consortium Software
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 1.0 UC Gateway is a Unified Communications (UC) platform that brings both email and SMS (text) messaging technologies into one content-aware system. Build client relationships, manage ... ⥯
-
- Audi Qualification Gateway App
- Android 应用: 通讯 来自: Audi
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 6.0.0 With the Audi Qualification Gateway App, you receive the latest information about training and qualification from AUDI AG. You are able to share your training needs or information ... ⥯
-
- Email To SMS Gateway
- Android 应用: 通讯 来自: Maxlab Mobile
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 1 + 121 (2.6) 版本: 1.57 Automates sending multiple SMSes to multiple recipients with your email account! Please join our community support forum - https://groups.google.com/g/support-maxlabmobile How-to Use: ... ⥯
-
- SMS MMS Gateway
- Android 应用: 通讯 来自: KiperTech Software & Technology
- * 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 1.0.15 App alowy to transfer of SMS to PC and automates sending SMS from PC's. Main features: 1) Transfer SMS to PC (via email or HTTP) 2) Sends SMS from PC (via HTTP) Requested permissions: ... ⥯
-
- Guni SMS - SMS Gateway
- Android 应用: 通讯 来自: GuniAu
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 1.3.1 Guni SMS the simplest and most affordable SMS solution for sending bulk SMS campaigns and one to one message with your customers. You can stay on top of your SMS marketing efforts from ⥯
-
- G-NXT (Stay Connected)
- Android 应用: 通讯 来自: Gateway Group
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 0 版本: 7.0.0 At Gateway Group, we believe it is essential to have communication channels for team members understanding of who and what we do as a company and getting more familiar and educated ... ⥯
-
- BensinPris
- Android 应用: 通讯 来自: Bit Factory
- 免费
- 列表: 0 + 0 排名: 0 评价: 0
- 积分: 0 + 1,578 (2.7) 版本: 4.0.3 Note! If you are experiencing trouble with this update, simply uninstall the previous version before updating! BensinPris gives you daily fuel prices in Norway. This is a community ... ⥯