History log of /external/autotest/client/cros/cellular/wardmodem/global_state.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
868410201283bfc8a8226783911a544c202c2918 13-Sep-2013 Prathmesh Prabhu <pprabhu@chromium.org> wardmodem: Fill in the E362 specific bits for the state machines so far.

- Add E362 modem configuration.
- Provide E362 specific information needed for request_response machine
- Subclass call_machine because e362 also provides a call end reason.

BUG=chromium:269703
TEST=Run network_3GSmokeTest.wardmodem

Change-Id: I99c77a5e763183bf37bd99ea848214b6155425a7
Reviewed-on: https://chromium-review.googlesource.com/169220
Reviewed-by: Thieu Le <thieule@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/wardmodem/global_state.py
ec437cdbf471b49dfc0b5f791d47e3890a2db75d 13-Sep-2013 Prathmesh Prabhu <pprabhu@chromium.org> wardmodem: Implement generic state machines for basic modem operations.

This is the initial implementation of state machines needed for the wardmodem
for enable/disable and connect/disconnect operations.

This CL adds the following state machines:
modem_power_level_machine: Controls the current power level of the modem

level_indicator_machine: Shows information about different aspects of the
modem usually showed as level bars on the mobile device.

net_identity_machine, network_operator_machine, network_registration_machine:
These machines are needed for registering with the network

call_machine: Make a call over a registered network.

BUG=chromium:269696
TEST=Run wardmodem unit-tests.

Change-Id: I557287f9d7f3e5274d56d22d0a573f466065c89c
Reviewed-on: https://chromium-review.googlesource.com/169189
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/wardmodem/global_state.py
db2e125078222e46e26eb5180ca4fbcc5f09a66b 13-Sep-2013 Prathmesh Prabhu <pprabhu@chromium.org> wardmodem: Add request_response state machine.

This CL adds the first state machine to wardmodem
- ATTransceiver now takes a fallback machine, and forwards all requests for
there is no other wardmodem action registered to this machine.
- RequestResponse state machine is the fallback machine. This is really a
stateless machine, beyond an 'ENABLED' state. This CL introduces an AT
command to response map to base.conf. RequestResponse uses the incoming
command as the key in this map and responds with the given values(s).

RequestResponse is the simplest state machine possible. It can also be used as
the first step towards supporting some functionality in wardmodem. Start by
adding dumb saved replies from the RequestResponse state machine, and then if
needed write a state machine for more flexibility / transparency in what's
happening.

BUG=chromium:269677
TEST=Run unit-tests.

Change-Id: I735fafcfe7c20627ea29eca56865f143c51ea132
Reviewed-on: https://chromium-review.googlesource.com/64983
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/wardmodem/global_state.py
6aeb64f077e3292d42ccc9022dca60542640f1b6 13-Sep-2013 Prathmesh Prabhu <pprabhu@chromium.org> wardmodem: Bug fixes in various parts of wardmodem boilerplate.

This CL fixes a bunch of issues all over the boilerplate code that were
discovered when writing some of the state machines.
BUG=chromium:261675
TEST=Run wardmodem unit-tests.

Change-Id: I6d090eae1353a4c7a1ce0fbe9e9c7a8482765cbf
Reviewed-on: https://chromium-review.googlesource.com/64982
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/wardmodem/global_state.py
fb478a289ad179bf3b2b704cb8ec3d9a88621f61 19-Jun-2013 Prathmesh Prabhu <pprabhu@chromium.org> wardmodem: Implement a skeleton class for global state shared by state machines.

GlobalStateSkeleton provides a way to construct the global state that will be
shared by all state machines. It also provides the read/write functions to read
and manipulate this global state.

BUG=chromium:251929
TEST=run unit-tests.
python global_state_unittest.py

Change-Id: I1f6bf21127d613b808e5ba72b4dcf47660c9fea2
Reviewed-on: https://gerrit.chromium.org/gerrit/59314
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/cros/cellular/wardmodem/global_state.py