This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The Open Source GSM Base Band stack".
The branch, master has been updated
via 96e5f8cbe57d55a274cfba1ac7f4961b29bab6fe (commit)
via ceb0875f1a2c90de826450f1de127450b62bcd9b (commit)
via a8130aba91247e07df83d2612f14d58d9a45eaa7 (commit)
from f02c04f4441ae0d05f46f5fdfd1aa8181ede57a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmocom-bb/commit/?id=96e5f8cbe57d55a274cfba1ac7f49…
commit 96e5f8cbe57d55a274cfba1ac7f4961b29bab6fe
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 27 10:51:32 2017 +0800
mobile: Add lua examples for basic functions that are available
Link to Lua docs, link to our manual. Demo logging, timer, MS
on/off, sms sending and sms receiving. For the MM state I will
need to export constants/names to make this usable. Currently
it is a bit of a hack (first time to MM_IDLE) to send a SMS. We
would know when we attached though.
Change-Id: I10ac656330b65e3905d6cbbb7865aa0f969cd9ff
http://cgit.osmocom.org/osmocom-bb/commit/?id=ceb0875f1a2c90de826450f1de127…
commit ceb0875f1a2c90de826450f1de127450b62bcd9b
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Dec 27 10:50:14 2017 +0800
mobile: Properly close the primitive interface on reload
When reloading a script go through script_lua_close. Get the
primitive first. Then destruct the lua environment which will
lead to GC (e.g. cancellation of timers) and then delete the
primitive code.
Change-Id: I5bb4fa9e7c5010f3ad50b258dcb14956eea8822a
http://cgit.osmocom.org/osmocom-bb/commit/?id=a8130aba91247e07df83d2612f14d…
commit a8130aba91247e07df83d2612f14d58d9a45eaa7
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 26 12:46:30 2017 +0800
mobile: Send SMS through the primitive interface
Make this symmetric and send the SMS through the primitive
interface. Construct and copy the sms into the prim, store
the SCA in the prim as well. In 04.11 we see we can store
2*10 digits in the destination address and a NUL.
Change-Id: I91d7537f4f6ce5ba00218c58f3456947ec7bc662
-----------------------------------------------------------------------
Summary of changes:
doc/examples/mobile/lua_helloworld.lua | 9 ++++++
doc/examples/mobile/lua_ms_on_off.lua | 23 ++++++++++++++++
doc/examples/mobile/lua_sms_on_attach.lua | 32 ++++++++++++++++++++++
doc/examples/mobile/lua_sms_receive.lua | 15 ++++++++++
doc/examples/mobile/lua_timer.lua | 12 ++++++++
.../layer23/include/osmocom/bb/mobile/gsm411_sms.h | 2 ++
.../layer23/include/osmocom/bb/mobile/primitives.h | 2 ++
src/host/layer23/src/mobile/gsm411_sms.c | 2 +-
src/host/layer23/src/mobile/primitives.c | 16 +++++++++++
src/host/layer23/src/mobile/script_lua.c | 30 ++++++++++++++++----
10 files changed, 136 insertions(+), 7 deletions(-)
create mode 100644 doc/examples/mobile/lua_helloworld.lua
create mode 100644 doc/examples/mobile/lua_ms_on_off.lua
create mode 100644 doc/examples/mobile/lua_sms_on_attach.lua
create mode 100644 doc/examples/mobile/lua_sms_receive.lua
create mode 100644 doc/examples/mobile/lua_timer.lua
hooks/post-receive
--
The Open Source GSM Base Band stack