1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
Pavol Rusnak
5253bdef1d
modtrezormsg: fix last commit 2016-11-14 15:32:00 +01:00
Karel Bílek
69add20cc8 Adding UDP ping (#3) 2016-11-14 15:21:45 +01:00
Pavol Rusnak
9e3102742e
modules: add missing copyright headers 2016-10-11 14:05:55 +02:00
Pavol Rusnak
882efbf21b
modtrezormsg: use interfaces index internally, usage_page externally 2016-10-11 13:15:13 +02:00
Pavol Rusnak
a423d4602f
modtrezormsg: store assigned used pages internally, add get_interfaces method 2016-10-11 12:33:02 +02:00
Pavol Rusnak
3f44dfedb5
modtrezormsg: use usage_page to identify interfaces 2016-10-11 12:14:17 +02:00
Pavol Rusnak
3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr 2016-10-07 13:57:21 +02:00
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Pavol Rusnak
27fb301b22
validate mp_buffer_info_t usage for cases where len==0 2016-10-04 19:22:48 +02:00
Pavol Rusnak
a36616d8e8
allow building unix port with no UI (TREZORUI_NOUI=1) 2016-10-03 19:57:23 +02:00
Pavol Rusnak
db6673b50e
move initialization of I2C1 to msg_init() 2016-09-27 17:26:13 +02:00
Pavol Rusnak
e480871db3
generate proper events from touchscreen 2016-09-27 17:26:10 +02:00
Pavol Rusnak
8f80749870
update docu strings in native code 2016-09-27 17:26:09 +02:00
Pavol Rusnak
d32dc93c10
implement hid methods in trezor.msg 2016-09-27 17:26:08 +02:00
Pavol Rusnak
e577e764fc
modules do not have .name field anymore 2016-09-27 17:26:08 +02:00
Pavol Rusnak
754350df9e
fix discrepancy between msg_poll_ui_event and trezorui_poll_sdl_event 2016-09-27 17:26:04 +02:00
Karel Bilek
65746643f4
fix msg_recv iface reporting 2016-09-27 17:26:03 +02:00
Pavol Rusnak
9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak
6f08f3f6a8
update docu 2016-09-27 17:25:46 +02:00
Pavol Rusnak
852a950d66
fix issue with format string 2016-09-27 17:25:45 +02:00
Jan Pochyla
b6caad6b9b
send touch events on iface in modtrezormsg 2016-09-27 17:25:45 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
38b66cb6d8
introduce msg.setup proof-of-concept 2016-09-27 17:24:23 +02:00
Pavol Rusnak
bf02fe0ddf
trezor.msg is now iface aware 2016-09-27 17:24:23 +02:00
Jan Pochyla
9104d7684c
fix msg.send() 2016-09-27 17:24:21 +02:00
Jan Pochyla
46acb9ff2b
HID_READ is 8 now 2016-09-27 17:24:20 +02:00
Pavol Rusnak
871ea5cc70
update vendor/micropython 2016-09-27 17:24:11 +02:00
Pavol Rusnak
7fb1d7247c
remove self from documentation where it should not be 2016-09-27 17:24:11 +02:00
Pavol Rusnak
67c0ecfb23
add possibility to change UDP ip+port via env variables 2016-09-27 17:24:11 +02:00
Pavol Rusnak
c5b5955539
add more docu 2016-09-27 17:24:10 +02:00
Pavol Rusnak
3d8f8a659a
rework documentation, proof of concept api docu generator 2016-09-27 17:24:10 +02:00
Jan Pochyla
b5f8c2303c
make event ids positive again
They are unsigned on the python side anyway.
2016-09-27 17:24:08 +02:00
Pavol Rusnak
d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak
34e3b51ba8
return tuple for msg events as well 2016-09-27 17:24:02 +02:00
Pavol Rusnak
11190fccba
remove extraneous motion events from queue 2016-09-27 17:24:01 +02:00
Pavol Rusnak
9856f96cf7
add hw button to msg.select, build 32-bit unix port by default 2016-09-27 17:24:01 +02:00
Jan Pochyla
38aa463060
make utils.select posix-compat 2016-09-27 17:24:00 +02:00
Pavol Rusnak
1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
Pavol Rusnak
7559207a62
new message handling using msg.select 2016-09-27 17:23:59 +02:00
Pavol Rusnak
a230d9d294
hashes and pbkdf2 now have api of hashlib 2016-09-27 17:22:53 +02:00
Pavol Rusnak
8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules 2016-09-27 17:22:52 +02:00