Hello friends,
I've started to write some tutorials
about programming Linux IrDA. Among
socket leak reported few days ago,
I observed some issues in IAS.
The good is that you can set/get objects
with attributes in local IAS.
But:
1) when an already object:attribute exist
and you want to set it, EINVAL is returned.
Just as struct irda_ias_set is bad constructed.
Applications can be confused.
2) There is no way to change object:attribute
pairs which already exits.
3) There is no way to remove
objects and/or attributes.
4) Altough object names can be duplicate,
because there's no interface in
irda_getsockopt() from af_irda.c
to refer objects by ID, nothing can e do
for a case like:
name: Hello, id=3954513
- Attribute name: "IrDA:TinyTP:LsapSel", value[IAS_INTEGER]: 17
name: Hello, id=3289627
- Attribute name: "MyOctetSeq", value[IAS_OCT_SEQ]: octet sequence
- Attribute name: "MyNumber", value[IAS_INTEGER]: 123
- Attribute name: "MyString", value[IAS_STRING]: "This is an example"
kind regards,
--
Claudiu Costin
<[EMAIL PROTECTED]>
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda