This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import binascii | |
| import struct | |
| def parse(fmt, binary, offset=0): | |
| ''' | |
| Unpack the string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var request = require('request'); | |
| var URL = 'https://hst-api.wialon.com/wialon/ajax.html?'; | |
| var SID = null; | |
| function searchItems () { | |
| var params = { | |
| spec: { | |
| itemsType: 'avl_unit', | |
| propName: 'sys_name', |