aport commented on pull request #1233: URL: https://github.com/apache/incubator-nuttx/pull/1233#issuecomment-643856540
The easiest thing to do is probably pick up a mini-pcie to USB board similar to this one https://www.amazon.com/Adapter-Express-Converter-Support-Wireless/dp/B07FJXNLLT/ref=sr_1_1?dchild=1&keywords=mpcie+to+usb&qid=1592183911&sr=8-1 Then you can find a cheap module that supports the bands you need in your location. Almost every LTE module will support MBIM. From what I have seen, most mini-pcie modules will be in QMI mode out of the box and need to be switched into MBIM mode using a vendor-specific AT command. The setting is stored in nvram so you just need to do it once. Every m.2 LTE card I have seen is in MBIM mode out of the box. Quectel devices seem to be affordable and available on ebay etc. This code was tested using a Quectel EP06. Also one final note, if you are testing this code using the STM32 FS or HS host controller (or one with the same IP), I think there is still one remaining bug in the host driver that will cause problems for this kind of device. The bug is related to the interpretation of a NAK as a zero-length packet when the amount of data transferred is a multiple of the endpoint size. I have a patch but again, the code is probably not correct. I will pass it to Alan for review. I would recommend testing this driver on a target with a real EHCI controller first. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org