package packet
LoRaWAN packet codec and its associated domain model. The main functions here are the com.cisco.streambed.lora.packet.PHYPayloadCodec encode/decode ones. For reference on the LoRaWAN types in general, please consult the LoRaWAN specifications.
- Alphabetic
- By Inheritance
- packet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AppSKey(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- final case class CFList(underlying: Seq[Int]) extends AnyVal with Product with Serializable
- final case class ConfirmedDataDown(fhdr: FHDR, fPort: Option[FPort], frmPayload: Option[FRMPayload]) extends MacPayload with Product with Serializable
- final case class ConfirmedDataUp(fhdr: FHDR, fPort: Option[FPort], frmPayload: Option[FRMPayload]) extends MacPayload with Product with Serializable
- final case class DLSettings(underlying: Byte) extends AnyVal with Product with Serializable
- final case class DevAddr(underlying: Int) extends AnyVal with Product with Serializable
- final case class DevEUI(underlying: Long) extends AnyVal with Product with Serializable
- final case class DevNonce(underlying: Int) extends AnyVal with Product with Serializable
- final case class FCnt(underlying: Int) extends AnyVal with Product with Serializable
- final case class FCtrl(underlying: Byte) extends AnyVal with Product with Serializable
- final case class FHDR(devAddr: DevAddr, fCtrl: FCtrl, fCnt: FCnt, fOpts: FOpts) extends Product with Serializable
- final case class FOpts(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- final case class FPort(underlying: Byte) extends AnyVal with Product with Serializable
- final case class FRMPayload(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- final case class JoinAccept(joinNonce: JoinNonce, homeNetID: NetID, devAddr: DevAddr, dlSettings: DLSettings, rxDelay: RxDelay, cfList: Option[CFList]) extends PHYPayload with Product with Serializable
- final case class JoinEUI(underlying: Long) extends AnyVal with Product with Serializable
- final case class JoinNonce(underlying: Int) extends AnyVal with Product with Serializable
- final case class JoinRequest(joinEUI: JoinEUI, devEUI: DevEUI, devNonce: DevNonce) extends PHYPayload with Product with Serializable
- final case class LinkCheckAns(margin: Int, gwCnt: Int) extends MACCommand with Product with Serializable
- sealed abstract class MACCommand extends AnyRef
A MAC command is used either for NS to end-device command communication (typical) or end-device to NS communication (atypical).
- final case class MHDR(underlying: Byte) extends AnyVal with Product with Serializable
- final case class MIC(underlying: Int) extends AnyVal with Product with Serializable
- abstract class MacPayload extends PHYPayload
- final case class NetID(underlying: Int) extends AnyVal with Product with Serializable
- final case class NwkKey(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- final case class NwkSEncKey(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- final case class NwkSIntKey(underlying: Array[Byte]) extends AnyVal with Product with Serializable
- sealed abstract class PHYPayload extends AnyRef
- final case class RxDelay(underlying: Byte) extends AnyVal with Product with Serializable
- final case class UnconfirmedDataDown(fhdr: FHDR, fPort: Option[FPort], frmPayload: Option[FRMPayload]) extends MacPayload with Product with Serializable
- final case class UnconfirmedDataUp(fhdr: FHDR, fPort: Option[FPort], frmPayload: Option[FRMPayload]) extends MacPayload with Product with Serializable
Value Members
- object DLSettings extends Serializable
- object DevAddr extends Serializable
- object DevEUI extends Serializable
- object DevNonce extends Serializable
- object FCnt extends Serializable
- object FCtrl extends Serializable
- object FOpts extends Serializable
- object FPort extends Serializable
- object FRMPayload extends Serializable
- object JoinAccept extends Serializable
- object JoinEUI extends Serializable
- object JoinNonce extends Serializable
- object JoinRequest extends Serializable
- object LinkCheckAns extends Serializable
- case object LinkCheckReq extends MACCommand with Product with Serializable
- object MACCommand
- object MACCommandCodec
Provides encoding/decoding to/from bytes from/to a LoRa MAC Command object
- object MHDR extends Serializable
- object MIC extends Serializable
- object NetID extends Serializable
- object PHYPayloadCodec
Provides encoding/decoding to/from bytes from/to a LoRa domain object
- object RxDelay extends Serializable