Magellan eXplorist: Automation

A new (hopefully) iteration with Magellan eXplorist tools – an automation objects to script GPS data processing. The idea is to provide scriptable objects to access GPS data for various tasks from just logging into file to [the target is believable to be] publishing geolocation information in real time through Jabber/XMPP server in conformance with XEP-0080: User Geolocation.

Currently, it is a lower layer serial connection object to GPS communication port, AlaxInfo.MagExpToo.SerialConnection.

The script below prints GPS NMEA-0183 output to console:

C:\>cscript 01.js
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Assumed Port: COM10
Input: $GPGSV,3,1,12,07,87,031,,24,79,094,,06,77,089,,21,55,222,*71
Input: $GPGSV,3,2,12,10,33,059,,16,31,309,,30,30,164,,31,21,253,*7F
Input: $GPGSV,3,3,12,05,14,159,,18,05,178,,12,03,151,,02,02,056,*73
Input: $PMGNST,02.03,3,F,819,04.6,-00096,20*59
Input: $GPGSV,3,1,12,07,87,031,,24,79,094,,06,77,089,,21,55,222,*71
Input: $GPGSV,3,2,12,10,33,059,,16,31,309,,30,30,164,,31,21,253,*7F
Input: $GPGSV,3,3,12,05,14,159,,18,05,178,,12,03,151,,02,02,056,*73
Input: $PMGNST,02.03,3,F,819,04.6,-00096,20*59
...

Continue reading →

SIP notepad

SIP Services and Gateways:

Software:

Skype and SIP

See Why does the N770 have Google Talk instead of Skype? on Robin Jewsbury’s Forum Nokia Blog. I do share the opinion that SIP is going to be a mainstream protocol for Internet Voice [and Video?] applications, though there are other opinions (including SIMPLE, IAX etc.). It does not however seems to appear much too fast since as we can see XMPP is very slowly becoming popular too.

There is no doubt SIP will be the underlying technology of all P2P systems in the future and no doubt in my mind that Skype will have to move to SIP at some stage. SIP is far more efficient than Skype.

Process virtual address space limit

Eventually one of the customer did hit a process virtual address space (AKA “Virtual Bytes” in performance monitor snap-in, a counter under particular process) limit (yeah, we are talking about 32-bits here) putting enormous amount of hardware onto single server machine. They seems to be satisfied with performance still (quote unexpectedly, they really attached a lot and they had to use several Gigabit LAN adapters to cope with the traffic!), the only point of concern is that everything sometimes goes into “out of memory” problem for no apparent reason. Thus 64 bits are already becoming really required (yes, we need to consider adequateness of our memory consumption too).

RAM, Virtual Memory, Pagefile and all that stuff is a nice introduction into memory terms.

HOWTO: Use Replace In Files to automatically convert OUI list into C/C++ header file

IEEE OUI and Company_id Assignments is a list of manufacturers and corresponding codes which are used in MAC addresses and protocol identifiers:

The three-octet OUI can be used to generate Universal LAN MAC addresses and Protocol Identifiers per ANSI/IEEE Std 802 for use in Local and Metropolitan Area Network applications.

If your firm manufactures or plans to manufacture products using ISO/IEC 8802 standards, you should apply to IEEE for your firm’s OUI. The Institute of Electrical and Electronics Engineers, Inc. has been designated by the ISO Council to act as the registration authority for the implementation of International Standards in the ISO/IEC 8802 series. This is the one world-wide source of registered OUIs.

The full list is located at http://standards.ieee.org/regauth/oui/oui.txt.

Alax.Info Replace In Files can be used to process the file to create a C/C++ compatible header file of the following format:

{ 0x00, 0x11, 0xDF, “Arecont Systems” },
//0011DF (base 16) Arecont Systems
// 177 N Church Ave suite 1010
// Tucson Arizona 85701
// UNITED STATES

{ 0x00, 0x11, 0xE0, “U-MEDIA Communications, Inc.” },
//0011E0 (base 16) U-MEDIA Communications, Inc.
// 9F, No.1, Jin-Shan 7th St.
// Hsinchu 300
// TAIWAN, REPUBLIC OF CHINA

{ 0x00, 0x11, 0xE1, “BEKO Electronics Co.” },
//0011E1 (base 16) BEKO Electronics Co.
// Beylikduzu Mevkii Buyukcekmece
// Istanbul 34901
// TURKEY

Continue reading →