PAN9420 Command Specification

PAN9420 Command Specification
1 / 95 PagesView full catalog

PAN9420 Command Specification

Product catalog summary
Document Overview
This document is a command specification for the PAN9420 module, aimed at software engineers. It details communication protocols via UART and HTTP/JSON for various module features.
Module Overview
The PAN9420 is a 2.4 GHz 802.11 b/g/n embedded Wi-Fi module with an integrated stack and API, designed for cost-effective applications. It supports both access point and infrastructure modes.
Command Structure
Commands are categorized into Request, Response, and Error, using an ASCII-based format ending in "CR-LF". Requests can get or set values and trigger functionalities, while responses include return codes.
Software Modules
  • WLAN: Manages WLAN interfaces, including SSID, state, status, and security settings.
  • NET: Handles network configurations and settings.
  • Email: Manages email functionalities and configurations.
  • System: Covers system-level commands and configurations.
  • User Management: Manages user access and permissions.
  • Firmware-Update: Handles firmware update processes.
  • Command UART: Manages UART command interfaces.
  • GPIO: Controls general-purpose input/output settings.
  • HTTP Client: Manages HTTP client functionalities.
  • Netcat: Provides network utility functionalities.
  • Binary UART: Manages binary UART communications.
  • Time: Handles time-related functionalities.
  • UDP Messaging: Manages UDP messaging capabilities.
  • Webcat: Manages websocket-client functionalities.
Status Information
Includes details on telegram return codes, Wi-Fi parameters, mail service, user management, and firmware updates.
WLAN Configuration Parameters
  • SSID: Must be a string with ASCII printable characters, length 1-32.
  • PSK: For access-point, 8-63 ASCII characters; for WEP, 5, 10, 13, or 26 characters.
  • Security: Options include OPEN, WEP, WPA, WPA2, WPA2_MIX with varying support for station and access-point configurations.
  • Radio Channel: Optional parameter for setting a specific channel.
Command Specifications
  • Access Point Station List: Retrieves a list of connected devices by MAC address.
  • Wireless Network Scan: Initiates a scan for available networks.
  • Available Wireless Networks: Returns a list of networks with SSID, security type, signal strength, and channel.
  • WLAN Region Code: Retrieves the region code (EU or US).
  • WLAN BSSID: Retrieves the BSSID of the connected network.
  • WLAN Channel: Retrieves the current radio channel.
  • WLAN RSSI: Retrieves the current RSSI.
Device Naming and Services
  • Device Name: Universal name for services, limited to 26 letters, 10 digits, and hyphen.
  • MDNS Domain: Configurable name for MDNS service, limited to 31 characters.
  • MDNS State: Enables or disables MDNS service.
  • MDNS Server Configuration: Configurable for individual use with protocol name, port, TTL, and additional info.
  • NetBIOS Name Service: Configurable name, limited to 15 characters.
  • NetBIOS State: Enables or disables NBNS service.
Network Configuration
  • IP Configuration: Configures IP settings for interfaces, supporting manual and automatic modes.
  • DHCP Server Configuration: Configures DHCP server for access-point with options for state, start IP, lease time, and max clients.
Additional Features
  • Captive Portal: Can be toggled on or off, default state is off.
  • DNS Server Configuration: Allows configuration of DNS servers for different interfaces.
  • Ping Requests: Used to test connectivity to a specified IP address.
  • Email Module: Commands for setting sender's email address, configuring mail server, sending emails, and checking mail status and errors.
  • System Information: Commands to retrieve system version, firmware version, MAC address, serial number, and hardware revision.
  • Power Save Mode: Configures the power save mode of the radio chip.
Device Information
  • Commands to retrieve device information such as class, type, name, description, manufacturer ID, product ID, serial ID, and URLs for device information, shop, and help pages.
User Management
  • Outlines user rights and API commands for managing users, including editing, adding, deleting users, and managing user rights.
Firmware Update
  • Describes status codes for updates and provides commands to check progress, status, mode, and information about firmware updates.
Command UART
  • Used for communication with the host controller, with default configurations including a baud rate of 115200.
Unsolicited Commands
  • Supports several unsolicited commands to inform the host controller about various events.
Supported Baud Rates
  • Range from 300 to 1,500,000, providing flexibility for various communication needs.
