Documentation ¶
Index ¶
- Constants
- func Listen(peerString string, dispatchCb func(data []byte)) (*net.UDPConn, *net.UDPAddr, error)
- type UdpSesn
- func (s *UdpSesn) AbortRx(seq uint8) error
- func (s *UdpSesn) Close() error
- func (s *UdpSesn) CoapIsTcp() bool
- func (s *UdpSesn) Filters() (nmcoap.TxMsgFilter, nmcoap.RxMsgFilter)
- func (s *UdpSesn) IsOpen() bool
- func (s *UdpSesn) ListenCoap(mc nmcoap.MsgCriteria) (*nmcoap.Listener, error)
- func (s *UdpSesn) MgmtProto() sesn.MgmtProto
- func (s *UdpSesn) MtuIn() int
- func (s *UdpSesn) MtuOut() int
- func (s *UdpSesn) Open() error
- func (s *UdpSesn) RxAccept() (sesn.Sesn, *sesn.SesnCfg, error)
- func (s *UdpSesn) RxCoap(opt sesn.TxOptions) (coap.Message, error)
- func (s *UdpSesn) SetFilters(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter)
- func (s *UdpSesn) StopListenCoap(mc nmcoap.MsgCriteria)
- func (s *UdpSesn) TxCoap(m coap.Message) error
- func (s *UdpSesn) TxRxMgmt(m *nmp.NmpMsg, timeout time.Duration) (nmp.NmpRsp, error)
- func (s *UdpSesn) TxRxMgmtAsync(m *nmp.NmpMsg, timeout time.Duration, ch chan nmp.NmpRsp, errc chan error) error
- type UdpXport
Constants ¶
View Source
const MAX_PACKET_SIZE = 2048
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UdpSesn ¶
type UdpSesn struct {
// contains filtered or unexported fields
}
func (*UdpSesn) Filters ¶
func (s *UdpSesn) Filters() (nmcoap.TxMsgFilter, nmcoap.RxMsgFilter)
func (*UdpSesn) ListenCoap ¶
func (*UdpSesn) SetFilters ¶
func (s *UdpSesn) SetFilters(txFilter nmcoap.TxMsgFilter, rxFilter nmcoap.RxMsgFilter)
func (*UdpSesn) StopListenCoap ¶
func (s *UdpSesn) StopListenCoap(mc nmcoap.MsgCriteria)
type UdpXport ¶
type UdpXport struct {
// contains filtered or unexported fields
}
func NewUdpXport ¶
func NewUdpXport() *UdpXport
Click to show internal directories.
Click to hide internal directories.