无芯片阅读器库
libclsprot的Python项目详细描述
libclsprot is a protocol library for chipless reader modules.
安装
编译并安装库:
pip3 install libclsprot
在安装后,您可以运行单元测试以确保库正常工作。执行:
^{pr2}$ 在
使用
- In Python 3::
- from libclsprot import ChiplessTags
示例
from libclsprot import ChiplessTags
clt = ChiplessTags( port=’COM3’ )
clt.scan( antenna=1, enable=True, start=100, stop=1000, step=5, mid=45, power=2 ) # Setting scan parameters.
- def notify_cb( data ):
- print(data)
clt.notify_callback( notify_cb ) # Register callback function.
clt.worker_start()
V0.2(2019-01-23)
- 版本0.2新协议v0.2
V0.1(2019-01-16)
- 版本0.1
- 项目
标签: