MCPcopy Create free account

hub / github.com/alexbeltran/gobacnet / functions

Functions248 in github.com/alexbeltran/gobacnet

↓ 61 callersMethodwrite
(p interface{})
encoding/encoder.go:64
↓ 52 callersMethoddecode
(data interface{})
encoding/decoder.go:68
↓ 40 callersMethodError
()
encoding/decoder.go:60
↓ 26 callersFunctionNewDecoder
(b []byte)
encoding/decoder.go:52
↓ 21 callersMethodBytes
()
encoding/encoder.go:60
↓ 19 callersMethodtag
(tg tagInfo)
encoding/encoder.go:105
↓ 17 callersMethodError
()
encoding/encoder.go:56
↓ 16 callersMethodAppData
()
encoding/appdata.go:253
↓ 16 callersFunctionNewEncoder
()
encoding/encoder.go:48
↓ 11 callersMethodlen
()
encoding/decoder.go:49
↓ 10 callersFunctionsubTestSimpleData
(t *testing.T, d *Decoder, x interface{})
encoding/appdata_test.go:40
↓ 10 callersMethodtagNumber
contexTag decoder Returns both a tag and additional meta data stored in this byte. If it is of extended type, then that means that the entire first by
encoding/decoder.go:90
↓ 9 callersMethodAPDU
(a *bactype.APDU)
encoding/apdu.go:88
↓ 9 callersMethodString
String returns a pretty print of the ObjectID structure
types/print.go:93
↓ 8 callersMethodAppData
(i interface{})
encoding/appdata.go:215
↓ 8 callersMethodClose
Close free resources for the client. Always call this function when using NewClient
listen.go:44
↓ 7 callersMethodID
ID returns the invoke id that was used to save the state of this connection.
tsm/transactions.go:135
↓ 7 callersFunctionsubTestNPDU
(t *testing.T, n bactype.NPDU)
encoding/main_test.go:50
↓ 7 callersMethodtagNumberAndValue
()
encoding/decoder.go:125
↓ 7 callersMethodunsigned
(value uint32)
encoding/encoder.go:180
↓ 6 callersMethodNPDU
NPDU encodes the network layer control message
encoding/npdu.go:39
↓ 6 callersMethodReadProperty
(data *bactype.ReadPropertyData)
encoding/readproperty.go:111
↓ 6 callersMethodWhoIs
WhoIs finds all devices with ids between the provided low and high values. Use constant ArrayAll for both fields to scan the entire network at once. U
whois.go:45
↓ 6 callersMethodcontextUnsigned
(tagNumber uint8, value uint32)
encoding/encoder.go:162
↓ 6 callersMethodisClosing
()
encoding/general.go:75
↓ 6 callersMethodisContextSpecific
()
encoding/general.go:96
↓ 6 callersMethodunsigned
(length int)
encoding/decoder.go:157
↓ 5 callersMethodAPDU
(a bactype.APDU)
encoding/apdu.go:40
↓ 5 callersMethodSend
Send data to invoked id
tsm/transactions.go:98
↓ 5 callersMethodenumerated
(len int)
encoding/decoder.go:140
↓ 5 callersMethodisOpening
()
encoding/general.go:84
↓ 4 callersMethodHasDestination
()
encoding/npdu.go:180
↓ 4 callersMethodLen
Len returns the total number of entries within the object map.
types/main.go:172
↓ 4 callersMethodReadMultiplePropertyAck
(data *bactype.ReadMultipleProperty)
encoding/readmultipleack.go:66
↓ 4 callersMethodReadProperty
ReadProperty reads a single property from a single object in the given device.
request.go:45
↓ 4 callersMethodReceive
Receive attempts to receive a byte array from the invoked id. If a time out period has passed then an error is returned
tsm/transactions.go:112
↓ 4 callersMethodcheckMask
CheckMask uses mask to check bit position
encoding/npdu.go:153
↓ 4 callersMethodclosingTag
(num uint8)
encoding/encoder.go:84
↓ 4 callersMethodobjectId
()
encoding/decoder.go:132
↓ 4 callersMethodobjectId
* from clause 20.2.14 Encoding of an Object Identifier Value returns the number of apdu bytes consumed */
encoding/encoder.go:152
↓ 4 callersMethodopeningTag
Write opening tag to the system
encoding/encoder.go:78
↓ 4 callersMethodsend
send transfers the raw apdu byte slice to the destination address.
send.go:73
↓ 4 callersMethodsetContextSpecific
()
encoding/general.go:92
↓ 4 callersMethodsetInfoMask
General setter for the info bits using the mask
encoding/npdu.go:148
↓ 4 callersFunctionsubTestAPDU
(t *testing.T, a bactype.APDU)
encoding/main_test.go:109
↓ 4 callersMethodvalue
(meta tagMeta)
encoding/decoder.go:100
↓ 3 callersMethodBVLC
Bacnet Virtual Layer Control
encoding/bvlc.go:40
↓ 3 callersMethodIAm
(id *types.IAm)
encoding/iam.go:46
↓ 3 callersMethodIsNetworkLayerMessage
IsNetworkLayerMessage returns true if it is a network layer message
encoding/npdu.go:159
↓ 3 callersMethodNPDU
NPDU encodes the network layer control message
encoding/npdu.go:104
↓ 3 callersFunctionNewClient
NewClient creates a new client with the given interface and port.
device.go:74
↓ 3 callersMethodPut
Put allows the id to be reused in the transaction manager
tsm/transactions.go:160
↓ 3 callersMethodReadMultiProperty
ReadMultipleProperty uses the given device and read property request to read from a device. Along with being able to read multiple properties from a d
readmulti.go:51
↓ 3 callersMethodReadProperty
ReadProperty is a service request to read a property that is passed.
encoding/readproperty.go:67
↓ 3 callersMethodUDPAddr
UDPAddr parses the mac address and returns an proper net.UDPAddr
types/main.go:138
↓ 3 callersMethodboolean
(x bool)
encoding/appdata.go:188
↓ 3 callersMethodcheckMask
CheckMask uses mask to check bit position
encoding/apdu.go:188
↓ 3 callersMethodcontextEnumerated
(tagNumber uint8, value uint32)
encoding/encoder.go:158
↓ 3 callersMethodcontextObjectID
(tagNum uint8, objectType bactype.ObjectType, instance bactype.ObjectInstance)
encoding/encoder.go:71
↓ 3 callersFunctiongetBroadcast
getBroadcast uses the given address with subnet to return the broadcast address
device.go:60
↓ 3 callersMethodsetClosing
()
encoding/general.go:70
↓ 3 callersMethodsetInfoMask
(b bool, mask byte)
encoding/apdu.go:183
↓ 3 callersMethodsetOpening
()
encoding/general.go:79
↓ 3 callersFunctionsub
(t *testing.T, m *Manager, start, end int)
utsm/main_test.go:40
↓ 3 callersFunctionvalueLength
valueLength caclulates how large the necessary value needs to be to fit in the appropriate packet length
encoding/general.go:36
↓ 2 callersMethodAddress
(a *bactype.Address)
encoding/npdu.go:94
↓ 2 callersMethodBVLC
(b *bactype.BVLC)
encoding/bvlc.go:49
↓ 2 callersMethodClear
()
encoding/general.go:88
↓ 2 callersMethodDataType
()
encoding/apdu.go:220
↓ 2 callersMethodHasSource
()
encoding/npdu.go:188
↓ 2 callersMethodIsBroadcast
IsBroadcast returns if the address is a broadcast address
types/main.go:105
↓ 2 callersMethodIsSubBroadcast
IsSubBroadcast checks to see if packet is meant to be a network specific broadcast
types/main.go:122
↓ 2 callersMethodIsUnicast
IsUnicast checks to see if packet is meant to be a unicast
types/main.go:130
↓ 2 callersFunctionNew
New creates a new transaction manager
tsm/transactions.go:70
↓ 2 callersMethodPublish
(id int, data interface{})
utsm/utsm.go:92
↓ 2 callersMethodSubscribe
Subscribe receives data meant for ids that fall between the start and end range.
utsm/subscriber.go:84
↓ 2 callersMethodWhoIs
(low, high int32)
encoding/whois.go:38
↓ 2 callersMethodWhoIs
(low, high *int32)
encoding/whois.go:59
↓ 2 callersFunctioncompareReadProperties
(t *testing.T, rd bactype.ReadPropertyData, outRd bactype.ReadPropertyData)
encoding/main_test.go:226
↓ 2 callersMethoddouble
(x float64)
encoding/appdata.go:207
↓ 2 callersFunctionencodeMaxSegsMaxApdu
(maxSegs uint, maxApdu uint)
encoding/general.go:126
↓ 2 callersMethodenumerated
(value uint32)
encoding/encoder.go:168
↓ 2 callersFunctiongeneralSimpleDataTypes
generic states if we plan to use specific or generic encoding
encoding/appdata_test.go:58
↓ 2 callersMethodlocalUDPAddress
()
device.go:161
↓ 2 callersFunctionmin
(a, b int)
misc.go:20
↓ 2 callersFunctionobjectCopy
(dest bactype.ObjectMap, src []bactype.Object)
objectlist.go:77
↓ 2 callersMethodobjectsRange
(dev bactype.Device, start, end int)
objectlist.go:39
↓ 2 callersFunctionprintRow
(col1, col2 string, maxLen int)
property/print.go:20
↓ 2 callersMethodreadPropertyHeader
(tagPos uint8, data bactype.ReadPropertyData)
encoding/readproperty.go:40
↓ 2 callersMethodreal
(x float32)
encoding/appdata.go:199
↓ 2 callersFunctionsetInfoMask
setInfoMask takes an input in, and make a bit either 0, or 1 depending on the input boolean and mask
encoding/general.go:109
↓ 2 callersMethodstring
(s string)
encoding/appdata.go:99
↓ 2 callersFunctionsubTestReadProperty
(t *testing.T, rd bactype.ReadPropertyData)
encoding/main_test.go:233
↓ 2 callersFunctionsubTestReadPropertyAck
(t *testing.T, rd bactype.ReadPropertyData)
encoding/main_test.go:257
↓ 2 callersMethodtagNum
pretags
encoding/encoder.go:91
↓ 1 callersMethodBytes
()
encoding/decoder.go:64
↓ 1 callersFunctionDefaultSubscriberLastReceivedTimeout
DefaultSubscriberTimeout option sets a a timeout period when we have not received any packages to a subscriber for the timeout period
utsm/utsm.go:84
↓ 1 callersFunctionDefaultSubscriberTimeout
DefaultSubscriberTimeout option sets a a timeout period when we have not received any packages to a subscriber for the timeout period
utsm/utsm.go:74
↓ 1 callersMethodExpectingReply
IsNetworkLayerMessage returns true if it is a network layer message
encoding/npdu.go:197
↓ 1 callersFunctionGetType
(s string)
types/print.go:76
next →1–100 of 248, ranked by callers