Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/mynewt-newtmgr
/ functions
Functions
1,290 in github.com/apache/mynewt-newtmgr
⨍
Functions
1,290
◇
Types & classes
399
↓ 103 callers
Function
nmUsage
(cmd *cobra.Command, err error)
newtmgr/cli/usage.go:59
↓ 75 callers
Method
Error
()
nmxact/nmxutil/nmxerr.go:140
↓ 55 callers
Function
MsgFromReq
(r NmpReq)
nmxact/nmp/nmp.go:76
↓ 38 callers
Method
RemoveListener
(name string, listener *Listener)
nmxact/nmble/receiver.go:84
↓ 37 callers
Function
StatusError
(op MsgOp, msgType MsgType, status int)
nmxact/nmble/ble_util.go:63
↓ 35 callers
Function
MsgTypeToString
(msgType MsgType)
nmxact/nmble/ble_proto.go:1547
↓ 35 callers
Method
SetTxOptions
(opt sesn.TxOptions)
nmxact/xact/cmd.go:38
↓ 35 callers
Function
TxOptions
()
newtmgr/nmutil/nmutil.go:50
↓ 34 callers
Method
AddListener
(name string, key ListenerKey)
nmxact/nmble/receiver.go:50
↓ 32 callers
Function
NewCmdBase
()
nmxact/xact/cmd.go:48
↓ 31 callers
Method
AfterTimeout
(tmo time.Duration)
nmxact/nmble/listen.go:73
↓ 31 callers
Function
GetSesn
()
newtmgr/cli/common.go:300
↓ 31 callers
Function
NextSeq
()
nmxact/nmble/ble_util.go:40
↓ 31 callers
Method
Restart
(reason string)
nmxact/nmble/ble_xport.go:496
↓ 31 callers
Method
RspTimeout
()
nmxact/nmble/ble_xport.go:531
↓ 31 callers
Function
SeqKey
Listener that matches by sequence number.
nmxact/nmble/listen.go:39
↓ 28 callers
Function
fillNmpReq
(req NmpReq, op uint8, group uint16, id uint8)
nmxact/nmp/nmp.go:166
↓ 28 callers
Function
txReq
(s sesn.Sesn, m *nmp.NmpMsg, c *CmdBase)
nmxact/xact/xact.go:28
↓ 26 callers
Method
Close
Ends communication with the peer. For connection-oriented transports, this closes the connection. * nil: success. * nmxutil.SesnClosedError: session
nmxact/sesn/sesn.go:74
↓ 26 callers
Method
Tx
(data []byte)
nmxact/xport/xport.go:34
↓ 23 callers
Method
Dump
()
nmxact/mtech_lora/listen.go:184
↓ 23 callers
Method
Stop
()
nmxact/xport/xport.go:30
↓ 22 callers
Function
Assert
(cond bool)
nmxact/nmxutil/nmxutil.go:67
↓ 22 callers
Method
Status
()
nmxact/xact/cmd.go:29
↓ 19 callers
Function
NewXportError
(text string)
nmxact/nmxutil/nmxerr.go:136
↓ 17 callers
Function
NewSesnClosedError
(text string)
nmxact/nmxutil/nmxerr.go:97
↓ 13 callers
Method
String
()
nmxact/nmble/master.go:40
↓ 13 callers
Method
Wait
(timeout time.Duration, stopChan <-chan struct{})
nmxact/nmxutil/block.go:57
↓ 11 callers
Method
String
()
nmxact/bledefs/bledefs.go:171
↓ 9 callers
Method
Bytes
()
nmxact/nmp/nmp.go:105
↓ 9 callers
Method
MtuOut
Retrieves the maximum data payload for outgoing data packets.
nmxact/sesn/sesn.go:83
↓ 9 callers
Function
ParseUuid
(uuidStr string)
nmxact/bledefs/bledefs.go:274
↓ 9 callers
Method
StopListenCoap
Cancels the CoAP listener with the specified criteria.
nmxact/sesn/sesn.go:112
↓ 9 callers
Method
runTask
(fn func() error)
nmxact/nmble/conn.go:165
↓ 9 callers
Method
setState
(s masterState)
nmxact/nmble/master.go:109
↓ 9 callers
Method
txNoSync
Transmit data to blehostd; host-controller sync not required.
nmxact/nmble/ble_xport.go:334
↓ 8 callers
Method
Filters
Returns a transmit and a receive callback used to manipulate CoAP messages
nmxact/sesn/sesn.go:119
↓ 8 callers
Method
ListenCoap
Creates a listener for incoming CoAP messages matching the specified criteria.
nmxact/sesn/sesn.go:109
↓ 8 callers
Method
Start
()
nmxact/xport/xport.go:29
↓ 8 callers
Function
ToBleHost
(err error)
nmxact/nmxutil/nmxerr.go:180
↓ 8 callers
Function
einvalBleConnString
(f string, args ...interface{})
newtmgr/config/ble_config.go:60
↓ 8 callers
Function
extractResKv
(params []string)
newtmgr/cli/res.go:71
↓ 7 callers
Function
ErrCodeToString
(e int)
nmxact/nmble/ble_proto.go:1461
↓ 7 callers
Method
FindListener
(tgt string, port uint8, msgType string)
nmxact/mtech_lora/listen.go:122
↓ 7 callers
Function
Fragment
(b []byte, mtu int)
nmxact/nmxutil/nmxutil.go:158
↓ 7 callers
Method
Msg
()
nmxact/nmp/nmp.go:54
↓ 7 callers
Function
NewRspTimeoutError
(text string)
nmxact/nmxutil/nmxerr.go:32
↓ 7 callers
Method
Open
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 callers
Method
TxCoap
Transmits a CoAP message.
nmxact/sesn/sesn.go:115
↓ 7 callers
Method
TxRxMgmt
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 callers
Method
getCln
()
newtmgr/bll/bll_sesn.go:68
↓ 6 callers
Function
BleAddrTypeToString
(addrType BleAddrType)
nmxact/bledefs/bledefs.go:75
↓ 6 callers
Function
LogListener
(parentLevel int, title string, extra string)
nmxact/nmxutil/nmxutil.go:179
↓ 6 callers
Function
NewBleHostError
(status int, text string)
nmxact/nmxutil/nmxerr.go:158
↓ 6 callers
Function
NewSesnAlreadyOpenError
(text string)
nmxact/nmxutil/nmxerr.go:78
↓ 6 callers
Function
NewSesnCfg
()
nmxact/sesn/sesn_cfg.go:94
↓ 6 callers
Function
NewTransceiver
(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter, isTcp bool, mgmtProto sesn.MgmtProto, logDepth int
nmxact/mgmt/transceiver.go:55
↓ 6 callers
Method
SetFilters
Sets the transmit and a receive callback used to manipulate CoAP messages
nmxact/sesn/sesn.go:123
↓ 6 callers
Function
TchKey
Listener that matches by TCH (type and conn-handle).
nmxact/nmble/listen.go:48
↓ 6 callers
Method
enqueueShutdown
(cause error)
nmxact/nmble/ble_xport.go:119
↓ 6 callers
Function
getPath
(m map[string]interface{})
newtmgr/cli/interactive.go:125
↓ 6 callers
Function
hasStoredParams
()
newtmgr/cli/interactive.go:116
↓ 5 callers
Method
AddListener
(key ListenerKey, listener *Listener)
nmxact/mtech_lora/listen.go:140
↓ 5 callers
Method
AfterTimeout
()
nmxact/sesn/sesn.go:47
↓ 5 callers
Function
CompareUuids
(a BleUuid, b BleUuid)
nmxact/bledefs/bledefs.go:323
↓ 5 callers
Function
ConnTypeToString
(ct ConnType)
newtmgr/config/connprofile.go:80
↓ 5 callers
Method
Enqueue
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 callers
Method
ErrorAll
(err error)
nmxact/nmp/dispatch.go:182
↓ 5 callers
Method
IsOpen
Indicates whether the session is currently open.
nmxact/sesn/sesn.go:77
↓ 5 callers
Method
Len
()
nmxact/nmcoap/listener.go:145
↓ 5 callers
Method
RemoveListener
(listener *Listener)
nmxact/mtech_lora/listen.go:164
↓ 5 callers
Method
String
()
nmxact/nmcoap/listener.go:45
↓ 5 callers
Function
coapTxRx
(c *ishell.Context, mp nmcoap.MsgParams)
newtmgr/cli/interactive.go:134
↓ 5 callers
Method
failIfNotOpen
()
nmxact/nmble/naked_sesn.go:313
↓ 4 callers
Function
BleAddrTypeFromString
(s string)
nmxact/bledefs/bledefs.go:84
↓ 4 callers
Function
EncodeMgmt
(s sesn.Sesn, m *nmp.NmpMsg)
nmxact/mgmt/mgmt.go:30
↓ 4 callers
Function
GetXport
()
newtmgr/cli/common.go:107
↓ 4 callers
Function
GlobalConnProfileMgr
()
newtmgr/config/connprofile.go:265
↓ 4 callers
Method
IsOpen
Indicates whether the session is currently open.
newtmgr/bll/bll_sesn.go:340
↓ 4 callers
Function
IsXport
(err error)
nmxact/nmxutil/nmxerr.go:144
↓ 4 callers
Function
LogAddListener
(parentLevel int, key interface{}, id uint32, name string)
nmxact/nmxutil/nmxutil.go:203
↓ 4 callers
Function
NewBleXport
(cfg XportCfg)
nmxact/nmble/ble_xport.go:610
↓ 4 callers
Function
NewEchoCmd
()
nmxact/xact/echo.go:32
↓ 4 callers
Function
NewXportCfg
()
nmxact/nmble/ble_xport.go:600
↓ 4 callers
Method
Run
Transmits request and listens for response; blocking.
nmxact/xact/cmd.go:34
↓ 4 callers
Method
Run
(s sesn.Sesn)
nmxact/xact/echo.go:50
↓ 4 callers
Method
StopNoWait
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 callers
Method
String
()
newtmgr/config/connprofile.go:49
↓ 4 callers
Function
findChr
(profile *ble.Profile, chrId *bledefs.BleChrId)
newtmgr/bll/bll_sesn.go:185
↓ 4 callers
Method
getChr
(chrId *BleChrId)
nmxact/nmble/naked_sesn.go:591
↓ 4 callers
Method
runTask
(fn func() error)
nmxact/nmble/naked_sesn.go:121
↓ 4 callers
Method
servicePrimary
(err error)
nmxact/nmble/master.go:205
↓ 4 callers
Method
setState
(state discovererState)
nmxact/nmble/discover.go:65
↓ 4 callers
Method
txRaw
(bytes []byte)
nmxact/nmserial/serial_xport.go:239
↓ 3 callers
Method
AbortRx
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 callers
Function
AccessStatusXact
(x *BleXport, attStatus uint8, data []byte)
nmxact/nmble/ble_util.go:504
↓ 3 callers
Method
CoapIsTcp
Indicates whether the session uses the TCP form of CoAP.
nmxact/sesn/sesn.go:88
↓ 3 callers
Function
ConnTypeFromString
(s string)
newtmgr/config/connprofile.go:84
↓ 3 callers
Function
DecodeNmpHdr
(data []byte)
nmxact/nmp/nmp.go:87
↓ 3 callers
Method
Dispatch
Returns true if the response was dispatched.
nmxact/nmp/dispatch.go:147
next →
1–100 of 1,290, ranked by callers