mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
RadioInterfaceService is no longer an Android Service
Removes the AIDL and associated support for the `IRadioInterfaceService`. This should give some performance benefit since radio data no longer has to round-trip through the platform.
This commit is contained in:
parent
a44758e28d
commit
9687fb7370
11 changed files with 134 additions and 221 deletions
|
|
@ -1,19 +0,0 @@
|
|||
// IRadioInterfaceService.aidl
|
||||
package com.geeksville.mesh;
|
||||
|
||||
// Declare any non-default types here with import statements
|
||||
|
||||
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.
|
||||
/// Any current connection will be dropped (even if the device address is the same) before reconnecting.
|
||||
/// Users should not call this directly, called only by MeshService
|
||||
/// Returns true if the device address actually changed, or false if no change was needed
|
||||
boolean setDeviceAddress(String deviceAddr);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue