Programista: | Ferdinand Stueckler (32) | ||
Cena: | Bezpłatny | ||
Rankingi: | 0 | ||
Opinie: | 0 Napisać recenzję | ||
Listy: | 0 + 0 | ||
Punkty: | 0 + 0 ¡ | ||
Google Play |
Opis
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();
}
Zrzuty ekranu




Wideo
Cena
- Dziś: Bezpłatny
- Minimalna: Bezpłatny
- Maksymalna: Bezpłatny
Monitoruj ceny
Programista
- Ferdinand Stueckler
- Platformy: Android Aplikacje (22) Windows Aplikacje (10)
- Listy: 0 + 0
- Punkty: 3 + 1,570 ¡
- Rankingi: 0
- Opinie: 0
- Zniżki: 0
- Filmy: 8
- RSS: Subskrybuj
Punkty
0 ☹️
Rankingi
0 ☹️
Listy
0 ☹️
Opinie
Bądź pierwszą osobą, która napisze recenzję 🌟
Dodatkowe informacje
- Wersja: 1.2
- ID: com.ble.microbit.gateway
- Kategoria:
Android Aplikacje
›Komunikacja
- System operacyjny:
Android 5.0
- Rozmiar:
21 Mb
- Ocena treści:
Everyone
- Google Play Ocena:
0
- Zaktualizowano:
- Data wydania:
Kontakty
- Witryna internetowa:
http://lehrer.bulme.at/~sk
Może ci się spodobać również
-
- Gateway Int. High School
- Android Aplikacje: Komunikacja Przez: MR Softwares
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Polk County Government
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 2025.3.464414052 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 Aplikacje: Komunikacja Przez: Spinoco
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 24.6.4 The Spinoco SMS Gateway application enables the synchronization of SMS with the desktop Spinoco application. ⥯
-
- Sync Gateway
- Android Aplikacje: Komunikacja Przez: Synclovis Systems Pvt. Ltd.
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Telerivet, Inc.
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 98 (3.7) Wersja: 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 Aplikacje: Komunikacja Przez: Socio Labs LLC
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Consortium Software
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Audi
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Maxlab Mobile
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 1 + 124 (2.6) Wersja: 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 Aplikacje: Komunikacja Przez: KiperTech Software & Technology
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: GuniAu
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 1.3.2 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 Aplikacje: Komunikacja Przez: Gateway Group
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 0 Wersja: 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 Aplikacje: Komunikacja Przez: Bit Factory
- Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 1,582 (2.7) Wersja: 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 Aplikacje: Komunikacja Przez: Micro Toolkit
- * Bezpłatny
- Listy: 0 + 0 Rankingi: 0 Opinie: 0
- Punkty: 0 + 127 (5.0) Wersja: 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 ... ⥯