開發人員: Ferdinand Stueckler (32)
價錢: 免費
排名: 0 
評測: 0 寫評論
清單: 0 + 0
點數: 0 + 0 ¡
Google Play

描述

micro:bit Gateway
This app establishes a channel between two micro:bit devices. The channel will be handeled as UART communication. You have to develope a programm on each micro:bit device with UART transfer.

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();
}
更多 ↓

螢幕擷取畫面

#1. micro:bit Gateway (Android) 由: Ferdinand Stueckler
#2. micro:bit Gateway (Android) 由: Ferdinand Stueckler
#3. micro:bit Gateway (Android) 由: Ferdinand Stueckler
#4. micro:bit Gateway (Android) 由: Ferdinand Stueckler

視頻

新功能

  • 版本: 1.2
  • 發佈日期:
  • Android 11

價錢

  • 今天: 免費
  • 最小值: 免費
  • 最大值: 免費
追蹤票價

開發人員

點數

0 ☹️

排名

0 ☹️

清單

0 ☹️

評測

成為第一個評論 🌟

其他資訊

聯絡人

micro:bit Gatewaymicro:bit Gateway 縮短網址: 已複製!

你可能還喜歡

    • 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 ...
        ⥯ 
    • Polk Gateway
    • Android 應用程式: 通訊  由: Polk County Government
    • 免費  
    • 清單: 0 + 0  排名: 0  評測: 0
    • 點數: 0 + 0  版本: 2025.3.394381997   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  版本: 7.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 + 123 (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: ...
        ⥯ 
    • G-NXT (Stay Connected)
    • Android 應用程式: 通訊  由: Gateway Group
    • 免費  
    • 清單: 0 + 0  排名: 0  評測: 0
    • 點數: 0 + 0  版本: 7.0.4   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,582 (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 ...
        ⥯ 
    • Afghan Internet Packs
    • Android 應用程式: 通訊  由: Micro Toolkit
    • * 免費  
    • 清單: 0 + 0  排名: 0  評測: 0
    • 點數: 0 + 125 (5.0)  版本: 1.08   Afghan Internet Packs App is for Mtn, Etisalat, Roshan, Salam, Afghan Wireless mobile operators users All Mtn, Etisalat, Roshan, Salam, Afghan Wireless Internet & Minutes package ...
        ⥯ 
    • Lynx Alerts
    • Android 應用程式: 通訊  由: Micro Technology Services, Inc.
    • 免費  
    • 清單: 0 + 0  排名: 0  評測: 0
    • 點數: 0 + 0  版本: 1.5.0   Lynx is a network-based duress and mass notification system. Utilizing an extensive catalog of input and output devices, the Lynx system can maximize situational awareness for ...
        ⥯ 

你可能還喜歡

可搭配 AppAgg 使用的搜尋運算子
添加到 AppAgg
AppAgg
立即免费注册
註冊
登入