You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| get_aid.apduscr | Attempts to select various AIDs (Application Identifiers) to determine which applications are supported by the card | None |
69
+
| e_travel_card_sh.apduscr | Reads information from Shanghai electronic transportation cards (NFC emulated transit cards on devices like iPhone) |[E_TRAVEL_CARD_SH.apdufmt](/tools/ResponseDecoder/format/E_TRAVEL_CARD_SH.apdufmt)|
70
+
| pboc.apduscr | Reads information from PBOC (China UnionPay) banking cards |[PBOC.apdufmt](/tools/ResponseDecoder/format/PBOC.apdufmt)|
69
71
70
-
您可以根据自己的需求创建自定义脚本:
72
+
## Creating Custom Scripts
71
73
72
-
1. 使用任何文本编辑器创建一个新的 `.apduscr` 文件
73
-
2. 按照上述格式编写脚本内容
74
-
3. 将文件保存到 `/ext/apps_data/nfc_apdu_runner` 目录
74
+
You can create your own custom scripts:
75
75
76
-
## 注意事项
76
+
1. Use any text editor to create a new `.apduscr` file
77
+
2. Write the script content following the format described above
78
+
3. Save the file to the `/ext/apps_data/nfc_apdu_runner` directory
77
79
78
-
- 确保 APDU 命令格式正确,否则可能导致执行失败
79
-
- 某些 APDU 命令可能需要特定的卡片类型才能正常工作
80
-
- 使用未知或不安全的 APDU 命令可能会对某些卡片造成永久性损坏,请谨慎使用
80
+
## Notes
81
81
82
-
## 常见问题
82
+
- Ensure APDU commands are correctly formatted, otherwise execution may fail
83
+
- Some APDU commands may require specific card types to work properly
84
+
- Using unknown or unsafe APDU commands may cause permanent damage to some cards, use with caution
83
85
84
-
**Q: 为什么我的脚本无法执行?**
85
-
A: 请检查卡片类型是否正确,以及 APDU 命令格式是否正确。
86
+
## Parsing Templates
86
87
87
-
**Q: 我可以在哪里找到更多的 APDU 命令?**
88
-
A: 您可以参考相关卡片的技术规范或在线资源。
88
+
For some scripts, parsing templates (`.apdufmt` files) are available in the `/tools/ResponseDecoder/format/` directory. These templates define how to interpret and display the response data from the card.
89
89
90
-
**Q: 执行脚本后,我可以在哪里查看结果?**
91
-
A: 执行完成后,应用程序会自动显示每个命令的响应结果。
90
+
To use a parsing template:
91
+
1. Run the script using NFC APDU Runner
92
+
2. Save the response file (`.apdures`)
93
+
3. Use the ResponseDecoder tool with the appropriate template:
0 commit comments