mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
change to new bluetooth api
This commit is contained in:
parent
ec2f3b0479
commit
ce43248416
1 changed files with 15 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue