mbgtools-lx  4.2.8
User Captures via Network

Data Structures

struct  MBG_UCAP_NET_GLB_SETTINGS
 Global settings for user captures via network. More...
 
struct  MBG_UCAP_NET_GLB_INFO
 Global settings, features and flags for user captures via network. More...
 
struct  MBG_UCAP_NET_RECV_SETTINGS
 Settings for receivers of user captures via network. More...
 
struct  MBG_UCAP_NET_RECV_SETTINGS_IDX
 Settings for receivers of user captures via network. More...
 
struct  MBG_UCAP_NET_RECV_INFO
 Settings, features and flags for receivers of user captures via network. More...
 
struct  MBG_UCAP_NET_RECV_INFO_IDX
 Settings, features and flags for receivers of user captures via network. More...
 

Macros

#define MBG_UCAP_NET_DEFAULT_UDP_PORT   50815
 
#define _mbg_swab_ucap_net_glb_settings(_p)
 
#define _mbg_swab_ucap_net_glb_info(_p)
 
#define _mbg_swab_ucap_net_recv_settings(_p)
 
#define _mbg_swab_ucap_net_recv_settings_idx(_p)
 
#define _mbg_swab_ucap_net_recv_info(_p)
 
#define _mbg_swab_ucap_net_recv_info_idx(_p)
 

Enumerations

enum  MBG_UCAP_NET_TRANSF_MODE { MBG_UCAP_NET_TRANSF_MODE_UNKNOWN, MBG_UCAP_NET_TRANSF_MODE_ON_REQ, MBG_UCAP_NET_TRANSF_MODE_AUTO, N_MBG_UCAP_NET_TRANSF_MODES }
 Transfer mode for user captures via network. More...
 
enum  MBG_UCAP_NET_TRANSF_MODE_MASKS { MBG_UCAP_NET_TRANSF_MODE_MASK_UNKNOWN = ( 1UL << MBG_UCAP_NET_TRANSF_MODE_UNKNOWN ), MBG_UCAP_NET_TRANSF_MODE_MASK_ON_REQ = ( 1UL << MBG_UCAP_NET_TRANSF_MODE_ON_REQ ), MBG_UCAP_NET_TRANSF_MODE_MASK_AUTO = ( 1UL << MBG_UCAP_NET_TRANSF_MODE_AUTO ) }
 Masks for transfer mode used with MBG_UCAP_NET_GLB_INFO::supp_modes. More...
 
enum  MBG_UCAP_NET_TRANSF_PROTO { MBG_UCAP_NET_TRANSF_PROTO_UNKNOWN, MBG_UCAP_NET_TRANSF_PROTO_UDP, N_MBG_UCAP_NET_TRANSF_PROTOS }
 Transfer protocol for user captures via network. More...
 
enum  MBG_UCAP_NET_TRANSF_PROTO_MASKS { MBG_UCAP_NET_TRANSF_PROTO_MASK_UNKNOWN = ( 1UL << MBG_UCAP_NET_TRANSF_PROTO_UNKNOWN ), MBG_UCAP_NET_TRANSF_PROTO_MASK_UDP = ( 1UL << MBG_UCAP_NET_TRANSF_PROTO_UDP ) }
 Masks for transfer protocol used with MBG_UCAP_NET_GLB_INFO::supp_protos. More...
 
enum  MBG_UCAP_NET_SUPP_FLAGS { MBG_UCAP_NET_SUPP_FLAG_IPV6, N_MBG_UCAP_NET_SUPP_FLAGS }
 Supported flags for user captures via network. More...
 
enum  MBG_UCAP_NET_SUPP_FLAG_MASKS { MBG_UCAP_NET_SUPP_FLAG_MASK_IPV6 = ( 1UL << MBG_UCAP_NET_SUPP_FLAG_IPV6 ) }
 Masks for supported flags used with MBG_UCAP_NET_GLB_INFO::supp_flags. More...
 

Detailed Description

Note
Group for the user capture via network feature Only supported if MBG_XFEATURE_UCAP_NET is set in extended features Corresponding GPS commands are GPS_UCAP_NET_GLB_INFO and GPS_UCAP_NET_RECV_INFO_IDX

Macro Definition Documentation

◆ _mbg_swab_ucap_net_glb_info

#define _mbg_swab_ucap_net_glb_info (   _p)
Value:
do \
{ \
_mbg_swab_ucap_net_glb_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->n_supp_recvs ); \
_mbg_swab32( &(_p)->supp_modes ); \
_mbg_swab32( &(_p)->supp_protos ); \
_mbg_swab32( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->supp_flags ); \
} while ( 0 )

Definition at line 12507 of file gpsdefs.h.

Referenced by mbgextio_get_ucap_net_glb_info().

◆ _mbg_swab_ucap_net_glb_settings

#define _mbg_swab_ucap_net_glb_settings (   _p)
Value:
do \
{ \
_mbg_swab32( &(_p)->num_recvs ); \
_mbg_swab32( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
} while ( 0 )

Definition at line 12476 of file gpsdefs.h.

Referenced by mbgextio_set_ucap_net_glb_settings().

◆ _mbg_swab_ucap_net_recv_info

#define _mbg_swab_ucap_net_recv_info (   _p)
Value:
do \
{ \
_mbg_swab_ucap_net_recv_settings( &(_p)->settings ); \
_mbg_swab32( &(_p)->reserved_0 ); \
_mbg_swab32( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->reserved_3 ); \
} while ( 0 )

Definition at line 12592 of file gpsdefs.h.

◆ _mbg_swab_ucap_net_recv_info_idx

#define _mbg_swab_ucap_net_recv_info_idx (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->idx ); \
_mbg_swab_ucap_net_recv_info( &(_p)->info ); \
} while ( 0 )

