Web Based Interfaces for Digital 2- Way Radio NW Digital Radio - - PowerPoint PPT Presentation

web based interfaces for digital 2 way radio
SMART_READER_LITE
LIVE PREVIEW

Web Based Interfaces for Digital 2- Way Radio NW Digital Radio - - PowerPoint PPT Presentation

Web Based Interfaces for Digital 2- Way Radio NW Digital Radio Corporation Our Market Amateur (Ham) Radio Operators Emergency Communications Support Digital Data (Messaging), Digital Voice Ad-Hoc Networking Situational


slide-1
SLIDE 1

Web Based Interfaces for Digital 2- Way Radio

NW Digital Radio Corporation

slide-2
SLIDE 2

Our Market

  • Amateur (Ham) Radio Operators

– Emergency Communications Support

  • Digital Data (Messaging), Digital Voice
  • Ad-Hoc Networking

– Situational Awareness

  • Geolocation

– Experimentation

  • New Modulation Techniques
  • New Protocols

slide-3
SLIDE 3

Radio Design

  • 30 Watts UHF (430-450 Mhz.)
  • Embedded ARM Based Computing Platform
  • I/Q 2-point Modulation and Detection
  • Ethernet
  • 4 Host USB Ports
  • Software Defined Modems (Socket Interface)
  • Software Defined Protocols (Socket Interface)
  • Embedded Applications on Linux OS (Debian)
slide-4
SLIDE 4

Configuration and Control

  • No Physical Controls
  • All Control is Via Network (Ethernet, WiFi, etc.)

– Frequency – Power – Protocol – Modulation

slide-5
SLIDE 5

Monitor and Communicate

  • Monitor

– Environment – Performance (RSSI and BER)

  • Voice and Data I/O

– Streamed – Packet Switched

slide-6
SLIDE 6

The Software Challenge

  • Sockets to Hardware for Control and Monitoring
  • Sockets to Multi-Stage Pipeline

– Voice and/or Data – Protocol – Modem – RF – Configuration and Transport

  • No / Low Jitter Streaming for Digital Voice
slide-7
SLIDE 7

The Software Challenge

  • Target Rich Clients

– Multiple Operating Systems / Environments – Smart Phones, Tablets, Desktops, Purpose Built – I18n / Support for Disabilities

  • Inter-Application Data Streams

– On Processor – Over Internet – No UI Endpoint

slide-8
SLIDE 8

Websockets

  • Started by learning about Websockets

– Full interaction between modern browsers and web

application

– Useable with non-web GUI elements – Implemented some crude applications – Required intimate knowledge – Gave some of the functionality needed

slide-9
SLIDE 9

node.js to the Rescue

  • Discovered node.js as a framework Fall 2012
  • Provided a container and the use of JavaScript

– Server – Client

  • Introduction to programmers
  • Much quicker implementations with reusable

design patterns

slide-10
SLIDE 10

“Packet Capture”

  • Existing network based programs use well known
  • r configurable ports
  • Use “pcap” module

– Leaverage pcap filters from tcpdump

  • Capture packets (UDP or TCP)

– Protocol handlers (D-STAR / APRS) – Events update model in app – Push model state as JSON to “subscribers”

slide-11
SLIDE 11

Endpoint Socket Communications

  • Open sockets to applications and modules

– Use “dgram” module – Communication

  • Exchange streams
  • Data and Configuration
  • Authentication

– Use “crypto” module

  • Monitor and Control Radio
slide-12
SLIDE 12

Web Interfaces

  • Use socket.io to abstract transport

– Pass JSON objects bidirectionally – Replicate state model on server and web

  • Update via JSON objects
  • Use http or express to manage presentation path

– Light HTML with JavaScript DOM modification – Do not use JADE or other layout languages

  • Manage sessions for multiple users
slide-13
SLIDE 13

Shared Model

  • Multiple clients in application(s)

– Endpoint sockets – Packet capture

  • Server for Web/socket.io clients
  • Data is passed between clients and server using

shared objects within the application.

– Queues – Events

slide-14
SLIDE 14

Questions