Options
All
  • Public
  • Public/Protected
  • All
Menu

Send ASCII String To IP Address

It is recommended this response NOT be used.

The documentation on this particular "command" is very confusing. Upper-cased commands are supposed to be responses from the M1, but the documentation for this reads as those it's a command that can be sent TO the panel. The example include message packets which aren't even valid (they don't have checksums, the reserved values, and the terminator).

So I'm not entirely sure how this is supposed to be implemented. For now it does some minimal parsing as a response message.

TODO: Implement correctly?

see

4.3 Send ASCII String To IP Address (AP)

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional Readonly checksum

checksum: undefined | string

Readonly data

data: string = ""

Optional Readonly expectedChecksum

expectedChecksum: undefined | string

Optional Readonly expectedPacketLength

expectedPacketLength: undefined | string

Readonly ipAddressNumber

ipAddressNumber: number

Readonly isChecksumValid

isChecksumValid: boolean = false

Readonly isPacketLengthValid

isPacketLengthValid: boolean = false

Readonly isWellFormed

isWellFormed: boolean = false

Optional Readonly messageType

messageType: undefined | string

Optional Readonly packetLength

packetLength: undefined | string

Readonly raw

raw: string

Optional Readonly reserved

reserved: undefined | string

Optional Readonly subMessageType

subMessageType: undefined | string

Optional Readonly terminator

terminator: undefined | string

Readonly textData

textData: string

Static Readonly COMMAND

COMMAND: "AP" = "AP"

Accessors

command

  • get command(): string | null

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Static property
  • Static method

Generated using TypeDoc