Definition at line 12621 of file gpsdefs.h.

Referenced by mbgextio_get_ucap_net_recv_info_idx().

◆ _mbg_swab_ucap_net_recv_settings

#define _mbg_swab_ucap_net_recv_settings (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->reserved_1 ); \
_mbg_swab32( &(_p)->reserved_2 ); \
_mbg_swab32( &(_p)->reserved_3 ); \
_mbg_swab32( &(_p)->ucaps ); \
_mbg_swab_ip_addr_port( &(_p)->addr ); \
} while ( 0 )

Definition at line 12539 of file gpsdefs.h.

◆ _mbg_swab_ucap_net_recv_settings_idx

#define _mbg_swab_ucap_net_recv_settings_idx (   _p)
Value:
do \
{ \
_mbg_swab16( &(_p)->idx ); \
_mbg_swab_ucap_net_recv_settings( &(_p)->settings ); \
} while ( 0 )

Definition at line 12568 of file gpsdefs.h.

Referenced by mbgextio_set_ucap_net_recv_settings_idx().

◆ MBG_UCAP_NET_DEFAULT_UDP_PORT

#define MBG_UCAP_NET_DEFAULT_UDP_PORT   50815

Definition at line 12377 of file gpsdefs.h.

Enumeration Type Documentation

◆ MBG_UCAP_NET_SUPP_FLAG_MASKS

Masks for supported flags used with MBG_UCAP_NET_GLB_INFO::supp_flags.

See also
MBG_UCAP_NET_TRANSF_PROTO
Enumerator
MBG_UCAP_NET_SUPP_FLAG_MASK_IPV6 

see MBG_UCAP_NET_SUPP_FLAG_IPV6

Definition at line 12454 of file gpsdefs.h.

◆ MBG_UCAP_NET_SUPP_FLAGS

Supported flags for user captures via network.

See also
MBG_UCAP_NET_SUPP_FLAG_MASKS
Enumerator
MBG_UCAP_NET_SUPP_FLAG_IPV6 
N_MBG_UCAP_NET_SUPP_FLAGS 

Definition at line 12442 of file gpsdefs.h.

◆ MBG_UCAP_NET_TRANSF_MODE

Transfer mode for user captures via network.

See also
MBG_UCAP_NET_TRANSF_MODE_MASKS

Used with MBG_UCAP_NET_RECV_SETTINGS::mode

Enumerator
MBG_UCAP_NET_TRANSF_MODE_UNKNOWN 

Unknown transfer mode.

MBG_UCAP_NET_TRANSF_MODE_ON_REQ 

User captures will be transferred on request only.

MBG_UCAP_NET_TRANSF_MODE_AUTO 

User captures are being transferred automatically.

N_MBG_UCAP_NET_TRANSF_MODES 

Definition at line 12386 of file gpsdefs.h.

◆ MBG_UCAP_NET_TRANSF_MODE_MASKS

Masks for transfer mode used with MBG_UCAP_NET_GLB_INFO::supp_modes.

See also
MBG_UCAP_NET_TRANSF_MODE
Enumerator
MBG_UCAP_NET_TRANSF_MODE_MASK_UNKNOWN 

see MBG_UCAP_NET_TRANSF_MODE_UNKNOWN

MBG_UCAP_NET_TRANSF_MODE_MASK_ON_REQ 

see MBG_UCAP_NET_TRANSF_MODE_ON_REQ

MBG_UCAP_NET_TRANSF_MODE_MASK_AUTO 

see MBG_UCAP_NET_TRANSF_MODE_AUTO

Definition at line 12400 of file gpsdefs.h.

◆ MBG_UCAP_NET_TRANSF_PROTO

Transfer protocol for user captures via network.

See also
MBG_UCAP_NET_TRANSF_PROTO_MASKS

Used with MBG_UCAP_NET_RECV_SETTINGS::proto

Enumerator
MBG_UCAP_NET_TRANSF_PROTO_UNKNOWN 

Unknown transfer mode.

MBG_UCAP_NET_TRANSF_PROTO_UDP 

User captures are transferred via UDP.

N_MBG_UCAP_NET_TRANSF_PROTOS 

Definition at line 12416 of file gpsdefs.h.

◆ MBG_UCAP_NET_TRANSF_PROTO_MASKS

Masks for transfer protocol used with MBG_UCAP_NET_GLB_INFO::supp_protos.

See also
MBG_UCAP_NET_TRANSF_PROTO
Enumerator
MBG_UCAP_NET_TRANSF_PROTO_MASK_UNKNOWN 

see MBG_UCAP_NET_TRANSF_PROTO_UNKNOWN

MBG_UCAP_NET_TRANSF_PROTO_MASK_UDP 

see MBG_UCAP_NET_TRANSF_PROTO_UDP

Definition at line 12429 of file gpsdefs.h.