Commit Graph

9 Commits (7a5017fd17e14085257a6317c1d2e4c40bf14f39)

Author SHA1 Message Date
Daniel Barlow d795d5a4a1 whitespace and function reordering 2022-09-16 22:00:14 +01:00
Daniel Barlow 5f71c2158f delete redundant crlf 2022-09-16 22:00:14 +01:00
Daniel Barlow 501312d600 allow :smsc and :device params to sms module 2022-09-16 17:41:37 +01:00
Daniel Barlow 02ea16374c log serial io to _G.modem-spew instead of stdout 2022-09-16 17:41:37 +01:00
Daniel Barlow 429a661346 print unprintable characters as \u escapes 2022-09-16 17:41:37 +01:00
Daniel Barlow a78cba0a3f add test= macro for prettier assertions 2022-09-16 17:41:36 +01:00
Daniel Barlow b2c4972529 switch to using PDU format
this means we can now send { } [ ] and other characters that
have multi-byte encoding in the gsm character set
2022-09-16 17:39:57 +01:00
Daniel Barlow 4ca8ddcf9f add fn "command" which combines tx and expect
... also has better (any) error handling
2022-09-15 22:17:18 +01:00
Daniel Barlow 3bb143b6f4 SMS sending works for basic chars
won't send { } [ ]: hypothesis, because these characters can't
be represented in one byte of the GSM charset
2022-09-15 22:09:25 +01:00