Internet for Raspberry Pi 3 running on Android Things via a GSM modem - gsm

Has anyone figured a way of installing PPPD or something similar in order to have an active internet connection via a GSM modem on a Raspberry Pi 3 running on Android Things DP5?
Thank you!

Seems DP5 of Android Things still didn't support Internet connections via USB modem dongles (and it's impossible to add support manually, because as in this answer of Blundell described: the source code is not available for Developer Preview). But You can use UART and AT commands like AT+SAPBR.

Related

Peripheral devices connection (COM connection) problem with Win 11

After upgrading to Windows 11 I realize that there is no COM-Port to connect to, as it has become legacy software. And now I cannot find my device connecting through a USB port anymore
As I try to install the driver again, there was errors. Seems like some software to install driver is missing. It also said that even if the driver is installed, they might not be installed correctly.
And now when I try to connect my device and use pyserial on it it can not recognize any ports free to use. When I connect my device, it seems that they don't appear at Ports(COM and LPT) anymore, but instead in in Universal Serial Bus Controller. Still pyserial have problem to find available COM and my peripheral devices also cannot be found(As I think they often try to find COM port to connect to) What can I do to solve this? Please specify any clarification if you find my question somewhat misleading. Thank you in advance and have a great week!

Macbook does not show USB port to my Arduino Portenta H7

I recently got an Arduino board (Portenta H7). I would like to load programs with the arduino ide on the controller, which has worked well so far. Since this morning it no longer works, because the usb port is no longer recognized. I have already changed the cable and also reinstalled the drivers.
When i connect the board to the Mac the previously loaded program is played.
Does anyone know what could be the reason for this ?
thank you very much.
Hi I think I found the solution working for me.
I use D-link USB-C to USB HMI and Ethernet hub, connect normal USB to USB-C wire and it connected to the MacBook and Arduino IDE is able to program it :-)
I think with other USB hub will also work.
Jacob

Nuvoton NUC120 Communication via Build in USB

I just bough NUC120, and there is nothing less than expected. What sparked my interest is, as stated on page 17-18 on the datasheet, It able to do UART communication. So far, I only use the USB port to uploading the firmware via ISP using NuMicro ISP Programming Tools. I've noticed (correct me if I'm wrong) that its the same concept with Arduino boards, where the USB port can be used to both programming and communication. I have do my research for several days, but still can't find how to do serial communication between Nuvoton and PC, since when I do programming using NuMicro, I use "USB" connection type, and on my PC, there is no COM PORT listed.
My question, Is it possible to do serial communication via Nuvoton USB port? If its possible, can you please point me where to look?
Thanks in advance. Please tell if I should add more details about this question.
You can find the examples in the BSP documentation. Look for samples of USBD_VCOM. To be able to communicate with your PC, you have to install the driver of Virtual COM manually

How to use the USB OTG on an embedded system as an serial port?

I searched and found similar quesiton:
How to enable serial port on the raspberrypi zero USB OTG port?
with no answer yet.
In my case it's not raspberry, it's an IFC6410 board.
I flashed the board with Linaro linux image provided by the vendor. I could use ethernet cable and ssh to communicate with the card. However, it is not very stable. I suspect there is something wrong with the network driver. Also, there are some other reasons for me to look for a way to communicate with the embedded system through a serial terminal, like ADB. However, looks like ADB is no longer an option on the ubuntu linux. I understand that with some "hardware" work, I should be able to use the 3-pin RS232 on board. But I look for something simpler or "softer"
So my question is: is there a "simple software way" to make use of the USB OTG as a serial communication terminal? I made some research but don't think I am heading the right direction. Is there a common way that people doing this or it's just too complicated and not worth to do it?
The vendor also had an android image for this board which you can use adb through this usb otg to talk to the embedded. I don't know if linaro linux also have similar way?
It turns out that there is a tool called adbd.
I ran
apt-get install android-tools-adbd on my ifc6410 board
and modify /etc/init/android-tools-adbd.conf to board specific info makes the adb works. Now I can adb into my board.
include start android-tools-adbd at /etc/rc.local of the board makes it start when boot.

Virtual com communications with no usb2uart bridge?

I'd like to connect a beagleboard-like (custom developed) omap board to a Windows PC using a virtual-com setup. That is, i'd like the board to appear to Windows as a com device and get the COM to send data to our application on the board. The main reason for that is to use virtual-com drivers on windows, since the usb drivers we use now to directly sent data over usb between the host and the board seem not to work properly.
I have done this using the FTDI driver on the past but as far as i know it worked because the device had an FTDI chip that translated the usb protocol to serial signals (am i right ?).If there's no USB to UART bridge on the board, how could i do that ?
By the way, how USB Communication Device Classes fits here ? Should develop a CDC driver for the board ? What should I use then on Windows side ?
I'm kind of confused, so any help will be greatly appreciated :)
Well, i answer myself :)
The solution lies in the Linux USB Gadget Subsystem.
Gadget API

Resources