mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-09 11:16:39 +00:00
feat(ui-core,ui-lvgl): room sessions and contact helpers in the Core, L2 rooms, conversation options, message actions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,14 @@ static bool g_sim_ready = false;
|
||||
extern "C" EMSCRIPTEN_KEEPALIVE int sim_is_ready() {
|
||||
return g_sim_ready ? 1 : 0;
|
||||
}
|
||||
|
||||
// Advert now, so a host page's companions learn the room right away (see
|
||||
// examples/simple_repeater/main.cpp's sim_test_advert_flood()).
|
||||
extern "C" EMSCRIPTEN_KEEPALIVE int sim_test_advert_flood() {
|
||||
if (!g_sim_ready) return 0;
|
||||
the_mesh.sendSelfAdvertisement(0, true);
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static char command[MAX_POST_TEXT_LEN+1];
|
||||
|
||||
Reference in New Issue
Block a user