MCPcopy Create free account

hub / github.com/apache/mynewt-newtmgr / functions

Functions1,290 in github.com/apache/mynewt-newtmgr

↓ 103 callersFunctionnmUsage
(cmd *cobra.Command, err error)
newtmgr/cli/usage.go:59
↓ 75 callersMethodError
()
nmxact/nmxutil/nmxerr.go:140
↓ 55 callersFunctionMsgFromReq
(r NmpReq)
nmxact/nmp/nmp.go:76
↓ 38 callersMethodRemoveListener
(name string, listener *Listener)
nmxact/nmble/receiver.go:84
↓ 37 callersFunctionStatusError
(op MsgOp, msgType MsgType, status int)
nmxact/nmble/ble_util.go:63
↓ 35 callersFunctionMsgTypeToString
(msgType MsgType)
nmxact/nmble/ble_proto.go:1547
↓ 35 callersMethodSetTxOptions
(opt sesn.TxOptions)
nmxact/xact/cmd.go:38
↓ 35 callersFunctionTxOptions
()
newtmgr/nmutil/nmutil.go:50
↓ 34 callersMethodAddListener
(name string, key ListenerKey)
nmxact/nmble/receiver.go:50
↓ 32 callersFunctionNewCmdBase
()
nmxact/xact/cmd.go:48
↓ 31 callersMethodAfterTimeout
(tmo time.Duration)
nmxact/nmble/listen.go:73
↓ 31 callersFunctionGetSesn
()
newtmgr/cli/common.go:300
↓ 31 callersFunctionNextSeq
()
nmxact/nmble/ble_util.go:40
↓ 31 callersMethodRestart
(reason string)
nmxact/nmble/ble_xport.go:496
↓ 31 callersMethodRspTimeout
()
nmxact/nmble/ble_xport.go:531
↓ 31 callersFunctionSeqKey
Listener that matches by sequence number.
nmxact/nmble/listen.go:39
↓ 28 callersFunctionfillNmpReq
(req NmpReq, op uint8, group uint16, id uint8)
nmxact/nmp/nmp.go:166
↓ 28 callersFunctiontxReq
(s sesn.Sesn, m *nmp.NmpMsg, c *CmdBase)
nmxact/xact/xact.go:28
↓ 26 callersMethodClose
Ends communication with the peer. For connection-oriented transports, this closes the connection. * nil: success. * nmxutil.SesnClosedError: session
nmxact/sesn/sesn.go:74
↓ 26 callersMethodTx
(data []byte)
nmxact/xport/xport.go:34
↓ 23 callersMethodDump
()
nmxact/mtech_lora/listen.go:184
↓ 23 callersMethodStop
()
nmxact/xport/xport.go:30
↓ 22 callersFunctionAssert
(cond bool)
nmxact/nmxutil/nmxutil.go:67
↓ 22 callersMethodStatus
()
nmxact/xact/cmd.go:29
↓ 19 callersFunctionNewXportError
(text string)
nmxact/nmxutil/nmxerr.go:136
↓ 17 callersFunctionNewSesnClosedError
(text string)
nmxact/nmxutil/nmxerr.go:97
↓ 13 callersMethodString
()
nmxact/nmble/master.go:40
↓ 13 callersMethodWait
(timeout time.Duration, stopChan <-chan struct{})
nmxact/nmxutil/block.go:57
↓ 11 callersMethodString
()
nmxact/bledefs/bledefs.go:171
↓ 9 callersMethodBytes
()
nmxact/nmp/nmp.go:105
↓ 9 callersMethodMtuOut
Retrieves the maximum data payload for outgoing data packets.
nmxact/sesn/sesn.go:83
↓ 9 callersFunctionParseUuid
(uuidStr string)
nmxact/bledefs/bledefs.go:274
↓ 9 callersMethodStopListenCoap
Cancels the CoAP listener with the specified criteria.
nmxact/sesn/sesn.go:112
↓ 9 callersMethodrunTask
(fn func() error)
nmxact/nmble/conn.go:165
↓ 9 callersMethodsetState
(s masterState)
nmxact/nmble/master.go:109
↓ 9 callersMethodtxNoSync
Transmit data to blehostd; host-controller sync not required.
nmxact/nmble/ble_xport.go:334
↓ 8 callersMethodFilters
Returns a transmit and a receive callback used to manipulate CoAP messages
nmxact/sesn/sesn.go:119
↓ 8 callersMethodListenCoap
Creates a listener for incoming CoAP messages matching the specified criteria.
nmxact/sesn/sesn.go:109
↓ 8 callersMethodStart
()
nmxact/xport/xport.go:29
↓ 8 callersFunctionToBleHost
(err error)
nmxact/nmxutil/nmxerr.go:180
↓ 8 callersFunctioneinvalBleConnString
(f string, args ...interface{})
newtmgr/config/ble_config.go:60
↓ 8 callersFunctionextractResKv
(params []string)
newtmgr/cli/res.go:71
↓ 7 callersFunctionErrCodeToString
(e int)
nmxact/nmble/ble_proto.go:1461
↓ 7 callersMethodFindListener
(tgt string, port uint8, msgType string)
nmxact/mtech_lora/listen.go:122
↓ 7 callersFunctionFragment
(b []byte, mtu int)
nmxact/nmxutil/nmxutil.go:158
↓ 7 callersMethodMsg
()
nmxact/nmp/nmp.go:54
↓ 7 callersFunctionNewRspTimeoutError
(text string)
nmxact/nmxutil/nmxerr.go:32
↓ 7 callersMethodOpen
Public interface: Initiates communication with the peer. For connection-oriented transports, this creates a connection. Returns: * nil: success. * nm
nmxact/sesn/sesn.go:67
↓ 7 callersMethodTxCoap
Transmits a CoAP message.
nmxact/sesn/sesn.go:115
↓ 7 callersMethodTxRxMgmt
Performs a blocking transmit a single management request (NMP / OMP) and listens for the response. * nil: success. * nmxutil.SesnClosedError: session
nmxact/sesn/sesn.go:104
↓ 7 callersMethodgetCln
()
newtmgr/bll/bll_sesn.go:68
↓ 6 callersFunctionBleAddrTypeToString
(addrType BleAddrType)
nmxact/bledefs/bledefs.go:75
↓ 6 callersFunctionLogListener
(parentLevel int, title string, extra string)
nmxact/nmxutil/nmxutil.go:179
↓ 6 callersFunctionNewBleHostError
(status int, text string)
nmxact/nmxutil/nmxerr.go:158
↓ 6 callersFunctionNewSesnAlreadyOpenError
(text string)
nmxact/nmxutil/nmxerr.go:78
↓ 6 callersFunctionNewSesnCfg
()
nmxact/sesn/sesn_cfg.go:94
↓ 6 callersFunctionNewTransceiver
(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter, isTcp bool, mgmtProto sesn.MgmtProto, logDepth int
nmxact/mgmt/transceiver.go:55
↓ 6 callersMethodSetFilters
Sets the transmit and a receive callback used to manipulate CoAP messages
nmxact/sesn/sesn.go:123
↓ 6 callersFunctionTchKey
Listener that matches by TCH (type and conn-handle).
nmxact/nmble/listen.go:48
↓ 6 callersMethodenqueueShutdown
(cause error)
nmxact/nmble/ble_xport.go:119
↓ 6 callersFunctiongetPath
(m map[string]interface{})
newtmgr/cli/interactive.go:125
↓ 6 callersFunctionhasStoredParams
()
newtmgr/cli/interactive.go:116
↓ 5 callersMethodAddListener
(key ListenerKey, listener *Listener)
nmxact/mtech_lora/listen.go:140
↓ 5 callersMethodAfterTimeout
()
nmxact/sesn/sesn.go:47
↓ 5 callersFunctionCompareUuids
(a BleUuid, b BleUuid)
nmxact/bledefs/bledefs.go:323
↓ 5 callersFunctionConnTypeToString
(ct ConnType)
newtmgr/config/connprofile.go:80
↓ 5 callersMethodEnqueue
Pushes the specified function onto the task queue. When the job completes, the result is sent over the returned channel
nmxact/task/task.go:53
↓ 5 callersMethodErrorAll
(err error)
nmxact/nmp/dispatch.go:182
↓ 5 callersMethodIsOpen
Indicates whether the session is currently open.
nmxact/sesn/sesn.go:77
↓ 5 callersMethodLen
()
nmxact/nmcoap/listener.go:145
↓ 5 callersMethodRemoveListener
(listener *Listener)
nmxact/mtech_lora/listen.go:164
↓ 5 callersMethodString
()
nmxact/nmcoap/listener.go:45
↓ 5 callersFunctioncoapTxRx
(c *ishell.Context, mp nmcoap.MsgParams)
newtmgr/cli/interactive.go:134
↓ 5 callersMethodfailIfNotOpen
()
nmxact/nmble/naked_sesn.go:313
↓ 4 callersFunctionBleAddrTypeFromString
(s string)
nmxact/bledefs/bledefs.go:84
↓ 4 callersFunctionEncodeMgmt
(s sesn.Sesn, m *nmp.NmpMsg)
nmxact/mgmt/mgmt.go:30
↓ 4 callersFunctionGetXport
()
newtmgr/cli/common.go:107
↓ 4 callersFunctionGlobalConnProfileMgr
()
newtmgr/config/connprofile.go:265
↓ 4 callersMethodIsOpen
Indicates whether the session is currently open.
newtmgr/bll/bll_sesn.go:340
↓ 4 callersFunctionIsXport
(err error)
nmxact/nmxutil/nmxerr.go:144
↓ 4 callersFunctionLogAddListener
(parentLevel int, key interface{}, id uint32, name string)
nmxact/nmxutil/nmxutil.go:203
↓ 4 callersFunctionNewBleXport
(cfg XportCfg)
nmxact/nmble/ble_xport.go:610
↓ 4 callersFunctionNewEchoCmd
()
nmxact/xact/echo.go:32
↓ 4 callersFunctionNewXportCfg
()
nmxact/nmble/ble_xport.go:600
↓ 4 callersMethodRun
Transmits request and listens for response; blocking.
nmxact/xact/cmd.go:34
↓ 4 callersMethodRun
(s sesn.Sesn)
nmxact/xact/echo.go:50
↓ 4 callersMethodStopNoWait
Stops the task queue. If there are any queued jobs, this causes them to fail with the specified error. The task queue must be started again before i
nmxact/task/task.go:134
↓ 4 callersMethodString
()
newtmgr/config/connprofile.go:49
↓ 4 callersFunctionfindChr
(profile *ble.Profile, chrId *bledefs.BleChrId)
newtmgr/bll/bll_sesn.go:185
↓ 4 callersMethodgetChr
(chrId *BleChrId)
nmxact/nmble/naked_sesn.go:591
↓ 4 callersMethodrunTask
(fn func() error)
nmxact/nmble/naked_sesn.go:121
↓ 4 callersMethodservicePrimary
(err error)
nmxact/nmble/master.go:205
↓ 4 callersMethodsetState
(state discovererState)
nmxact/nmble/discover.go:65
↓ 4 callersMethodtxRaw
(bytes []byte)
nmxact/nmserial/serial_xport.go:239
↓ 3 callersMethodAbortRx
Stops a receive operation in progress. This must be called from a separate thread, as sesn receive operations are blocking.
nmxact/sesn/sesn.go:92
↓ 3 callersFunctionAccessStatusXact
(x *BleXport, attStatus uint8, data []byte)
nmxact/nmble/ble_util.go:504
↓ 3 callersMethodCoapIsTcp
Indicates whether the session uses the TCP form of CoAP.
nmxact/sesn/sesn.go:88
↓ 3 callersFunctionConnTypeFromString
(s string)
newtmgr/config/connprofile.go:84
↓ 3 callersFunctionDecodeNmpHdr
(data []byte)
nmxact/nmp/nmp.go:87
↓ 3 callersMethodDispatch
Returns true if the response was dispatched.
nmxact/nmp/dispatch.go:147
next →1–100 of 1,290, ranked by callers