MBMNET-App v2.8.2: Quellcode (GPLv3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <3ds/types.h>
|
||||
#include <stddef.h>
|
||||
|
||||
// SpotPass (BOSS): Der 3DS holt MBMNET-Nachrichten und Ankündigungen selbst im Hintergrund ab (auch im
|
||||
// Standby, ohne App) und zeigt sie als Mitteilung im HOME-Menü. Die Aufgabe ruft alle 2 Minuten
|
||||
// http://<server>/spotpass/<Geräte-ID>/news.boss ab (MBMNET Accounting, spotpass.js).
|
||||
|
||||
// Hintergrund-Aufgabe anmelden (bei aktivem MBMNET). false + msg bei Fehler.
|
||||
bool spotpass_register(const char *server, char *msg, size_t msglen);
|
||||
// Hintergrund-Aufgabe abmelden (beim Wechsel zu Nintendo)
|
||||
void spotpass_unregister(void);
|
||||
// Test für die Werkzeuge: startet den sofortigen Abruf einer Test-Mitteilung. true = läuft,
|
||||
// danach jede Sekunde spotpass_test_poll aufrufen.
|
||||
bool spotpass_test_start(const char *server, char *msg, size_t msglen);
|
||||
// true = Test noch nicht fertig. msg bekommt den Stand bzw. das Ergebnis.
|
||||
bool spotpass_test_poll(int seconds, char *msg, size_t msglen);
|
||||
Reference in New Issue
Block a user