Cumulocity API Services / com.softwareag.jc.cumulocity.services.api / LoRaService

LoRaService

class LoRaService : ConnectionRequest<User, String>

Custom class to leverage LoRa agent developed by Cyril Poder - cyril.poder@softwarag.com

Types

LoRaDeviceActivation

data class LoRaDeviceActivation : JsonSerializable

Constructors

<init>

LoRaService(connection: CumulocityConnectionFactory.CumulocityConnection)

Custom class to leverage LoRa agent developed by Cyril Poder - cyril.poder@softwarag.com

Functions

deprovision

fun deprovision(id: String, network: String, responder: (Boolean) -> Unit): Unit

Unregisters the device from the specified LoRa networt

path

fun path(): String

provision

fun provision(name: String, network: String, devEUI: String, codec: String?, appKey: String, appEUI: String, lat: Double?, lng: Double?, responder: (Boolean) -> Unit): Unit

Deploys the device to the specified LoRa network

response

fun response(response: String): String