Sorry for the late response. We tested your demo on our device.
For the first issue, sorry to say that we didn't successfully reproduce it. We see the "Bind sucess" message on the logs in every test (fifteen times). However, maybe you could set the Execution Order to avoid this issue:
For the second issue, you need to add the following function that ensure correct invocation of callbacks:
private void BoolCallback(string value)
if (PXR_Plugin.System.BoolCallback != null) PXR_Plugin.System.BoolCallback(bool.Parse(value));
PXR_Plugin.System.BoolCallback = null;
private void IntCallback(string value)
if (PXR_Plugin.System.IntCallback != null) PXR_Plugin.System.IntCallback(int.Parse(value));
PXR_Plugin.System.IntCallback = null;
private void LongCallback(string value)
if (PXR_Plugin.System.LongCallback != null) PXR_Plugin.System.LongCallback(int.Parse(value));
PXR_Plugin.System.LongCallback = null;
private void StringCallback(string value)
if (PXR_Plugin.System.StringCallback != null) PXR_Plugin.System.StringCallback(value);
PXR_Plugin.System.StringCallback = null;
Especially the BoolCallback according to your needs.
However, according to our tests, the callback can be called normally when the wifi connection is successful. But sorry to say that when the wifi connection fails (for example , the wrong password) , the callback is not called successfully. We have reported this issue to our R&D team. And we will categorize this issue as a "Issue Tracker" and will keep tracking it. Sorry for the inconvenience.