espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
143 stars 86 forks source link

How to use all 4 Lines of a SIMCOM A7672E-FASE (IEC-74) #284

Closed diplfranzhoepfinger closed 6 months ago

diplfranzhoepfinger commented 8 months ago

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

tore-espressif commented 8 months ago

Hi @diplfranzhoepfinger thanks for issue.

Here's some information that might help you getting started:

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!

diplfranzhoepfinger commented 8 months ago

@tore-espressif 

Thanks, we will have a Look.

tore-espressif commented 6 months ago

@diplfranzhoepfinger Do you any any other inputs on this or can we close?

rinstrum-franz commented 2 months ago

@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.