API Commands (CMD UART)
  • Outlines several API commands for writing and reading data, configuring UART settings, and managing user rights.
GPIO Configuration
  • Offers GPIO pins that can be configured for input or output modes.
HTTP Client Configuration
  • Includes commands for managing client state, status, server configuration, and resource management.
Netcat Module
  • Provides status values and commands to manage its state, facilitating data transmission over network connections.
TCP Connection Management
  • Controls TCP-Listen or TCP-Connect states.
Netcat Module Configuration
  • Can be set to 'client' or 'server' mode.
Telnet Option
  • Enables or disables the telnet feature.
Authentication
  • Controls authentication feature.
Binary UART (BIN UART)
  • Transfers binary data between module and host controller.
Time Management Module
  • Allows retrieval and setting of the UTC time in ISO 8601 format.
UDP Messaging Module
  • Controls the on/off state of the UDP messaging module.
Webcat (Websocket-Client) Module
  • Includes server configuration, state management, and status checking.
Server Extension (serverext)
  • Command option to Get/Set server extension parameters.
Status Information
  • Includes telegram return codes and descriptions for various states and errors.
Contact Details
  • Provides contact information for Panasonic sales offices in the EU and North America.
See more

Catalog excerpts

PAN9420 Command Specification-2

By purchase of any of the products described in this document the customer accepts the document's validity and declares their agreement and understanding of its contents and recommendations. Panasonic Industrial Devices Europe GmbH (Panasonic) reserves the right to make changes as required at any time without notification. © Panasonic Industrial Devices Europe GmbH 2017. This specification sheet is copyrighted. Reproduction of this document is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Do not disclose...

 Open the catalog to page 2
PAN9420 Command Specification-3

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 3

 Open the catalog to page 3
PAN9420 Command Specification-4

Parasonic PAN9420 Firmware Version 1.1.x.x 1 About This Document This Command Specification provides details on the communication via UART and HTTP/JSON for the various features of the PAN9420 module. It is intended for software engineers. The product is referred to as “the PAN9420” or “the module” within this document. Please refer to the Panasonic website for related documents ^ 6.2 Product Information. Command Specification Rev. 1.0 Page 4

 Open the catalog to page 4
PAN9420 Command Specification-5

PAN9420 Firmware Version 1.1.x.x 2 Overview 2 Overview The PAN9420 is a 2.4 GHz 802.11 b/g/n embedded Wi-Fi module with integrated stack and API that minimizes firmware development and includes a full security suite. The module is specifically designed for highly integrated and cost-effective applications. The module includes a fully shielded case, integrated crystal oscillators, and a chip antenna. The module combines a high-performance CPU, high-sensitivity wireless radio, baseband processor, medium access controller, encryption unit, boot ROM with patching capability, internal SRAM, and in-system...

 Open the catalog to page 5
PAN9420 Command Specification-6

Parasonic PAN9420 Firmware Version 1.1.x.x 3 Commands3.1 General There are three types of commands: • Request • Response • Error The format is ASCII-based and ending with “CR-LF”. „Request“ Command • Request data • Set values • Trigger various functionalities Structure Command Specificatio

 Open the catalog to page 6
PAN9420 Command Specification-7

