Commit Graph

42 Commits (b145f8f309d5fe6fc89d0c39f4abda9c50516f6b)

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