MaJerle / lwcell

Lightweight cellular modem host AT library
MIT License
402 stars 152 forks source link

How difficult to change this middleware for Quectel modem? #45

Open xiongyu0523 opened 3 years ago

xiongyu0523 commented 3 years ago

I understand this lib is intended to be used with SIMCOM modem. Is it easy to port to use with a different modem like quectel?

MaJerle commented 3 years ago

I was hoping that I could make it easily to port, but in reality this means change of all AT command calls, parsing of all responses. Only high-level API calls would be the same. In reality, work load would be almost the same as keeping and maintaining 2 libraries.

Almost all lwgsm_int.c file would need to be rewritten + header files for commands.

xiongyu0523 commented 3 years ago

Thanks all. @MaJerle That sounds a lot work to do. But I guess there is no structure level thing need to be changed. right? @yldzmuhammed, yes please, could you make it open source?