CQi updates

This commit is contained in:
Patrick Jentsch
2020-04-06 14:53:50 +02:00
parent b78558fc03
commit 606c4dee85
3 changed files with 41 additions and 0 deletions

View File

@ -15,6 +15,8 @@ class APIClient:
>>> client = cqi.APIClient('127.0.0.1')
>>> client.ctrl_connect('user', 'password')
{'code': 258, 'msg': 'CQI_STATUS_CONNECT_OK'}
>>> client.ctrl_ping()
{'code': 260, 'msg': 'CQI_STATUS_PING_OK'}
>>> client.ctrl_bye()
{'code': 259, 'msg': 'CQI_STATUS_BYE_OK'}