tass-belgium / picotcp

PicoTCP is a free TCP/IP stack implementation
Other
1.18k stars 219 forks source link

Bug to picotcp - PPP, ACCM(Async-Control-Character-Map RFC 1662) #413

Open gitsgot opened 8 years ago

gitsgot commented 8 years ago

Hi !

I'm found bug to picotcp - PPP. Stack ignores the ACCM(Async-Control-Character-Map RFC 1662) option.

I'm create test prj for Linux debian ttySx + modem wavecom q2406b. Test(ping is OK). I attach the log "wavecom_q2406b_test_ok.log".

I'm create test prj stm32f407 + sim800c + picotcp(PPP). Test(ping is FAIL). I attach the log "stm32f407_sim800c_error.log".

stm32f407_sim800c_error.txt wavecom_q2406b_test_ok.txt

frederikvs commented 8 years ago

Thanks for reporting this.

Unfortunately, a number of options are currently not supported for PPP. The implementation of PPP was done for a specific project, and only the options needed for that project were implemented at that time. Afterwards, a number of improvements have been made to the options, but we haven't found the time to implement everything yet.

Is there a specific project you need this option for? If there is, maybe we can move this up a little higher in priority. At this point I can't make any hard promises on when it'll be finished though...

gitsgot commented 8 years ago

Hi ! The current project has to transmit telemetry via GPRS modem to the server. Picotcp considered to be a candidate. Before application was successful attempt to run on the PC (linux debian) + comport + modem wavecom (q2406b).

When you start to picotcp: stm32f407 + sim800s problems were found that do not allow the use of the stack. ; (

I understand that changes take time. Ready to help in testing, on my boards.

ps. PPP protocol must be operable with any modem, otherwise it does not make sense!

phalox commented 8 years ago

Hi @gitsgot, is this project an open source one? Or are you prototyping for a (proprietary) product? Could you send us your contact details to info@picotcp.com. We'd be happy to listen to your needs and see how we can help you. Do you have an overview of the options required for this other modem?

ps. You're quite right. But we have to make choices too as there's so much to do. Therefore we choose to start from something usable for a use case, and then further extend when the need arises. I understand that it might be quite annoying when it suddenly does not work. But it's very well possible that this option is not that much work to implement.

Edited to comply with License Zealot vocabulary