USB Mobile Broadband Modem on Windows 10 IoT? - raspberry-pi2

Anyone had experience using a USB Mobile Broadband on Windows IoT with the Raspberry Pi2 already?
I have a Huawei datacard in the Windows IoT and appears as HUAWEI Mobile on connected devices but I'm unable to see the device on the wifimanager.htm admin page.
Don't even appear on the Device Manager list. Is this lack of drivers?

I was looking for a solution too, and I have finally found one. I hope the following will help you!
For the record, I used a Vodafone (Huawei) K5150, "officially" supported and Microsoft verified, according to the hardware compatibility list: https://developer.microsoft.com/en-us/windows/iot/win10/supportedinterfaces. The device was recognized and visible on the portal through an hdmi screen. Anyway, the raspberry couldn't get internet access.
Here is what I did to make it work:
install the key on a common laptop and check the internet access. Windows should see it as a cellular connection by the way.
find the xml file generated by Windows and located under C:\ProgramData\Microsoft\WwanSvc\Profiles. This file is called a profile and is used by Windows to characterize every wireless connection it sees. You can of course create yourself this file from scratch, but it's far more complicated/boring. You can also normally do that with the netsh command and the import or dump sub-command, but it doesn't work for broadband devices.
connect your raspberry to your local network and go to \\[name or IP address]\c$. In my case, it was \\minwinpc\c$. There, find a suitable place to copy the xml file, as well as the bmp file next to it, and don't forget to modify its content to point the right path for the icon (the bmp file).
the next step is super tricky, but highly important: you have to find the subscriber ID for your key. The one saved in the xml file is actually a kind of hash and if you don't set the correct value you'll have an error like
Add Profile Failure: Invalid Profile XML.
connect the key to your raspberry and enter a PSSession with PowerShell (details here: https://developer.microsoft.com/en-us/windows/iot/win10/samples/powershell). Then, use this command: netsh mbn show readyinfo interface="Cellular". The correct interface (in my case it's "Cellular") can be retrieved with the command netsh mbn show interfaces (mbn standing for Mobile Broadband I suppose). The subscriber ID, with other useful information, is displayed and you can copy it the to the xml file on your raspberry.
what's left is the actual profile activation, in two parts: add the newly imported profile and tell the raspberry to connect to it. For that, use the commands netsh mbn add profile interface="Cellular" name="profile.xml" and netsh mbn connect interface="Cellular" connmode=name name=ProfileName.
You mobile broadband key should now be activated and the raspberry should automatically connect to it at start.
Here are the few links that helped me a lot:
export the profile: https://www.experts-exchange.com/questions/28324340/Adding-custom-mobile-broadband-profiles-in-Win-7.html
replace the subscriber ID: https://social.technet.microsoft.com/Forums/office/en-US/7c2d6c77-1974-432b-a439-6e58f9306234/receive-add-profile-failure-invalid-profile-xml-error-when-adding-wwan-profile-windows-7?forum=w7itpronetworking
connect to the raspberry to copy the files: https://developer.microsoft.com/en-us/windows/iot/win10/samples/smb

Related

STM32 Virtual COM Port appears as Device in DFU Mode on Windows 10

So, my knowladge in embedded development is quite bad and now I am trying to receive some data from PC inside my MCu STM32F429IGT6 which is on WaveShare Core4X9I dev-board and send it back via USB Virtual COM Port.
I realized how to set up connection from MCu part and I even see connected device from Windows 10 Device Manager but... it appears as STM Device in DFU Mode
I have tryed already to install drivers from ST for such things but they are useless and official documentation says that they are not needed for Windows 10.
I have been following tutorials where guys just clicked several times inside Cube MX, generated code and VCP worked out of the box.
The question is what am I doing wrong? I don`t even know what information you might ask for thats why I created GitHub repo: https://github.com/dessy4oko/stm32f429-vcp-appears-as-dfu
And this is events from Device Manager of Windows 10 (translation from ru lang):
Device USB\VID_0483&PID_DF11\305233703237 is running. code 410
Device USB\VID_0483&PID_DF11\305233703237 is configured. code 400
Device USB\VID_0483&PID_DF11\305233703237 have not been moved due to partial or ambiguous matching. code 442
Device USB\VID_0483&PID_DF11\305233703237 requires further installation. code 430
Thank you for any information about my mistakes.
STM32 starts in DFU mode if BOOT-pins are pulled accordingly:
"System memory" means embedded bootloader, DFU in this case. You need "Main Flash" to run your app.
Check jumpers and switches on your board. Refer also to the AN2606 app note for complete information.

You are not connected replacement in case Internet Explorer seems disconnected

Is there any way to replace the page that is shown if you are not connected to the internet?
A list with tips about network cables, flight mode, access points, routers and mobile devices is presented if I start IE while being disconnected. This list is in my case not very helpful.
I would like to offer a modified checklist, another as the one that is shown to every user.
And I don't want to do this with a default start page, hosted on a webserver on the same device.
Have not found any information about that in IEAK 11.
You can overwrite those pages using the registry: HKLM\Software\Microsoft\Internet Explorer\AboutURLs
You are looking for the OfflineInformation entry (Source)
And I don't want to do this with a default start page, hosted on a webserver on the same device
Just put the html file on the disk and put the filename into the registry key.
See also: https://superuser.com/questions/395137/how-to-replace-internet-explorer-error-pages

Hololens Emulator Networkproblems

I have the Problem that, when I run the app (made with Unity) the emulator says over speakers: "next you neet to sign in with your account you use on this device." This commando comes more often over the speakers...
VS ('15 with Update 3) brings up the ErrorMessage:"The Windows Store-App "nameoftheapp_pzq3xp76mxafg!App" cant be activated. The activation request failed with "Access denied"
I read that the vEthernet(Internal Ethernet Port Microsoft Emulator NAT Switch) must be activated. After the installation it was. But than I have no internet access with VS and Internet Explorer?!?
Further informations I found here: Hololens- Failed to Connect to Device
But in the Hyper-V Manager I can't even find the Emulator...
Could it not work because:
I m not working as administrator and have always to type in the local admin password?
Limited network settings (Firewall,rights) because I'm at the workplace
Didnt look in the BIOS settings like install the tools says?
By the way, on the drives (over USB) it works perfect.
Maybe that helps to my explanation:
enter image description here

Customized channel wifi direct

Can anyone tell me, is there any option to customize wifi direct channels? I need to customize it not only between ch1, ch6 and ch11, but also in another channels selected by me. How can I do that?
In order to change the channel of the Wifi Direct of your device you need to do the following:
1- Root your phone
2- Download any File manager App: Such as ES File Explorer
3- On ES File Explorer, go to Tools, then turn ON the Root Explorer and click on it then mount RW
4- Using ES File Explorer, go to Device -> Data -> Misc -> Wifi -> p2p_supplicant.conf and change the p2p_oper_channel to whatever channel you want.
5- Turn OFF the Wifi of your phone then turn it ON in order for the change to take place.
You should note that in order for the Wifi direct channel to be the one you did set, the phone needs not to be connected to any Access point when the wifi direct connection starts. Also, usually when phone A connects to phone B via wifi direct, the connection is operating on phone B's channel.
Hope this helps

TIA PORTAL v11. Open existing project

I have to use an existing project in STEP7/TIA PORTAL v11 and I have the PLC (CPU 1212C AC/DC/RLY) with the code downloaded inside it which is connected to a touch panel (KTP600 Basic Color PN).
What I want is to download the code from the PLC to my computer to try to modify it, is this posible?
Because I've tried to connect it to my PC and it doesn't detect it. It turns on the ERROR and the MAINT leds in red.
The configuration is over a virtual machine (VMware player with Windows 7) because my PC has Windows 8 installed and it doesn't support TIA PORTAL is there any problem with this?
If program was uploaded with TIA11 it is not good idea to use v13. What is more with other version you need new licence keys.
From your vm ping the plc address if itis in right subnet. Then serch for sccessible nodes. On your picture i see that you should try using 'search all accessible devices'.
Upgrade to version 13 of TIA Portal. This version can run under Windows 8.
Under VMWare you have to change the network settings for your Virtual Machine to bridged. Also install VMWware Tools.
Those are some steps that I would try.
make sure you can ping it from inside your Virtual Machine. It will validate the route to the plc (cable, network config). It’s not a necessary step to connect to a plc, but it’s a good check.
Go to Control Panel on Windows, then PG/PC , then make sure that you have the right Hardware Interface Active
If you still not able to see the PLC, I advise you to to download PRONETA, if it still doesn’t show up there, then the research would have to go deeper. Until today, I’ve only one time in all year when a device have not apeares in Proneta.