Parasonic PAN9420 Firmware Version 1.1.x.x „Error“ Message Structure „Error‘ Return Code Further information on the return codes ^ 5.1 Telegram Return Code. 3.2 Command Templates and Examples Templates Template for HTTP/JSON Interface HTTP/JSON Request Example of JSON-Request (with HTTP-Header) POST /ajax/cfgpars.json?rauth=0x00 HTTP/1.1 Host: 192.168.1.1 Connection: keep-alive Content-Length: 221 Accept: text/html, */*; q=0.01 Origin: http://192.168.1.1 X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116...

 Open the catalog to page 7
PAN9420 Command Specification-8

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 8

 Open the catalog to page 8
PAN9420 Command Specification-9

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 9

 Open the catalog to page 9
PAN9420 Command Specification-10

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 10

 Open the catalog to page 10
PAN9420 Command Specification-11

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 11

 Open the catalog to page 11
PAN9420 Command Specification-12

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 12

 Open the catalog to page 12
PAN9420 Command Specification-13

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 13

 Open the catalog to page 13
PAN9420 Command Specification-14

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 14

 Open the catalog to page 14
PAN9420 Command Specification-15

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 15

 Open the catalog to page 15
PAN9420 Command Specification-16

Parasonic PAN9420 Firmware Version 1.1.x.x 4.1.11 WLAN Channel (variable: channel) Definition 4.1.12 WLAN RSSI (variable: rssi) Definition Command Specification Rev. 1.0 Page 16

 Open the catalog to page 16
PAN9420 Command Specification-17

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 17

 Open the catalog to page 17
PAN9420 Command Specification-18

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 18

 Open the catalog to page 18
PAN9420 Command Specification-19

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 19

 Open the catalog to page 19
PAN9420 Command Specification-20

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 20

 Open the catalog to page 20
PAN9420 Command Specification-21

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 21

 Open the catalog to page 21
PAN9420 Command Specification-22

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 22

 Open the catalog to page 22
PAN9420 Command Specification-23

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 23

 Open the catalog to page 23
PAN9420 Command Specification-24

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 24

 Open the catalog to page 24
PAN9420 Command Specification-25

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 25

 Open the catalog to page 25
PAN9420 Command Specification-26

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 26

 Open the catalog to page 26
PAN9420 Command Specification-27

Parasonic PAN9420 Firmware Version 1.1.x.x 4.3.6 Response PING (variable: ping) Command Specification Rev. 1.0 Page 27

 Open the catalog to page 27
PAN9420 Command Specification-28

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 28

 Open the catalog to page 28
PAN9420 Command Specification-29

Parasonic PAN9420 Firmware Version 1.1.x.x 4.4.2.2 Server Configuration (variable: server) Definition Command Specification Rev. 1.0 Page 29

 Open the catalog to page 29
PAN9420 Command Specification-30

Parasonic PAN9420 Firmware Version 1.1.x.x 4.4.2.3 Mail Sending (variable: send) Definition 4.4.2.4 Mail Status (variable: status) Definition Command Specification Rev. 1.0 Page 30

 Open the catalog to page 30
PAN9420 Command Specification-31

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 31

 Open the catalog to page 31
PAN9420 Command Specification-32

Parasonic PAN9420 Firmware Version 1.1.x.x 4.5.1.2 Firmware Version (variable: firmware) Definition 4.5.1.3 MAC Address (variable: macaddr) Definition Command Specification Rev. 1.0 Page 32

 Open the catalog to page 32
PAN9420 Command Specification-33

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 33

 Open the catalog to page 33
PAN9420 Command Specification-34

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 34

 Open the catalog to page 34
PAN9420 Command Specification-35

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 35

 Open the catalog to page 35
PAN9420 Command Specification-36

Parasonic PAN9420 Firmware Version 1.1.x.x 4.5.1.10 Save Mode (variable: savemode) Definition 4.5.1.11 Save the Configuration (variable: savecfg) Definition Command Specification Rev. 1.0 Page 36

 Open the catalog to page 36
PAN9420 Command Specification-37

Parasonic PAN9420 Firmware Version 1.1.x.x 4.5.1.12 Power Save Mode (variable: psm) Definition Command Specification Rev. 1.0 Page 37

 Open the catalog to page 37
PAN9420 Command Specification-38

Parasonic PAN9420 Firmware Version 1.1.x.x 4.5.1.13 Device Information (variable: device) Definition 4.5.1.14 Device Description (variable: dev_dec) Definition Command Specification Rev. 1.0 Page 38

 Open the catalog to page 38
PAN9420 Command Specification-39

Parasonic PAN9420 Firmware Version 1.1.x.x Command Specification Rev. 1.0 Page 39

 Open the catalog to page 39

Archived catalogs

  1. POSCAP

    40  Pages

  2. PAN1326C2

    1  Page

  3. PAN9026

    82  Pages

  4. PAN1326C

    40  Pages

  5. PAN1762

    17  Pages

  6. PAN1326C2 2019

    48  Pages

  7. PAN1761

    2  Pages

  8. PAN1740

    41  Pages

  9. PAN1760A

    2  Pages

  10. E-Bike Systems

    12  Pages

  11. Microcomputer

    24  Pages

  12. YD-350GB2

    2  Pages

  13. Positioners

    4  Pages

  14. DTPS-G3

    4  Pages

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.