sealed class StackConfig : Serializable
Configuration in which GG stack should be created
val configDescriptor: String
Unique Constant descriptor for a known stack configuration |
|
open val localAddress: Inet4Address
Stack local IP address (use 0.0.0.0 for default) |
|
open val localPort: Int
Local UDP port number |
|
open val remoteAddress: Inet4Address
Stack remote IP address (use 0.0.0.0 for default) |
|
open val remotePort: Int
Remote UDP port number |
fun StackConfig.isLwipBased(): Boolean
true is configured with a Network Interface, false otherwise (default is true) |
data class DtlsSocketNetifGattlink : StackConfig
Stack with Gattlink, a Network Interface, a UDP socket and DTLS |
|
object GattlinkStackConfig : StackConfig
Stack with only a Gattlink element. |
|
data class SocketNetifGattlink : StackConfig
Stack with Gattlink, a Network Interface, and a UDP socket |