Attribute Name Option
The option *kCMOIrDAConnectAttrName
is intended for communications tools (built upon the IrDA tool) that are implementing higher layers of the IrDA stack (IrComm, for example) and want to register their LSAP ids with a different attribute name. This option defines the IAS attribute string for the LSAP selector that is registered or looked up by the communications tool. The default value for the IrDA tool (which is implemented at the IrLMP level) is "IrDA:IrLMP:LsapSel". For example, a communications tool that implements TinyTP would supply a value of "IrDA:TinyTP:LsapSel", per the TinyTP spec.
The fieldslocal option := {
label: kCMOIrDAConnectAttrName
, // IrDA attribute name type: 'option, opCode: opSetRequired, data: { arglist: [ 19, // length of data; strlen("IrDA:TinyTP:LsapSel") "IrDA:TinyTP:LsapSel", // data string ], typelist: [ 'struct,'uLong, // fNameLength
; default is 0['array, 'char, 0], // fName
], }, };
fNameLength
andfName
are used together to describe the LSAP id attribute name registered forListen
/Connect
or looked up forConnect
operations.
![]()
![]()
![]()
![]()
© Apple Computer, Inc.
26 APR 1997Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help