That explains why adding to the end of of the array messed things up. I guess I could add to the beginning of the array and not have the problem. I might experiment and change it to Arraylist and also change the assumption.
Thanks, -nxn On Jan 16, 3:01 pm, Thanasis <[email protected]> wrote: > No, no particular reason. > > Although the lib makes an assumption (not very elegant, I know): the > last 4 entries in the Terminators array are unsolicited responses, > whereas the top ones are "expected" responses. > See AModemDriver.java, line 348. > > On Jan 16, 10:10 pm, nxnlvz <[email protected]> wrote: > > > T, > > > Is there any particular reason you used an array for the Terminators > > and unsolicitedResponses instead of some other type of collection? > > Just curious as I am extending the ATHandler to be specific for a > > couple of the Huawei Modems. > > > -N
-- You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
