Skip to content

Instantly share code, notes, and snippets.

@WaliedA
WaliedA / parser.py
Created July 22, 2020 10:25 — forked from ashmigelski/parser.py
Python server for Wialon Retranslator 1.0
# -*- coding: utf-8 -*-
import binascii
import struct
def parse(fmt, binary, offset=0):
'''
Unpack the string
@WaliedA
WaliedA / index.js
Created July 21, 2020 07:01 — forked from ashmigelski/index.js
Wialon + Node.js - Simple sample
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',