Thomas Sutter
601b8d281a
Add command request system code.
...
Add command request specification version.
Add command reset mode.
Make Style.
2019-11-04 10:24:29 +01:00
Thomas Sutter
c76c59a35c
Fix segmentation fault in cmd.
2019-11-02 13:29:38 +01:00
Thomas Sutter
42fd13985f
Make style.
2019-11-01 15:19:09 +01:00
Thomas Sutter
dadad1dacf
Fix felica sniffing.
2019-11-01 15:06:48 +01:00
Thomas Sutter
9738834faf
Remove unused function.
2019-10-30 13:43:23 +01:00
Thomas Sutter
f3d79c22f2
Remove parity bit check for felica.
2019-10-30 13:42:52 +01:00
Thomas Sutter
76215fffc6
Refactor sniffing command.
2019-10-29 15:39:54 +01:00
Thomas Sutter
eba19c0bd6
Make style.
2019-10-29 13:35:09 +01:00
Thomas Sutter
83c629cbec
Fix parameter i parsing bug.
2019-10-29 12:52:45 +01:00
Thomas Sutter
2e60cb4fa6
Add write without encryption command.
2019-10-29 11:14:38 +01:00
Thomas Sutter
498c4b8377
Refactor FeliCa structs.
2019-10-29 10:22:47 +01:00
Thomas Sutter
06f3f1b637
Remove code duplication.
2019-10-29 10:00:47 +01:00
Thomas Sutter
271a8ce548
Add additional check for xero byte response.
...
Add wrunencrypted usage text.
2019-10-29 09:44:38 +01:00
Philippe Teuwen
cb06bea448
Merge pull request #451 from 7homasSutter/felica_support_read_without_encryption
...
Felica support: add commands request response and read without encryption
2019-10-24 21:33:27 +02:00
Thomas Sutter
12cd208253
Make style. Format help text.
2019-10-24 17:07:27 +02:00
Thomas Sutter
bfd5214cd5
Add read_without_encryption command.
2019-10-24 16:08:44 +02:00
Thomas Sutter
94ec36de20
Add status flag interpretation.
2019-10-24 11:59:58 +02:00
Thomas Sutter
003aada18f
Add basic read_without_encryption command.
2019-10-24 11:30:52 +02:00
Thomas Sutter
94cc2c0473
Merge remote-tracking branch 'upstream/master' into felica_support_request_service
...
# Conflicts:
# client/cmdhffelica.c
2019-10-24 08:53:41 +02:00
Thomas Sutter
3b0447fbb3
Draft read without encryption
2019-10-24 08:44:20 +02:00
Philippe Teuwen
ff9eabdab5
coverity 226329 invalid type for printf
2019-10-24 01:35:58 +02:00
Thomas Sutter
1f7dd3e2a7
Add request response command for felica Mode.
2019-10-23 14:48:23 +02:00
Thomas Sutter
bdbb4cb5c9
Refactor request service parsing.
...
Change Examples.
2019-10-23 13:25:52 +02:00
Thomas Sutter
21f0095029
Make Style.
2019-10-23 09:42:45 +02:00
Thomas Sutter
2274383129
Remove crc methode. Add CRC macro.
...
Change help text for request service.
2019-10-23 09:21:43 +02:00
Thomas Sutter
b6117e4996
Add parameter a to usage text.
2019-10-22 17:10:32 +02:00
Thomas Sutter
3f56116615
Add felica request service all nodes command.
...
Make style.
2019-10-22 17:03:54 +02:00
Thomas Sutter
6144e2d09b
Add felica request service command.
...
Add cmd parser functions.
2019-10-22 15:56:05 +02:00
Philippe Teuwen
8792679fc8
make style
2019-10-21 13:46:23 +02:00
Thomas Sutter
e7f7810d22
Make style. Change DBG_DEBUG. Refactor CRC calculation
2019-10-21 09:59:15 +02:00
Thomas Sutter
3a3b66d079
Fix build
2019-10-20 20:28:57 +02:00
Thomas Sutter
a3f8d635ca
Add new cmd parser functions.
2019-10-20 20:26:00 +02:00
Thomas Sutter
ce4c651853
Merge remote-tracking branch 'upstream/master' into felica_support_request_service
...
# Conflicts:
# armsrc/felica.c
# client/cmdhffelica.c
2019-10-20 18:40:16 +02:00
Thomas Sutter
f7d4f2e9f3
Unfinished request service commands.
2019-10-20 18:28:07 +02:00
iceman1001
2c4e660605
fix
2019-10-17 22:24:32 +02:00
iceman1001
9fdc29e91c
chg: 'hf search' - add FeliCa detection
2019-10-17 21:58:57 +02:00
Thomas Sutter
376e367d45
Make Style and remove some comments.
2019-10-17 13:48:34 +02:00
Thomas Sutter
97f85ba50a
Remove printf from client. Ready for testing.
2019-10-17 12:54:56 +02:00
Thomas Sutter
4da87d3f96
Fix Client Response for RAW command. Client should receives now all response octects.
2019-10-17 11:46:59 +02:00
Thomas Sutter
9d3331511b
Fix FeliCa select_card. Selection works now for FeliCa standard cards.
...
Fix SendRaw data.
Add some new unfinished cmds.
2019-10-16 14:17:52 +02:00
Philippe Teuwen
d588b04537
fix more printf api warnings/bugs
2019-10-09 18:03:56 +02:00
Philippe Teuwen
4ae8a3d86b
fix few printf arg types
2019-10-05 23:56:19 +02:00
Philippe Teuwen
d19754567d
summer restructuring:
...
* .h include only the strict minimum for their own parsing
* this forces all files to include explicitment their needs and not count on far streched dependencies
* this helps Makefile to rebuild only the minimum
* according to this rule, most standalone .h are now gone
* big app.h is gone
* remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
* bring zlib to common/
* bring stuff not really/not yet used in common back to armsrc/ or client/
* bring liblua into client/
* bring uart into client/
* move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
* treat deps in armsrc/ as in client/
* client: stop on warning (-Werror), same as for armsrc/
Tested on:
* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
017b3357ed
Comment Felica simulation in client, there is no corresponding code in ARM
2019-08-03 19:57:57 +02:00
Philippe Teuwen
a0a232a985
rename few CMD_* to get some less diversity
2019-08-03 19:48:02 +02:00
Philippe Teuwen
9beabaabf5
make style
2019-07-23 21:33:52 +02:00
cjbrigato
5c3676ad81
ADD: Early SPIFFS implementation see #257 , UPDATE HF_COLIN accordingly
2019-07-22 22:56:06 +02:00
Philippe Teuwen
844d732297
Replace ukbhit by kbd_enter_pressed, not requiring tcgetattr:
...
Note that it behaves differently now
* it looks for Enter key only, not any key
* it "eats" the input, no need for (void)getchar() after it
* it works the same no matter the value of ICANON
* the mingw version has been adapted to act the similarly
This should fix its usage on Android where tcgetattr always returns -1
2019-07-11 13:01:34 +02:00
Philippe Teuwen
730927a81d
NG->MIX for few cmds where the zeroes were actual args
...
CMD_READER_ISO_14443a
CMD_EPA_PACE_REPLAY
CMD_TEST_HITAGS_TRACES
CMD_FELICA_COMMAND
2019-05-09 12:33:17 +02:00
Philippe Teuwen
290f2b625b
Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX
2019-05-07 19:51:33 +02:00