AnsweredAssumed Answered

Modem Buffer causing issues/clearing

Question asked by Christopher Burg on Jun 12, 2018
Latest reply on Jun 13, 2018 by Mark Butcher

I am trying to use the Nimbelink CATM1 Skywire modem which uses sequans, with the MK22FN256LH12, however I having a great deal of issues with the generated code from processor expert. I am basically always able to send my packet once, but when I loop back around the pointer to the new rx data is where it left off which makes sense but I want to clear that. I tried Modem_ClearRxBuf(); but this seems poorly written, and just sets a constant to the number of characters in the buffer to 0. The buffer still has junk in it I do not want. Also when I POST data to the modem, if I do not try and read the buffer it just doesn't work. I'm clueless as to why I would need to read my RX buffer.

 

Any suggestions appreciated

Outcomes