prevent race condition if meshservice starts running before radiointerface

This commit is contained in:
geeksville 2020-06-11 11:20:51 -07:00
parent b4687b0a2f
commit e4223d6476
3 changed files with 19 additions and 3 deletions

View file

@ -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.