THETA X Plugin Development - connect with wifi and share AP using QR code

developing theta plugin currently device is 2.61.0 and new update got system share AP and connect WIFI using QR how to use in plugin

Using the WebAPI in the camera plug-in, you can get the serial number of the camera with info.

https://github.com/ricohapi/theta-api-specs/blob/main/ricoh-theta-plugin/web-api.md

To use the WebAPI, you must open the resource

https://github.com/ricohapi/theta-api-specs/blob/main/ricoh-theta-plugin/broadcast-intent.md/#ricoh-theta-x-1

and then close the resource when not in use.

sendBroadcast(new Intent("com.theta360.plugin.ACTION_PLUGIN_WEBAPI_CAMERA_CLOSE"));

with the web api the serialNumber is a parameter

https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/protocols/info.md

_accessInfo has information on the WiFi connection

https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/options/_access_info.md

On the THETA X, you can also set the networktype

https://github.com/ricohapi/theta-api-specs/blob/main/theta-web-api-v2.1/options/_network_type.md

To make the actual QR code, I do not have experience, but this library looks like it may work.


Note that I do not work for RICOH. This is not a recommendation on the process from RICOH. This is an independent developer community of peers.

However, RICOH does sponsor this forum and I have contact with people who work at RICOH. I will also check to see if they have any advice.