MCPcopy Create free account

hub / github.com/brocaar/lorawan / functions

Functions736 in github.com/brocaar/lorawan

↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:349
↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:417
↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:454
↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:486
↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:534
↓ 3 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:701
↓ 3 callersMethodType
Type returns the NetID type.
netid.go:16
↓ 3 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
payload.go:240
↓ 3 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
payload.go:420
↓ 3 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
mac_commands.go:197
↓ 3 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
mac_commands.go:274
↓ 3 callersMethodValidateDownlinkDataMIC
ValidateDownlinkDataMIC validates the MIC of a downlink data frame. In order to validate the MIC, the FCnt value must first be set to the full 32 bit
phypayload.go:232
↓ 3 callersMethodValidateUplinkDataMIC
ValidateUplinkDataMIC validates the MIC of an uplink data frame. In order to validate the MIC, the FCnt value must first be set to the full 32 bit fra
phypayload.go:191
↓ 3 callersMethodValidateUplinkJoinMIC
ValidateUplinkJoinMIC validates the MIC of an uplink join request.
phypayload.go:251
↓ 3 callersMethodcalculateDownlinkDataMIC
(macVersion MACVersion, confFCnt uint32, sNwkSIntKey AES128Key)
phypayload.go:788
↓ 3 callersMethodgetID
(bits int)
netid.go:34
↓ 3 callersMethodrun
(newPLFunc func() MACCommandPayload, tests []macCommandPayloadTest)
mac_command_payload_test.go:21
↓ 2 callersFunctionCalculateLoRaPayloadSymbolNumber
CalculateLoRaPayloadSymbolNumber returns the number of symbols that make up the packet payload and header.
airtime/airtime.go:48
↓ 2 callersFunctionCalculateLoRaPreambleDuration
CalculateLoRaPreambleDuration calculates the LoRa preamble duration.
airtime/airtime.go:42
↓ 2 callersFunctionCalculateSensitivity
CalculateSensitivity calculates the LoRa sensitivity. The bandwidth must be given in Hz!
sensitivity/sensitivity.go:10
↓ 2 callersMethodDecryptFOpts
DecryptFOpts decrypts the FOpts payload and decodes it into mac-command structures.
phypayload.go:397
↓ 2 callersMethodGetDisabledUplinkChannelIndices
GetDisabledUplinkChannelIndices returns the disabled uplink channel indices.
band/band.go:200
↓ 2 callersMethodGetRX1DataRateIndex
GetRX1DataRateIndex returns the RX1 data-rate given the uplink data-rate and RX1 data-rate offset.
band/band.go:154
↓ 2 callersMethodGetUplinkChannelIndexForFrequencyDR
GetUplinkChannelIndexForFrequencyDR returns the uplink channel index given a frequency and data-rate.
band/band.go:175
↓ 2 callersMethodHomeNSReq
HomeNSReq method.
backend/client.go:50
↓ 2 callersMethodID
ID returns the NetID ID part.
netid.go:21
↓ 2 callersMethodIsNetID
IsNetID returns a bool indicating if the NwkID matches the given NetID.
fhdr.go:73
↓ 2 callersMethodJoinReq
JoinReq method.
backend/client.go:38
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
payload.go:151
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
payload.go:170
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
payload.go:226
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
phypayload.go:152
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
mac_commands.go:259
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
mac_commands.go:374
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
mac_commands.go:540
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
mac_commands.go:572
↓ 2 callersMethodMarshalBinary
MarshalBinary marshals the object in binary form.
mac_commands.go:677
↓ 2 callersMethodMarshalBinary
MarshalBinary encodes the object into bytes.
mac_commands.go:810
↓ 2 callersMethodMarshalBinary
MarshalBinary encodes the commands to a slice of bytes.
applayer/multicastsetup/multicastsetup.go:134
↓ 2 callersMethodMarshalJSON
MarshalJSON implements the json.Marshaler interface. This returns the frequency value in MHz (e.g. 868.1) to be compatible with the LoRaWAN Backend In
backend/backend.go:153
↓ 2 callersMethodMarshalText
MarshalText implements encoding.TextMarshaler.
netid.go:60
↓ 2 callersMethodNetIDType
NetIDType returns the NetID type of the DevAddr.
fhdr.go:16
↓ 2 callersFunctionNewClient
NewClient creates a new Client.
backend/client.go:83
↓ 2 callersMethodPRStopReq
PRStopReq method.
backend/client.go:44
↓ 2 callersMethodProfileReq
ProfileReq method.
backend/client.go:48
↓ 2 callersMethodRejoinReq
RejoinReq method.
backend/client.go:40
↓ 2 callersMethodSetAddrPrefix
SetAddrPrefix sets the NetID based AddrPrefix.
fhdr.go:51
↓ 2 callersMethodSize
Size returns the payload size in bytes.
applayer/clocksync/clocksync.go:158
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/fragmentation/fragmentation.go:161
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/firmwaremanagement/firmwaremanagement.go:168
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/firmwaremanagement/firmwaremanagement.go:306
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/firmwaremanagement/firmwaremanagement.go:338
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:170
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:251
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:613
↓ 2 callersMethodSize
Size returns the payload size in number of bytes.
applayer/multicastsetup/multicastsetup.go:782
↓ 2 callersMethodString
String implements fmt.Stringer.
backend/backend.go:110
↓ 2 callersMethodTimeSinceGPSEpoch
TimeSinceGPSEpoch returns the time duration since GPS epoch, corrected with the leap seconds.
gps/gps.go:53
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
payload.go:193
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes the object from binary form.
mac_commands.go:466
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes a slice of bytes into a command.
applayer/clocksync/clocksync.go:87
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes a slice of bytes into a command.
applayer/fragmentation/fragmentation.go:90
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes a slice of bytes into a command.
applayer/firmwaremanagement/firmwaremanagement.go:97
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes a slice of bytes into a command.
applayer/multicastsetup/multicastsetup.go:99
↓ 2 callersMethodUnmarshalBinary
UnmarshalBinary decodes a slice of bytes into a slice of commands.
applayer/multicastsetup/multicastsetup.go:148
↓ 2 callersMethodUnmarshalJSON
UnmarshalJSON implements the json.Unmarshaler interface. This parses a frequency in MHz (float type) back to Hz (int).
backend/backend.go:159
↓ 2 callersMethodValue
Value implements driver.Valuer.
netid.go:104
↓ 2 callersMethodXmitDataReq
XmitDataReq method.
backend/client.go:46
↓ 2 callersMethodcalculateDownlinkJoinMIC
(joinReqType JoinType, joinEUI EUI64, devNonce DevNonce, key AES128Key)
phypayload.go:626
↓ 2 callersMethodcalculateUplinkJoinMIC
(key AES128Key)
phypayload.go:589
↓ 2 callersFunctionchannelIsActive
(channels []int, i int)
band/band.go:658
↓ 2 callersFunctiongetAppSKey
getAppSKey returns appSKey.
backend/joinserver/session_keys.go:19
↓ 2 callersMethodgetAsyncKey
(id uint32)
backend/client.go:463
↓ 2 callersFunctiongetJSEncKey
getJSEncKey returns the JSEncKey.
backend/joinserver/session_keys.go:39
↓ 2 callersFunctiongetJSKey
(typ byte, devEUI lorawan.EUI64, nwkKey lorawan.AES128Key)
backend/joinserver/session_keys.go:90
↓ 2 callersMethodmarshalPayload
()
macpayload.go:15
↓ 2 callersMethodreturnHomeNSReqError
(w http.ResponseWriter, basePL backend.BasePayload, code int, resultCode backend.ResultCode, msg string)
backend/joinserver/joinserver.go:180
↓ 1 callersFunctionCalculateLinkBudget
CalculateLinkBudget calculates the link budget. The bandwidth must be given in Hz!
sensitivity/sensitivity.go:18
↓ 1 callersFunctionCalculateLoRaAirtime
CalculateLoRaAirtime calculates the airtime for a LoRa modulated frame.
airtime/airtime.go:24
↓ 1 callersMethodDecryptJoinAcceptPayload
DecryptJoinAcceptPayload decrypts the join-accept payload with the given key. Note that you need to decrypte before you can validate the MIC. Note: f
phypayload.go:325
↓ 1 callersFunctionEncode
Encode encodes the given slice of bytes to fragments including forward error correction. This is based on the proposed FEC code from the Fragmented Da
applayer/fragmentation/encode.go:10
↓ 1 callersFunctionEncryptFOpts
EncryptFOpts encrypts the FOpts mac-commands. For uplink: Set the aFCntDown to false and use the FCntUp For downlink if FPort is not set or equals to
phypayload.go:904
↓ 1 callersFunctionEncryptFRMPayload
EncryptFRMPayload encrypts the FRMPayload (slice of bytes). Note that EncryptFRMPayload is used for both encryption and decryption.
phypayload.go:856
↓ 1 callersFunctionGetCommandPayload
GetCommandPayload returns a new CommandPayload for the given CID.
applayer/clocksync/clocksync.go:49
↓ 1 callersFunctionGetCommandPayload
GetCommandPayload returns a new CommandPayload for the given CID.
applayer/fragmentation/fragmentation.go:53
↓ 1 callersFunctionGetCommandPayload
GetCommandPayload returns a new CommandPayload for the given CID.
applayer/firmwaremanagement/firmwaremanagement.go:59
↓ 1 callersFunctionGetCommandPayload
GetCommandPayload returns a new CommandPayload for the given CID.
applayer/multicastsetup/multicastsetup.go:61
↓ 1 callersMethodGetEnabledUplinkChannelIndices
()
band/band.go:446
↓ 1 callersMethodGetEnabledUplinkDataRates
GetEnabledUplinkDataRates returns the list of enabled uplink data-rates.
band/band.go:203
↓ 1 callersFunctionGetMcAppSKey
GetMcAppSKey returns the McAppSKey given the McKey and McAddr.
applayer/multicastsetup/keys.go:28
↓ 1 callersFunctionGetMcKEKey
GetMcKEKey returns the McKEKey given the McRootKey.
applayer/multicastsetup/keys.go:23
↓ 1 callersFunctionGetMcNetSKey
GetMcNetSKey returns the McNetSKey given the McKey and McAddr.
applayer/multicastsetup/keys.go:41
↓ 1 callersFunctionGetMcRootKeyForAppKey
GetMcRootKeyForAppKey returns the McRootKey given an AppKey. Note: The AppKey is only used for LoRaWAN 1.1.x devices.
applayer/multicastsetup/keys.go:18
↓ 1 callersFunctionGetMcRootKeyForGenAppKey
GetMcRootKeyForGenAppKey returns the McRootKey given a GenAppKey. Note: The GenAppKey is only used for LoRaWAN 1.0.x devices.
applayer/multicastsetup/keys.go:12
↓ 1 callersMethodGetRX1ChannelIndexForUplinkChannelIndex
(uplinkChannel int)
band/band_au915_928.go:46
↓ 1 callersMethodGetRX1ChannelIndexForUplinkChannelIndex
(uplinkChannel int)
band/band_us902_928.go:45
↓ 1 callersMethodGetRX1ChannelIndexForUplinkChannelIndex
(uplinkChannel int)
band/band_cn470_510.go:51
↓ 1 callersFunctionGetTXParamSetupEIRP
GetTXParamsetupEIRP returns the EIRP (dBm) for the coded value.
eirp.go:39
↓ 1 callersFunctionGetTXParamSetupEIRPIndex
GetTXParamSetupEIRPIndex returns the coded value for the given EIRP (dBm). Note that it returns the coded value that is closest to the given EIRP, wit
eirp.go:27
↓ 1 callersMethodGetUplinkChannel
(channel int)
band/band.go:352
← previousnext →101–200 of 736, ranked by callers