Has anyone tried returning the SSID field from a Connman Agent with success recently? I thought the SSID was to be encoded an array of bytes in order to allow non printable characters in a hidden network, so I’ve written my agent to do this.
When the agent runs, a series of validations are performed at line 143 of connman-agent.c. The second check fails, as it finds a DBUS_TYPE_ARRAY instead of a variant. The check for an element type of DBUS_TYPE_VARIANT for the fixed array, also doesnt seem quite right. I have a patch that accepts the array of bytes by tweaking these validations and also recursing into the array before calling the array getter. Happy to submit, but wanted to check and make sure I haven’t misunderstood how we should be storing the SSID in the result dictionary. Thanks, Adam Statement of Confidentiality The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or at 508.683.2500 and delete this message and its attachments, if any. _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
