[Ovmsdev] New to OVMS development

Info info at zeitnitz.eu
Fri Jan 24 18:38:59 HKT 2025


Hi Michael and Mark,
thanks for your welcome.

Will contact Thomas wrt the Smart EQ features.

Concerning TCPIP: I had only a brief look at the options the 7670 offers 
and to use the tcpip stack on the modem looks rather simple via 
AT+NETOPEN. But I still need to see, what the implications are for the 
rest of the OVMS firmware. Likely there are plenty of side effects ;-)

Best regards
   Christian



Am 24.01.2025 um 00:49 schrieb Mark Webb-Johnson via OvmsDev:
> Christian,
>
> Welcome aboard.
>
> Congratulations getting it working on the Lilygo. I like their 
> products (particularly those with the little OLED displays).
>
> Regarding the cellular code, when you say TCP/IP (not PPP) do you mean 
> that you are using the TCP/IP stack on the modem, and not the IP stack 
> on the ESP32? Using AT+CIPSTART? That is how we used to do it in OVMS 
> v2, but that was because the PIC processor had no IP stack and 
> resources were very tight. I am not sure that nowadays that is the 
> correct approach. What about protocols like mDNS, our web server, etc? 
> All would have to treat Wifi differently to Cellular.
>
> Regards, Mark.
>
>> On 24 Jan 2025, at 3:44 AM, Michael Balzer via OvmsDev 
>> <ovmsdev at lists.openvehicles.com> wrote:
>>
>> Signed PGP part
>> Christian, welcome :-)
>>
>> no idea if we need PPP for additional error detection, as we cannot 
>> use hardware flow control between the ESP32 and the modem on the OVMS 
>> board, or if direct TCP/IP would actually perform better due to less 
>> packet overhead. Mark can better comment on this.
>>
>> Nevertheless, the addition of support for the SIMCOM 7670 certainly 
>> would be valuable, and support for a different hardware base is also 
>> quite interesting.
>>
>> Regarding additions to the Smart EQ adapter, please submit these as 
>> separate pull requests -- I assume they can be merged right away 
>> without taking your low level mods into account.
>>
>> If not yet done, consider contacting the Smart maintainer Thomas 
>> Heuer (@Dimitrie78 on github, also present here on the list) to 
>> coordinate your efforts.
>>
>> Regards,
>> Michael
>>
>>
>> Am 23.01.25 um 12:29 schrieb Info Zeitnitz via OvmsDev:
>>> Hi everyone,
>>> my name is Christian and I started some time ago to adapt the OVMS 
>>> firmware to my hardware.
>>>
>>> The hardware is a Lilygo T-Call A7670E V1.0 board (ESP32 Wrover-E, 
>>> 4G modem Simcom 7670E, 4MB Flash, 8MB PSRAM) mounted on a custom PCB 
>>> providing power, two CAN bus transceivers  and 1 MCP2515. No 
>>> extension chip is implemented.
>>>
>>> I use this to connect to my Smart EQ, which actually needs only a 
>>> single CAN bus.
>>>
>>> I got the firmware going, including the 4G modem and its running 
>>> reasonably stable, even though the Lilygo board has only 4MB of 
>>> Flash (had to disable OTA and some other components). It works with 
>>> both server versions.
>>> This firmware is based on the Version 3.3-004 tagged in the Github 
>>> repo. I had to modify the code to get it working without the 
>>> extension and with the Simcom 7670 module. In addition I added some 
>>> changes from the master branch, especially for the Smart EQ.
>>>
>>> I would be willing to share some of the mods I did to the code and 
>>> contribute to the further development.
>>> Especially the cellular code, which is still utilizing PPP, could 
>>> benefit from an update to TCP/IP. I actually had quite a hard time 
>>> to get the modem going with PPP, since the Simcom 7670 does not 
>>> understand all the used AT-commands.
>>>
>>> So, I hope for a productive collaboration.
>>>
>>> Best regards
>>> Christian
>>>
>>>
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.openvehicles.com
>>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>>
>> --
>> Michael Balzer * Am Rahmen 5 * D-58313 Herdecke
>> Fon 02330 9104094 * Handy 0176 20698926
>>
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.openvehicles.com
>> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20250124/d8ba2f2a/attachment.htm>


More information about the OvmsDev mailing list