Closed diplfranzhoepfinger closed 6 months ago
Hi @diplfranzhoepfinger thanks for issue.
Here's some information that might help you getting started:
esp_modem
. cc @david-cermak esp_err_t cdc_acm_host_open_vendor_specific(uint16_t vid, uint16_t pid, uint8_t interface_num, const cdc_acm_host_device_config_t *dev_config, cdc_acm_dev_hdl_t *cdc_hdl_ret);
relevant example is here https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/cdc/cdc_acm_host
https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/cdc/cdc_acm_vcp seems not to help, as it does tooo much Driver stuff and all this, we have already a lot inside the above Example.
This is not the first time that this example confused someone, I'll try to describe better what is this example for. Thanks for the feedback!
@tore-espressif
Thanks, we will have a Look.
@diplfranzhoepfinger Do you any any other inputs on this or can we close?
@tore-espressif i did try, but it chrashes.
i need to deep into this again. Sorry for slow feedback so far.
i will reopen this issue once i go back into it.
Hello,
@david-cermak @igrr @others
the Example: https://github.com/espressif/esp-protocols/tree/master/components/esp_modem/examples/pppos_client
we use this Line: https://github.com/espressif/idf-extra-components/blob/86fab3ed9299d09173a5e98fd216aed14f14b6c7/usb/esp_modem_usb_dte/include/esp_modem_usb_config.h#L75
to access Interface 4 and 5 of the SIMCOM A6772-FASE.
it would be interesting to use also Interface 1 and 3 (guessed Numbers, but possible to find out):
1 is for the DIAG Server, if we have Problems to Report to SIMCOM we can take Modem Traces there,
3 is for the NMEA Port.
what to do to access the Other Ports as well ?
https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/cdc/cdc_acm_vcp seems not to help, as it does tooo much Driver stuff and all this, we have already a lot inside the above Example.
Thanks,
Franz