Magellan eXplorist: Automation continuted

Automation continued to interpret basic NMEA-0183 sentences: $GPGSV, $GPGLL, $PMGNST.

Additionally to bugfixing and serial connection NMEA-0183 reader, this update provides a new COM object to parse and interpret several sequences raising an event on interpretation.

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,86,334,,24,81,116,,06,80,080,,21,51,220,*7D
Input: $GPGSV,3,2,12,10,34,063,,30,34,164,,16,28,310,,31,23,256,*72
Input: $GPGSV,3,3,12,05,18,159,,12,06,150,,02,05,055,,18,02,179,*79
Satellites: 12
1: PRN 7, Elevation 86.0, Azimuth 334.0, SNR 0.00
2: PRN 24, Elevation 81.0, Azimuth 116.0, SNR 0.00
3: PRN 6, Elevation 80.0, Azimuth 80.0, SNR 0.00
4: PRN 21, Elevation 51.0, Azimuth 220.0, SNR 0.00
5: PRN 10, Elevation 34.0, Azimuth 63.0, SNR 0.00
6: PRN 30, Elevation 34.0, Azimuth 164.0, SNR 0.00
7: PRN 16, Elevation 28.0, Azimuth 310.0, SNR 0.00
8: PRN 31, Elevation 23.0, Azimuth 256.0, SNR 0.00
9: PRN 5, Elevation 18.0, Azimuth 159.0, SNR 0.00
10: PRN 12, Elevation 6.0, Azimuth 150.0, SNR 0.00
11: PRN 2, Elevation 5.0, Azimuth 55.0, SNR 0.00
12: PRN 18, Elevation 2.0, Azimuth 179.0, SNR 0.00

Input: $PMGNST,02.03,2,F,875,04.9,-00096,20*5D
Software Version: 02.03
Fix: Type 2, Availability false
Battery: Level 87.6%, Hours: 4.9

Input: $GPGLL,5156.7875,N,01621.8208,E,204642.824,A*3B
Fix: Latitude 51.94645833333333, Longitude 16.36368, Time 22:46:42 UTC+0200, Active true

Continue reading →

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 →