Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexbeltran/gobacnet
/ functions
Functions
248 in github.com/alexbeltran/gobacnet
⨍
Functions
248
◇
Types & classes
40
↓ 61 callers
Method
write
(p interface{})
encoding/encoder.go:64
↓ 52 callers
Method
decode
(data interface{})
encoding/decoder.go:68
↓ 40 callers
Method
Error
()
encoding/decoder.go:60
↓ 26 callers
Function
NewDecoder
(b []byte)
encoding/decoder.go:52
↓ 21 callers
Method
Bytes
()
encoding/encoder.go:60
↓ 19 callers
Method
tag
(tg tagInfo)
encoding/encoder.go:105
↓ 17 callers
Method
Error
()
encoding/encoder.go:56
↓ 16 callers
Method
AppData
()
encoding/appdata.go:253
↓ 16 callers
Function
NewEncoder
()
encoding/encoder.go:48
↓ 11 callers
Method
len
()
encoding/decoder.go:49
↓ 10 callers
Function
subTestSimpleData
(t *testing.T, d *Decoder, x interface{})
encoding/appdata_test.go:40
↓ 10 callers
Method
tagNumber
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 callers
Method
APDU
(a *bactype.APDU)
encoding/apdu.go:88
↓ 9 callers
Method
String
String returns a pretty print of the ObjectID structure
types/print.go:93
↓ 8 callers
Method
AppData
(i interface{})
encoding/appdata.go:215
↓ 8 callers
Method
Close
Close free resources for the client. Always call this function when using NewClient
listen.go:44
↓ 7 callers
Method
ID
ID returns the invoke id that was used to save the state of this connection.
tsm/transactions.go:135
↓ 7 callers
Function
subTestNPDU
(t *testing.T, n bactype.NPDU)
encoding/main_test.go:50
↓ 7 callers
Method
tagNumberAndValue
()
encoding/decoder.go:125
↓ 7 callers
Method
unsigned
(value uint32)
encoding/encoder.go:180
↓ 6 callers
Method
NPDU
NPDU encodes the network layer control message
encoding/npdu.go:39
↓ 6 callers
Method
ReadProperty
(data *bactype.ReadPropertyData)
encoding/readproperty.go:111
↓ 6 callers
Method
WhoIs
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 callers
Method
contextUnsigned
(tagNumber uint8, value uint32)
encoding/encoder.go:162
↓ 6 callers
Method
isClosing
()
encoding/general.go:75
↓ 6 callers
Method
isContextSpecific
()
encoding/general.go:96
↓ 6 callers
Method
unsigned
(length int)
encoding/decoder.go:157
↓ 5 callers
Method
APDU
(a bactype.APDU)
encoding/apdu.go:40
↓ 5 callers
Method
Send
Send data to invoked id
tsm/transactions.go:98
↓ 5 callers
Method
enumerated
(len int)
encoding/decoder.go:140
↓ 5 callers
Method
isOpening
()
encoding/general.go:84
↓ 4 callers
Method
HasDestination
()
encoding/npdu.go:180
↓ 4 callers
Method
Len
Len returns the total number of entries within the object map.
types/main.go:172
↓ 4 callers
Method
ReadMultiplePropertyAck
(data *bactype.ReadMultipleProperty)
encoding/readmultipleack.go:66
↓ 4 callers
Method
ReadProperty
ReadProperty reads a single property from a single object in the given device.
request.go:45
↓ 4 callers
Method
Receive
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 callers
Method
checkMask
CheckMask uses mask to check bit position
encoding/npdu.go:153
↓ 4 callers
Method
closingTag
(num uint8)
encoding/encoder.go:84
↓ 4 callers
Method
objectId
()
encoding/decoder.go:132
↓ 4 callers
Method
objectId
* from clause 20.2.14 Encoding of an Object Identifier Value returns the number of apdu bytes consumed */
encoding/encoder.go:152
↓ 4 callers
Method
openingTag
Write opening tag to the system
encoding/encoder.go:78
↓ 4 callers
Method
send
send transfers the raw apdu byte slice to the destination address.
send.go:73
↓ 4 callers
Method
setContextSpecific
()
encoding/general.go:92
↓ 4 callers
Method
setInfoMask
General setter for the info bits using the mask
encoding/npdu.go:148
↓ 4 callers
Function
subTestAPDU
(t *testing.T, a bactype.APDU)
encoding/main_test.go:109
↓ 4 callers
Method
value
(meta tagMeta)
encoding/decoder.go:100
↓ 3 callers
Method
BVLC
Bacnet Virtual Layer Control
encoding/bvlc.go:40
↓ 3 callers
Method
IAm
(id *types.IAm)
encoding/iam.go:46
↓ 3 callers
Method
IsNetworkLayerMessage
IsNetworkLayerMessage returns true if it is a network layer message
encoding/npdu.go:159
↓ 3 callers
Method
NPDU
NPDU encodes the network layer control message
encoding/npdu.go:104
↓ 3 callers
Function
NewClient
NewClient creates a new client with the given interface and port.
device.go:74
↓ 3 callers
Method
Put
Put allows the id to be reused in the transaction manager
tsm/transactions.go:160
↓ 3 callers
Method
ReadMultiProperty
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 callers
Method
ReadProperty
ReadProperty is a service request to read a property that is passed.
encoding/readproperty.go:67
↓ 3 callers
Method
UDPAddr
UDPAddr parses the mac address and returns an proper net.UDPAddr
types/main.go:138
↓ 3 callers
Method
boolean
(x bool)
encoding/appdata.go:188
↓ 3 callers
Method
checkMask
CheckMask uses mask to check bit position
encoding/apdu.go:188
↓ 3 callers
Method
contextEnumerated
(tagNumber uint8, value uint32)
encoding/encoder.go:158
↓ 3 callers
Method
contextObjectID
(tagNum uint8, objectType bactype.ObjectType, instance bactype.ObjectInstance)
encoding/encoder.go:71
↓ 3 callers
Function
getBroadcast
getBroadcast uses the given address with subnet to return the broadcast address
device.go:60
↓ 3 callers
Method
setClosing
()
encoding/general.go:70
↓ 3 callers
Method
setInfoMask
(b bool, mask byte)
encoding/apdu.go:183
↓ 3 callers
Method
setOpening
()
encoding/general.go:79
↓ 3 callers
Function
sub
(t *testing.T, m *Manager, start, end int)
utsm/main_test.go:40
↓ 3 callers
Function
valueLength
valueLength caclulates how large the necessary value needs to be to fit in the appropriate packet length
encoding/general.go:36
↓ 2 callers
Method
Address
(a *bactype.Address)
encoding/npdu.go:94
↓ 2 callers
Method
BVLC
(b *bactype.BVLC)
encoding/bvlc.go:49
↓ 2 callers
Method
Clear
()
encoding/general.go:88
↓ 2 callers
Method
DataType
()
encoding/apdu.go:220
↓ 2 callers
Method
HasSource
()
encoding/npdu.go:188
↓ 2 callers
Method
IsBroadcast
IsBroadcast returns if the address is a broadcast address
types/main.go:105
↓ 2 callers
Method
IsSubBroadcast
IsSubBroadcast checks to see if packet is meant to be a network specific broadcast
types/main.go:122
↓ 2 callers
Method
IsUnicast
IsUnicast checks to see if packet is meant to be a unicast
types/main.go:130
↓ 2 callers
Function
New
New creates a new transaction manager
tsm/transactions.go:70
↓ 2 callers
Method
Publish
(id int, data interface{})
utsm/utsm.go:92
↓ 2 callers
Method
Subscribe
Subscribe receives data meant for ids that fall between the start and end range.
utsm/subscriber.go:84
↓ 2 callers
Method
WhoIs
(low, high int32)
encoding/whois.go:38
↓ 2 callers
Method
WhoIs
(low, high *int32)
encoding/whois.go:59
↓ 2 callers
Function
compareReadProperties
(t *testing.T, rd bactype.ReadPropertyData, outRd bactype.ReadPropertyData)
encoding/main_test.go:226
↓ 2 callers
Method
double
(x float64)
encoding/appdata.go:207
↓ 2 callers
Function
encodeMaxSegsMaxApdu
(maxSegs uint, maxApdu uint)
encoding/general.go:126
↓ 2 callers
Method
enumerated
(value uint32)
encoding/encoder.go:168
↓ 2 callers
Function
generalSimpleDataTypes
generic states if we plan to use specific or generic encoding
encoding/appdata_test.go:58
↓ 2 callers
Method
localUDPAddress
()
device.go:161
↓ 2 callers
Function
min
(a, b int)
misc.go:20
↓ 2 callers
Function
objectCopy
(dest bactype.ObjectMap, src []bactype.Object)
objectlist.go:77
↓ 2 callers
Method
objectsRange
(dev bactype.Device, start, end int)
objectlist.go:39
↓ 2 callers
Function
printRow
(col1, col2 string, maxLen int)
property/print.go:20
↓ 2 callers
Method
readPropertyHeader
(tagPos uint8, data bactype.ReadPropertyData)
encoding/readproperty.go:40
↓ 2 callers
Method
real
(x float32)
encoding/appdata.go:199
↓ 2 callers
Function
setInfoMask
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 callers
Method
string
(s string)
encoding/appdata.go:99
↓ 2 callers
Function
subTestReadProperty
(t *testing.T, rd bactype.ReadPropertyData)
encoding/main_test.go:233
↓ 2 callers
Function
subTestReadPropertyAck
(t *testing.T, rd bactype.ReadPropertyData)
encoding/main_test.go:257
↓ 2 callers
Method
tagNum
pretags
encoding/encoder.go:91
↓ 1 callers
Method
Bytes
()
encoding/decoder.go:64
↓ 1 callers
Function
DefaultSubscriberLastReceivedTimeout
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 callers
Function
DefaultSubscriberTimeout
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 callers
Method
ExpectingReply
IsNetworkLayerMessage returns true if it is a network layer message
encoding/npdu.go:197
↓ 1 callers
Function
GetType
(s string)
types/print.go:76
next →
1–100 of 248, ranked by callers