change to new bluetooth api

This commit is contained in:
geeksville 2020-02-04 09:36:08 -08:00
parent ec2f3b0479
commit ce43248416

View file

@ -6,4 +6,19 @@ package com.geeksville.mesh;
interface IRadioInterfaceService {
void sendToRadio(in byte [] a);
/// mynode - read/write this to access a MyNodeInfo protobuf
byte []readMyNode();
/// nodeinfo - read this to get a series of node infos (ending with a null empty record), write to this to restart the read statemachine that returns all the node infos
byte []readNodeInfo();
void restartNodeInfo();
/// radio - read/write this to access a RadioConfig protobuf
byte []readRadioConfig();
void writeRadioConfig(in byte [] config);
/// owner - read/write this to access a User protobuf
byte []readOwner();
void writeOwner(in byte [] owner);
}