I'm using connman version 1.36 and wpa_supplicant 2.36.

I have a couple of issues with wifi scan and setting static IP address for wlan0 interface, could you please help me resolve this?

1.  When I scan periodically ( every 10seconds), connman hangs up. Is there any configuration in connman or wpa_supplicant that can resolve this?

2.  When the connected wireless network goes out of range or when i power off the wireless router to which I'm connected, wifi scan hangs up. this is the error message that I receive
"Error /net/connman/technology/wifi: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the re."

3. How do I set up a static IP for wlan0 interface?