mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
prevent race condition if meshservice starts running before radiointerface
This commit is contained in:
parent
b4687b0a2f
commit
e4223d6476
3 changed files with 19 additions and 3 deletions
|
|
@ -5,6 +5,10 @@ package com.geeksville.mesh;
|
|||
|
||||
interface IRadioInterfaceService {
|
||||
|
||||
/** If the service is not currently connected to the radio, try to connect now. At boot the radio interface service will
|
||||
* not connect to a radio until this call is received. */
|
||||
void connect();
|
||||
|
||||
void sendToRadio(in byte [] a);
|
||||
|
||||
/// If a macaddress we will try to talk to our device, if null we will be idle.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue