-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPDU library. #1
Comments
Gosh, no, I completely missed that one. |
Indeed, a bit of oversight on my part. |
You can try use stream = at.Stream(SELF)
stream:on_command(function(self, cmd)
-- write cmd to serial port
end)
command = at.Commander(stream)
-- proceed URC data (sms, call, boot)
command:on_urc(function(self, err, ....) ... end)
-- execute command
command:ATZ(function(self, err, res) ... end)
-- proceed data from port
data = read_from_sereal_port()
stream:append(data)
stream:execute() |
Did you see my lua-tpdu library.
It low-level encoder/decoder wich also support multi-part sms.
It does not provide any object just encode/decode from/to Lua table.
This library was written to lluv-gsmmodem library.
The text was updated successfully, but these errors were encountered: