获取原始磁条数据与音频插孔读卡器 [英] Get Raw Magstripe Data with audio jack reader
问题描述
所以,我最近收购了一些贝宝磁条卡阅读器是免费的。我的目标就是用这个来获得在Android设备上通过音频插孔的原始数据。如何做到这一点我最好的猜测是使用AudioRecord东西在Android中,然后去code中的音频信号。这将是最好的方法是什么?任何人都解决类似这样的东西吗?例子?
So i have recently acquired a few paypal magstripe card readers for free. My goal is to use this to get the raw data via the audio jack on an android device. My best guess at how to do this would be to use the AudioRecord stuff in android, then decode the audio signal. Would this be the best way? Anyone else tackle stuff like this? Examples?
推荐答案
这是不是你可以先想象的那样简单。
This is not as simple as you might first imagine.
- 录制音频。你将不得不连续读取的音频,并将其放置到缓冲区中。
- 在德$ C C音频$,保存为16bit的PCM EN codeD,采样率为44100Hz的。你必须要注意,当出现过零,并在此基础上生成一个二进制字符串。然后转换成二进制字符串ASCII。
- 当你这么远,你有你的音轨1或音轨2的数据!从这里你可以按照ISO 7813的格式,如果你正在分析的信用卡。它很容易分析,一旦你理解了规范。
查阅这些资源。祝你好运! 音频轨迹数据: 的http://www.instructables.com/id/Read-any-magnetic-strip-card-with-a-Square-reader-/
Check out these resources. Good luck! AUDIO TO TRACK DATA: http://www.instructables.com/id/Read-any-magnetic-strip-card-with-a-Square-reader-/
监控数据:
http://en.wikipedia.org/wiki/ISO/IEC_7813
http://www.gae.ucm.es/~padilla/extrawork/tracks html的
TRACK DATA:
http://en.wikipedia.org/wiki/ISO/IEC_7813
http://www.gae.ucm.es/~padilla/extrawork/tracks.html
这篇关于获取原始磁条数据与音频插孔读卡器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!