-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of USB PPPoS + USB AT command integration (AEGHB-71) #222
Comments
yes mostly is it natively thread safe? |
@abhi-ratnman Yes using same USB port with two modes is possible. For some modems with only one modem interface(support AT+PPP), you need to using command like While some modems support both modem interface and a secondary AT interface, you can using AT and PPP at the same time. |
@leeebo we're using sim7672x module. So it is supported by the example |
Is usb cdc host library thread safe? We are most probably sending the commands from different threads. |
USB CDC host library is thread-safe, but |
@leeebo Thanks for quick reply! |
@leeebo Thanks for the help!! Could you give the example, how to route the at commands to the secondary AT interface, say endpoints are IN 0x82 and out 0x0C for secondary at interface |
hi @leeebo any update? |
@abhi-ratnman @ankit-thealchemist For the new iot_usbh_modem driver, you can config it through menuconfig https://github.com/espressif/esp-iot-solution/blob/master/components/usb/iot_usbh_modem/Kconfig#L77 |
Hello, I have tested both the PPPoS over USB and AT commands over USB using the examples provided. Now i wanted to ask that, if i want to do both using the same USB port is it possible? What are the thing i will need to take care while integration of both? Do i need to turn off the data mode of PPPoS before sending AT commands?
Also are both the examples thread safe?
@leeebo your support will be highly appreciated
The text was updated successfully, but these errors were encountered: