get and send messages impl

This commit is contained in:
Ben Menking
2026-05-10 23:26:00 -04:00
parent 9eeb383ee4
commit 2201890975
5 changed files with 129 additions and 26 deletions
+4 -3
View File
@@ -14,7 +14,8 @@ $mc = Meshcore::getInstance();
$mc->appStart("get_messages");
$resp = $mc->getNextMessage();
while(true) {
$msgs = $mc->pollForMessage('');
print_r($resp);
exit;
if( !empty($msgs) ) print_r($msgs);
}