Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to use WiFi management API

  • 1 reply
  • 4 have this problem
  • 1 view
  • Last reply by guigs

more options

Hi

My application on FF OS needs to configure SSA settings. For this I need to invoke WiFi management API provided by Mozilla. When I try to execute in my code I am getting error "Undefined Error ". Please refer the attached screenshot. Maybe i am not calling it correctly. Kindly help me out.

Regards Rashmi

Hi My application on FF OS needs to configure SSA settings. For this I need to invoke WiFi management API provided by Mozilla. When I try to execute in my code I am getting error "Undefined Error ". Please refer the attached screenshot. Maybe i am not calling it correctly. Kindly help me out. Regards Rashmi
Attached screenshots

All Replies (1)

more options

That is for internal applications only: https://developer.mozilla.org/en-US/d.../mozWifiManager

What this means: you need to include a permissions request in your manifest. " For prompt permissions, the user is prompted the first time the user accesses the related API, and has to make a choice prior to the API being granted."

However since this is internal only, this call is not available to developers. I do not know when this will become available.

If this does not sound right, as I am getting my information from the MDN please ask in stackoverflow.com. Other Firefox OS developers and engineers also answer questions there.