Andrius Štikonas
f1cdc8260e
Rename Countdown->Off timer
...
There are two types of countdowns supported by S20.
The one currently implemented automatically switches socket off
on a specified delay after switch on.
2015-11-16 01:15:19 +00:00
Andrius Štikonas
6368de10a3
Print local time of the socket instead of UTC.
2015-11-15 15:36:22 +00:00
Andrius Štikonas
4acb55c2e6
Output timezone as a decimal number.
2015-11-01 22:25:23 +00:00
Andrius Štikonas
bc4c6cfcaa
Add a function to convert hexadecimal QByteArrays to integers.
2015-11-01 15:40:48 +00:00
Andrius Štikonas
c4d9ddb602
Add a function to convert integers to hexadecimals in QByteArray.
2015-11-01 03:56:05 +00:00
Andrius Štikonas
019fa723c1
Fix broken countdown support.
2015-11-01 00:31:38 +00:00
Andrius Štikonas
1049a56400
Sort sockets by their names.
2015-10-05 01:10:50 +01:00
Andrius Štikonas
7e79483e1b
Fix build with Qt 5.5
2015-09-07 15:43:08 +01:00
Andrius Štikonas
1246e6d1db
Implement toggling countdown state.
2015-09-04 22:49:13 +01:00
Andrius Štikonas
482a2a0e5b
Reformat with astyle.
2015-08-18 15:29:09 +01:00
Andrius Štikonas
4497d1e1c1
Add partial support for countdown.
2015-08-18 14:25:32 +01:00
Andrius Štikonas
32cf746ace
Rename some commandID enums to be closer their ASCII value
...
GlobalDiscover -> QueryAll
TableData -> ReadTable
WriteTableData -> TableModify
2015-05-27 00:03:33 +01:00
Andrius Štikonas
ba52a9862e
Remove commandID magic numbers.
2015-05-26 23:53:21 +01:00
Andrius Štikonas
de16fea254
Restore ability to set a different ssid.
...
Add on and off commands.
2015-05-26 00:02:19 +01:00
Andrius Štikonas
df5cc31355
Do not emit stateChanged when receiving discover (too verbose).
2015-04-02 22:56:57 +01:00
Andrius Štikonas
be34c3d5da
Make TableData command work after initial pairing.
...
TableData command is modified a bit:
00 00 00 00 -> 72 00 00 00
I don't know yet what 72 stands for but apparently this command
still works in normal mode, so let us use it for now.
2015-04-02 22:45:59 +01:00
Andrius Štikonas
b30da3495d
Process Discover packets too.
2015-04-02 22:10:06 +01:00
Andrius Štikonas
354ec34d1e
Move socketDateTime to socket class.
2015-04-02 01:31:37 +01:00
Andrius Štikonas
8999a55c30
Add another method of pairing.
2015-03-11 12:34:56 +00:00
Andrius Štikonas
788cb86b50
whitespace
2015-03-08 11:34:01 +00:00
Andrius Štikonas
dfd9399666
Add mutex to message sending function.
2015-03-08 11:29:33 +00:00
Andrius Štikonas
8a92e808f3
Stop trying to send the same datagram if it repeatedly fails.
2015-03-02 12:21:10 +00:00
Andrius Štikonas
6319fa237b
Try to connect to WiWo-S20 wifi.
2015-02-28 23:30:00 +00:00
Andrius Štikonas
e7c521bc10
Print countdown.
2015-02-21 21:14:22 +00:00
Andrius Štikonas
e231388e95
Parse domain server name.
2015-02-15 15:26:37 +00:00
Andrius Štikonas
c414c091e8
Calculate message lengths ourselves.
2015-02-15 15:11:39 +00:00
Andrius Štikonas
277a5f46c5
Remove unused variable.
2015-02-15 14:41:09 +00:00
Andrius Štikonas
802f910809
Password changing and displaying of the timezone.
2015-02-15 12:31:21 +00:00
Andrius Štikonas
742ea64c83
Reduce debug output.
2015-02-13 11:01:48 +00:00
Andrius Štikonas
389f203c8e
Calculate record length.
2015-02-12 23:26:31 +00:00
Andrius Štikonas
1f16785dd8
Remove more magic numbers from WriteSocketData.
2015-02-11 14:31:20 +00:00
Andrius Štikonas
033b49e365
Do not send wrong data in WriteSocketData datagram.
2015-02-11 00:33:04 +00:00
Andrius Štikonas
f2037b01ef
Parse more stuff in SocketData messages.
2015-02-09 21:09:50 +00:00
Andrius Štikonas
8acd7a7178
Remove debugging output.
2015-02-07 20:04:33 +00:00
Andrius Štikonas
b64663177e
Implement command queue.
2015-02-07 17:29:12 +00:00
Andrius Štikonas
daf7213a05
Move network and input handling to separate threads.
...
Add some debugging output.
2015-02-03 01:24:47 +00:00
Andrius Štikonas
5e035a4448
Make UDP datagrams asynchronous.
2015-02-01 01:42:45 +00:00
Andrius Štikonas
748ad8cb91
Move input handling to another thread and enable event loop.
2015-01-31 18:12:20 +00:00
Andrius Štikonas
06aeb187d5
Start implementing support for changing the socket name and password.
2015-01-31 15:28:34 +00:00
Andrius Štikonas
e17074384a
Read socket name and remote password.
2015-01-26 00:55:20 +00:00
Andrius Štikonas
bdba0234b2
Parse received datagrams.
2015-01-25 19:39:15 +00:00
Andrius Štikonas
9e327cee32
Improve output.
2015-01-15 19:38:25 +00:00
Andrius Štikonas
17a2b1325b
Implement basic toggling support.
2015-01-14 13:55:28 +00:00
Andrius Štikonas
dc98486dc7
Refactor Socket class to store information about individual sockets.
2015-01-14 00:50:55 +00:00