Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-takserver
/
org.meshtastic.core.takserver
/
TAKServer
TAKServer
class
TAKServer
(
dispatchers
:
CoroutineDispatchers
,
port
:
Int
=
DEFAULT_TAK_PORT
)
(
source
)
Members
Constructors
TAKServer
Link copied to clipboard
constructor
(
dispatchers
:
CoroutineDispatchers
,
port
:
Int
=
DEFAULT_TAK_PORT
)
Properties
connection
Count
Link copied to clipboard
val
connectionCount
:
StateFlow
<
Int
>
on
Message
Link copied to clipboard
var
onMessage
:
(
CoTMessage
)
->
Unit
?
Functions
broadcast
Link copied to clipboard
suspend
fun
broadcast
(
cotMessage
:
CoTMessage
)
has
Connections
Link copied to clipboard
suspend
fun
hasConnections
(
)
:
Boolean
start
Link copied to clipboard
suspend
fun
start
(
scope
:
CoroutineScope
)
:
Result
<
Unit
>
stop
Link copied to clipboard
fun
stop
(
)