Commit Graph

43 Commits

Author SHA1 Message Date
Jos De Graeve 464a609f2c FIX better handle null terminated string input from clock
There is no guarantee about what is after the first null byte
in ordinary C strings.  When string buffers are read, the
current code fails when garbage is sent after the first null byte.

This patch causes everything after the first byte to be discarded.
2017-11-10 12:30:30 +01:00
Fanani M. Ihsan 536e4a932f fixed get_users: update data parser 2016-07-04 16:15:41 +07:00
Fanani M. Ihsan 4b807ddfa1 update constant variable 2016-07-04 13:55:29 +07:00
Fanani M. Ihsan c6b8cf1200 pep8 standarization 2016-06-24 19:00:55 +07:00
Fanani M. Ihsan 36fc5525f8 minor fix 2016-06-17 14:18:29 +07:00
Fanani M. Ihsan 410ef01cbb fixing method clear_data 2016-06-15 19:41:59 +07:00
Fanani M. Ihsan c9a3d712f2 add method to clear attendance 2016-06-15 19:15:12 +07:00
Fanani M. Ihsan 4662212bdc add function to get attendance record 2016-06-12 16:35:02 +07:00
Fanani M. Ihsan 0bd1f62ac0 add function to get attendance recorrd 2016-06-12 15:46:20 +07:00
Fanani M. Ihsan ac51194f57 add module delete user 2016-06-11 13:58:49 +07:00
Fanani M. Ihsan 21c685e8c5 update exception 2016-06-10 15:35:55 +07:00
Fanani M. Ihsan ef1944f4da typo 2016-06-10 14:16:22 +07:00
Fanani M. Ihsan 7b33ceeded add function to clear data 2016-06-10 11:27:49 +07:00
Fanani M. Ihsan 577ade6c4b fixing get_serialnumber method 2016-06-09 13:37:19 +07:00
Fanani M. Ihsan 77887d1e7a add module to get serial number 2016-06-09 11:20:39 +07:00
Fanani M. Ihsan eb0e87da0a release app version 0.2 2016-05-30 09:47:58 +07:00
Fanani M. Ihsan ff4495e0f7 fixing get_user bugs when user null 2016-05-29 20:27:01 +07:00
Fanani M. Ihsan 16acb77cbe minor fix get_users function 2016-05-27 10:15:13 +07:00
Fanani M. Ihsan 362a0b91be minor fix 2016-05-27 10:01:00 +07:00
Fanani M. Ihsan f6d9cc2887 reffactor function 2016-05-27 09:59:52 +07:00
Fanani M. Ihsan aca1e14b4e update documentation 2016-05-27 08:54:17 +07:00
Fanani M. Ihsan baf672bcb9 make automodule docs 2016-05-27 00:52:50 +07:00
Fanani M. Ihsan 616641d073 update base class 2016-05-26 12:45:28 +07:00
Fanani M. Ihsan d3a0e90ad7 add some to do list function 2016-05-25 21:35:50 +07:00
Fanani M. Ihsan 368347ae92 fixing get user data parser 2016-05-25 17:38:59 +07:00
Fanani M. Ihsan 8b8715944f update get_user function 2016-05-25 16:28:55 +07:00
Fanani M. Ihsan 5b0c7c26a8 fixing get_user function 2016-05-25 15:35:45 +07:00
Fanani M. Ihsan 6444ad234c update base.py 2016-05-25 13:21:41 +07:00
Fanani M. Ihsan 619aaf1f43 update test file and fixing set_user password bug 2016-05-25 12:38:11 +07:00
Fanani M. Ihsan bd6554f88d fixing set_user function 2016-05-25 12:27:13 +07:00
Fanani M. Ihsan c4880a9c59 update user command string 2016-05-25 12:02:56 +07:00
Fanani M. Ihsan 5d3aae3884 add function set_user 2016-05-25 01:32:06 +07:00
Fanani M. Ihsan 79b856f448 add function test_voice 2016-05-24 21:52:42 +07:00
Fanani M. Ihsan 411b2679ef add enable/disable function 2016-05-24 21:49:04 +07:00
Fanani M. Ihsan 88a408d92d make api more easy 2016-05-23 23:59:43 +07:00
Fanani M. Ihsan b94bf295b1 update function get_users 2016-05-23 22:42:45 +07:00
Fanani M. Ihsan 98ba866d1a update some function 2016-05-23 21:00:43 +07:00
Fanani M. Ihsan ded0d7bfd7 add function 2016-05-23 19:49:36 +07:00
Fanani M. Ihsan 36f8643651 create function __sending_packet to simplification the pakcet sending process 2016-05-23 14:56:33 +07:00
Fanani M. Ihsan 168c70a11d add function get_firmware_version 2016-05-23 14:41:39 +07:00
Fanani M. Ihsan 01b592f279 remove unused variable 2016-05-23 14:09:32 +07:00
Fanani M. Ihsan ad4f4f2ee5 add power_off and restart function 2016-05-23 13:55:09 +07:00
Fanani M. Ihsan 2f24d5e7ce project initialization 2016-05-23 13:50:54 +07:00