Versions in this module Expand all Collapse all v1 v1.0.2 Oct 3, 2023 v1.0.1 Oct 3, 2023 Changes in this version + func EncodeMgmt(s sesn.Sesn, m *nmp.NmpMsg) ([]byte, error) + type Transceiver struct + func NewTransceiver(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter, isTcp bool, ...) (*Transceiver, error) + func (t *Transceiver) AbortRx(seq uint8) + func (t *Transceiver) DispatchCoap(data []byte) + func (t *Transceiver) DispatchNmpRsp(data []byte) + func (t *Transceiver) ErrorAll(err error) + func (t *Transceiver) ErrorOne(seq uint8, err error) + func (t *Transceiver) Filters() (nmcoap.TxMsgFilter, nmcoap.RxMsgFilter) + func (t *Transceiver) ListenCoap(mc nmcoap.MsgCriteria) (*nmcoap.Listener, error) + func (t *Transceiver) MgmtProto() sesn.MgmtProto + func (t *Transceiver) ProcessCoapReq(data []byte) (coap.Message, error) + func (t *Transceiver) SetFilters(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter) + func (t *Transceiver) Stop() + func (t *Transceiver) StopListenCoap(mc nmcoap.MsgCriteria) + func (t *Transceiver) TxCoap(txCb TxFn, req coap.Message, mtu int) error + func (t *Transceiver) TxRxMgmt(txCb TxFn, req *nmp.NmpMsg, mtu int, timeout time.Duration) (nmp.NmpRsp, error) + func (t *Transceiver) TxRxMgmtAsync(txCb TxFn, req *nmp.NmpMsg, mtu int, timeout time.Duration, ch chan nmp.NmpRsp, ...) error + type TxFn func(req []byte) error