Connect Indication Attributes
This section describes the attributes contained in the Connect Indication Message.
Attribute: System Type
The System Type attribute describes the type of the system (e.g. Monitor).
Attribute ID: NOM_ATTR_SYS_TYPE
Attribute Type: TYPE (see Definitions Shared by Protocols)
Attribute Groups: -
Availability: -
Attribute: Protocol Support
The Protocol Support contains an entry for each protocol supported on the network interface.
Attribute ID: NOM_ATTR_PCOL_SUPPORT (查开发手册 NOM_ATTR_PCOL_SUPPORT 的值: 0xF101 )
Attribute Type: ProtoSupport
Attribute Groups: -
Availability: -
The ProtoSupport is defined as follows:
typedef struct {
u_16 count;
u_16 length;
ProtoSupportEntry value[1];
} ProtoSupport;
typedef struct {
ApplProtoId appl_proto;
TransProtoId trans_proto;
u_16 port_number;
ProtoOptions options;
} ProtoSupportEntry;
typedef u_16 ApplProtoId;
#define AP_ID_ACSE 1
#define AP_ID_DATA_OUT 5
typedef u_16 TransProtoId;
#define TP_ID_UDP 1
typedef u_16 ProtoOptions;
#define P_OPT_WIRELESS 0x8000
The Computer Client should parse the available protocols and search for the AP_ID_DATA_OUT.
This entry specifies the port for the Data Export Protocol. The corresponding Association Control
Protocol runs on the same port.
The Computer Client must only send requests to the port specified for the Data Export Protocol.
根据开发手册解析UDP收到的广播消息,广播消息里面含有下一步 数据导出的端口号,我已经分析出相对应的这段内容了 F1 01 00 2C 00 05 00 28 00 01 00 03 5D C0 00 00 00 02 00 03 5D C0 00 00 00 01 00 01 5E 29 00 00 00 05 00 01 5E 29 00 00 00 0A 00 01 5D CC 00 00 F3 5E 00 10 FE 80 00 (查开发手册 NOM_ATTR_PCOL_SUPPORT 的值: 0xF101 省去16进制标志0x就是 F1 01 。结束的 值 P_OPT_WIRELESS 0x8000 对应就是80 00)接下来就是根据上面的开发说明解析这一小段内容了,哪个高手帮我解析一下AP_ID_DATA_OUT的端口号啊