I'm trying to set up tethering on Windows 10 IOT using a Raspberry Pi 3 and a Huawei K5160.
Following instructions here:
USB Mobile Broadband Modem on Windows 10 IoT?
and
I've set up the modem and it seems to work fine except for tethering.
The connection doesn't show in the tethering setup page on the web interface and if I run the following:
var lteProfile = NetworkInformation.GetConnectionProfiles().FirstOrDefault(p => p.NetworkAdapter.IanaInterfaceType == 243);
var capability = NetworkOperatorTetheringManager.GetTetheringCapabilityFromConnectionProfile(lteProfile);
Using the same modem with the same SIM card, on the desktop capability is set to "Enabled", but on IOT it's "DisabledByOperator". I've confirmed with the operator that tethering is enabled.
My only thought it is that this difference is either something to do with the fact that on the desktop the connection profile is somehow created automatically whereas on IOT I had to copy the profile from the desktop... or it's a bug in IOT but I've tried a few different builds with no difference.
I've spent a number of hours trawling through documentation on the profile XML format and netsh mbn but there doesn't seem to be anything there which could affect the tethering state, plus as far as I can tell, DisabledByOperator should be based on a flag from the Operator...
Edit:
For further clarity, I have set the SubscriberID as per the above instructions before copying the XML to my IOT device and the modem connects correctly and obtains an IP address on the IOT device, so the profile must be correct (at least correct enough for standard use!). The only thing which doesn't seem to work is tethering...