Device Commands

 

AT+Start - Starts the NWP

Request:

AT+Start

 

Response:

OK

Arguments:

none

Arguments:

none

 

 

AT+Stop - Stops the NWP

Request:

AT+Stop =[Timeout]

Response:

OK

Arguments:

·         Timeout - Stop timeout in msec. should be used to give the device time to finish 
any transmission/reception that is not completed when the function was called

o    0 Enter to hibernate immediately 

o    0xFFFF Host waits for device's response before hibernating, without             timeout protection 

o    0 < Timeout[msec] < 0xFFFF Host waits for device's response before hibernating, with a defined timeout protection 
This timeout defines the max time to wait. The NWP 
response can be sent earlier than this timeout.

Arguments:

none

 

 

 

AT+Get - Getting device configurations

Request:

AT+Get= [ID],[Option]

Response:

+Get:[Value1],..,[ValueX]

OK

Arguments:

Arguments:

ID

Option

return values

Status

Device

value1: bitmask:

 

General error

WLAN

 value1: bitmask:

·         WLANASYNCONNECTEDRESPONSE

·         WLANASYNCDISCONNECTEDRESPONSE

·         STA_CONNECTED

·         STA_DISCONNECTED

·         P2P_DEV_FOUND

·         CONNECTION_FAILED

·         P2P_NEG_REQ_RECEIVED

·         RX_FILTERS

·         WLAN_STA_CONNECTED

BSD

value1: bitmask:

 

·         TX_FAILED

NETAPP

value1: bitmask:

·         IPACQUIRED

·         IPACQUIRED_V6

·         IP_LEASED

·         IP_RELEASED

·         IPV4_LOST

·         DHCP_ACQUIRE_TIMEOUT

·         IP_COLLISION

·         IPV6_LOST

General

Version

Value1: Chip Id

Value2: Fw Version (x.x.x.x)

Value3: Phy Version (x.x.x.x)

Value4: Nwp Version (x.x.x.x)

Value5: Rom Version

Time

Value1: Hour -  Current hours

Value2: Minute -  Current minutes

Value3: Second - Current seconds

Value4: Day - Current Date 1-31

Value5: Month - Current Month 1-12

Value6: Year - Current year

Persistent

Value1:

·         1 – Enable

·         0 - Disable

IOT

UDID

 16 bytes

 

 

AT+Set - Setting device configurations

Request:

AT+Set= [ID],[Option],[Value1],..,[ValueX]

Response:

OK

Arguments:

 

ID

Option

Values

 

General

Persistent – Sets the default system-wide configuration persistence mode. In case true, all APIs that follow 'system configured' persistence (see persistence attribute noted per API) shall maintain the configured settings. In case false, all calls to APIs that follow 'system configured' persistence shall be volatile. Configuration should revert to default after reset or power recycle.

Value1:

·         1 - Enable

·         0 - Disable

Time - sets the device time and date

Value1: Hour -  Current hours

Value2: Minute -  Current minutes

Value3: Second - Current seconds

Value4: Day - Current Date (1-31)

Value5: Month - Current Month (1-12)

Value6: Year - Current year

 

 

AT+Test – Test command

Request:

AT+Test

Response:

OK

Arguments:

none

Arguments:

none

 

 

Socket Commands

 

AT+Socket Create an endpoint for communication

Request:

AT+Socket= [Domain],[Type],[Protocol]

Response:

+Socket: [socket]

OK

Arguments:

·         Domain - Specifies the protocol family of the created socket:

o    INET - for network protocol IPv4

o    INET6 - for network protocol IPv6

o    RF - for starting transceiver mode

·         Type - specifies the communication semantic:

o    STREAM - reliable stream-oriented service or Stream Sockets

o    DGRAM - datagram service or Datagram Sockets

o    RAW - raw protocols atop the network layer

·         Protocol - specifies a particular transport to be used with the socket:

o    TCP

o    UDP

o    RAW

o    SEC

 

Arguments:

socket - Socket descriptor which will be used in the following commands

 

AT+Close - Close socket

Request:

AT+Close= [socket]

Response:

OK

+Close: [socket]

Arguments:

·         socket - Socket descriptor received from AT+Socket command

 

AT+Accept - Accept a connection on a socket

Request:

AT+Accept = [socket],[family]

Response:

OK

+Accept: [NewSocket],[Family],[Port],[Address]

Arguments:

  • socket - Socket descriptor received from AT+Socket command
  • family- Specifies the protocol family of the created socket:

o    INET - for network protocol IPv4

o    INET6 - for network protocol IPv6

Arguments:

  • NewSocket – New connected socket
  • Family - Internet Protocol (AF_INET)
  • Port - Address port
  • Address - Peer socket address

 

AT+Bind - Assign a name to a socket

Request:

AT+Bind = [Socket],[Family],[Port],[Address]

Response:

OK

Arguments:

·         Socket - Received from AT+Socket command

·         Family - Internet Protocol

o   INET - for network protocol IPv4

o   INET6 - for network protocol IPv6

·         Port - Address port

·         Address - Local socket address

 

AT+Listen Listen for connections on a socket

Request:

AT+Listen = [socket],[backlog]

Response:

OK

Arguments:

·         socket - Received from AT+Socket command

·         backlog - Listen queue depth

 

 

 

AT+Connect Initiate a connection on a socket

Request:

AT+Connect = [Socket],[Family],[Port],[Address]

Response:

OK

+Connect : [Port], [Address]

Arguments:

·         Socket - Received from AT+Socket command

·         Family - Internet Protocol

o   INET - for network protocol IPv4

o   INET6 - for network protocol IPv6

·         Port - Address port

·         Address - Peer socket address (“x.x.x.x”)

 

 

AT+Select Monitor socket activity

Request:

AT+Select = [nfds],[readsds],[timeout sec],[timeout usec]

Response:

OK

+Select: [readsds]

Arguments:

·         nfds - The highest-numbered file descriptor in any of the three sets (read, write and except)

·         readsds - Socket descriptors as bit list (example - 0|2 for monitoring socket 0 and socket 2)

·         timeout sec– Time in seconds  - Is an upper bound on the amount of time elapsed before select() returns. 0 means return immediately.

·         timeout usec - Time in microseconds

Arguments:

·         readsds – Socket descriptors list for read monitoring and accept monitoring.

 

 

 

AT+SetSockOpt Set socket options

Request:

AT+SetSockOpt = [sd],[Level],[Option],[Value1],..,[ValueX]

Response:

OK

Arguments:

sd - Socket descriptor

level – Defines the protocol level for this option

Option

Values

SOCKET 

KEEPALIVE - Enable/Disable periodic keep alive. Keeps TCP connections active by enabling the periodic transmission of messages

Value1:

·         1- Enable

·         0 - Disable

KEEPALIVETIME - Set keep alive timeout

Value1: Timeout in seconds

RX_NO_IP_BOUNDARY - Enable/Disable rx ip boundary

Value1: 

·         1- Enable

·         0 - Disable

RCVTIMEO - Sets the timeout value that specifies the maximum amount of time an input function waits until it completes

Value1: Seconds

Value2: Microseconds. 10000 microseconds resolution

RCVBUF - Sets tcp max recv window size

Value1: Size in bytes

NONBLOCKING - Sets socket to non-blocking

Value1: 

·         1- Enable

·         0 - Disable

SECMETHOD - Sets method to tcp secured socket

Value1 – Security method:

·         SSLV3 - security method SSL v3

·         TLSV1 - security method TLS v1

·         TLSV1_1 - security method TLS v1_1

·         TLSV1_2 - security method TLS v1_2

·         SSLV3_TLSV1_2 - use highest possible version from SSLv3 - TLS 1.2

·         DLSV1 - security method DTL v1

SECURE_MASK -Sets specific cipher to tcp secured socket

·         Value1 -  cipher type:

·         SSL_RSA_WITH_RC4_128_SHA

·         SSL_RSA_WITH_RC4_128_MD5

·         TLS_RSA_WITH_AES_256_CBC_SHA 

·         TLS_DHE_RSA_WITH_AES_256_CBC_SHA 

·         TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA 

·         TLS_ECDHE_RSA_WITH_RC4_128_SHA                  

·         TLS_RSA_WITH_AES_128_CBC_SHA256                 

·         TLS_RSA_WITH_AES_256_CBC_SHA256                 

·         TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

·         TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256

·         TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

·         TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA

·         TLS_RSA_WITH_AES_128_GCM_SHA256                 

·         TLS_RSA_WITH_AES_256_GCM_SHA384

·         TLS_DHE_RSA_WITH_AES_128_GCM_SHA256

·         TLS_DHE_RSA_WITH_AES_256_GCM_SHA384

·         TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

·         TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

·         TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

·         TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384

·         TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256

·         TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

·         TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256

SECURE_FILES_CA_FILE_NAME - Map secured socket to CA file by name

Value1: File name

SECURE_FILES_PRIVATE_KEY_FILE_NAME - Map secured socket to private key by name

Value1: File name

SECURE_FILES_CERTIFICATE_FILE_NAME -  Map secured socket to certificate file by name

Value1: File name

SECURE_FILES_DH_KEY_FILE_NAME - Map secured socket to Diffie Hellman file by name

Value1: File name

CHANGE_CHANNEL - Sets channel in transceiver mode

Value1: Channel number  (range is 1-13)

SECURE_ALPN - Sets the ALPN list

Value1 - the parameter is a bit map consist of or of the following values: H1 | H2 | H2C | H2_14 | H2_16 | FULL_LIST

LINGER - Socket lingers on close pending remaining send/receive packets

Value1:

·         0 = disabled

·         1 = enabled

Value2: linger time in seconds

SECURE_EXT_CLIENT_CHLNG_RESP - Set with no parameter to indicate that the client uses external signature using netapp request

Vlaue1: ignore

SECURE_DOMAIN_NAME_VERIFICATION - Set a domain name, to check in ssl client connection

Value1: Domain name

IP 

MULTICAST_TTL - Set the time-to-live value of outgoing multicast packets for this socket

Value1 – Number of Hops

ADD_MEMBERSHIP - UDP socket, Join a multicast group

Value1: IPv4 multicast address to join

Value2: multicast interface address

DROP_MEMBERSHIP - UDP socket, Leave a multicast group

Value1: IPv4 multicast address to join

Value2: multicast interface address

RAW_RX_NO_HEADER - Raw socket remove IP header from received data

Value1:

·         1-Remove header

·         0 - keep

HDRINCL - RAW socket only, the IPv4 layer generates an IP header when sending a packet unless this option is enabled on the socket

Value1: 

·         1- Enable

·         0 - Disable

RAW_IPV6_HDRINCL - RAW socket only, the IPv6 layer generates an IP header when sending a packet unless this option is enabled on the socket

Value1: 

·         1- Enable

·         0 - Disable

PHY 

PHY_RATE - Set WLAN PHY transmit rate on RAW socket

Value1: Rate

PHY_TX_POWER - RAW socket, set WLAN PHY TX power

Value1: Power rage is 1-15

PHY_NUM_FRAMES_TO_TX - RAW socket, set number of frames to transmit in transceiver mode

Value1: Number of frames

PHY_PREAMBLE - RAW socket, set WLAN PHY preamble for Long/Short

Value1: Preamble value

PHY_TX_INHIBIT_THRESHOLD - RAW socket, set WLAN Tx Inhibit Threshold (CCA).

Value1 - Threshold value:

·         MIN

·         LOW

·         DEFAULT

·         MED

·         HIGH

·         MAX

PHY_TX_TIMEOUT - RAW socket, changes the TX timeout (lifetime) of transceiver frames

Value1: time in milliseconds, maximum value is 10ms

PHY_ALLOW_ACKS - RAW socket, Enable sending ACKs in transceiver mode

Value1:

·         0  - disabled

·         1  - enabled

 

 

AT+GetSockOpt Get socket options

Request:

AT+GetSockOpt = [sd],[level],[option]

Response:

+GetSockOpt: [value1],..,[valueX]

OK

Arguments:

·         sd - Socket handle

·         level – Defines the protocol level for this option (See AT+SetSockOpt)

·         option - Defines the option name to interrogate (See AT+SetSockOpt)

Arguments:

·         value1,..,valueX – See AT+SetSockOpt command

 

AT+Recv Read data from TCP socket

Request:

AT+Recv = [sd],[format],[length]

Response:

OK

+Recv: [sd],[length],[data]

Arguments:

·         sd - Socket handle

·         format - data format:

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         length - max number of bytes to receive

 

 

AT+RecvFrom Read data from socket

Request:

AT+RecvFrom = [sd],[family],[port],[addr],[format],[length]

Response:

OK

+RecvFrom: [sd],[length],[data]

Arguments:

·         sd - Socket handle

·         family - Internet Protocol

o    INET - for network protocol IPv4

o    INET6 - for network protocol IPv6

·         port - Address port (16 bits)

·         addr - Internet address (32 bits)

·         format - data format:

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         length - max number of bytes to receive

 

 

AT+Send Write data to TCP socket

Request:

AT+Send = [sd],[format],[length],[data]

Response:

OK

Arguments:

·         sd - Socket handle

·         format - data format:

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         length - number of bytes to send

·         data - Data to send

 

 

AT+SendTo Write data to socket

Request:

AT+SendTo = [sd],[family],[port],[addr],[format],[length],[data]

Response:

OK

Arguments:

·         sd - Socket handle

·         family - Internet Protocol

o    INET - for network protocol IPv4

o    INET6 - for network protocol IPv6

·         port - Address port (16 bits)

·         addr - Internet address (32 bits)

·         format - data format:

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         length - number of bytes to send

·         data – data to send

 

 

 

Wlan Commands

 

AT+WlanConnect Connect to wlan network as a station

Request:

AT+WlanConnect = [SSID],[BSSID],[SecurityType],[SecurityKey],[SecurityExtUser], [SecurityExtAnonUser],[SecurityExtEapMethod]

Response:

OK

Arguments:

·         SSID - Name of the Access Point

·         BSSID - Access Point MAC address (Optional)

·         SecurityType - Security type:

o    OPEN

o    WEP

o    WEP_SHARED

o    WPA_WPA2

o    WPA_ENT

o    WPS_PBC

o    WPS_PIN

·         SecurityKey – Password (Optional in case no needed)

·         SecurityExtUser – Enterprise user name parameters (Ignored  in case WPA_ENT was not selected)

·         SecurityExtAnonUser - Enterprise anonymous user name parameters (Ignored  in case WPA_ENT was not selected)

·         SecurityExtEapMethod - Extensible Authentication Protocol (Ignored  in case WPA_ENT was not selected):

o    TLS

o    TTLS_TLS

o    TTLS_MSCHAPv2

o    TTLS_PSK

o    PEAP0_TLS

o    PEAP0_MSCHAPv2

o    PEAP0_PSK

o    PEAP1_TLS

o    PEAP1_PSK

 

 

AT+WlanDisconnect Disconnect connection

Request:

AT+WlanDisconnect

Response:

OK

Arguments:

·         none

 

AT+WlanProfileAdd Add profile

Request:

AT+WlanProfileAdd = [SSID],[BSSID],[SecurityType],[SecurityKey],[SecurityExtUser], [SecurityExtAnonUser],[SecurityExtEapMethod],[Priority]

Response:

+WlanProfileAdd: [index]

OK

Arguments:

·         SSID - Name of the Access Point

·         BSSID - Access Point MAC address (Optional)

·         SecurityType - Security type:

o    OPEN

o    WEP

o    WEP_SHARED

o    WPA_WPA2

o    WPA_ENT

o    WPS_PBC

o    WPS_PIN

·         SecurityKey – Password (Optional in case no needed)

·         SecurityExtUser – Enterprise user name parameters (Ignored  in case WPA_ENT was not selected)

·         SecurityExtAnonUser - Enterprise anonymous user name parameters (Ignored  in case WPA_ENT was not selected)

·         SecurityExtEapMethod - Extensible Authentication Protocol (Ignored  in case WPA_ENT was not selected):

o    TLS

o    TTLS_TLS

o    TTLS_MSCHAPv2

o    TTLS_PSK

o    PEAP0_TLS

o    PEAP0_MSCHAPv2

o    PEAP0_PSK

o    PEAP1_TLS

o    PEAP1_PSK

·         Priority - Profile priority. Lowest priority: 0, Highest priority: 15.

Arguments:

·         index - Profile stored index

 

 

AT+WlanProfileGet Get profile

Request:

AT+WlanProfileGet = [index]

Response:

+WlanProfileGet: [SSID],[BSSID],[SecurityType],[SecurityExtUser],[SecurityExtAnonUser],[SecurityExtEapMethod],[priority]

OK

Arguments:

·         index - Profile stored index received from +WlanProfileAdd

Arguments:

See AT+WlanProfileAdd command

 

 

 

 

AT+WlanProfileDel Delete profile

Request:

AT+ WlanProfileDel = [index]

Response:

OK

Arguments:

·         index - number of profile to delete received from +WlanProfileAdd

To delete all profiles use index = 0xFF

 

 

AT+WlanPolicySet Set policy values

Request:

AT+WlanPolicySet = [Type],[Option],[Value]

Response:

OK

Arguments:

Type

Option

Value

CONNECTION - Defines options available to connect to the AP

(Options could be set as bit masked).

No option selected = disable all

Auto - Reconnect to one of stored profiles, each time the connection fails or the device is rebooted

ignore

Fast - Establish a fast connection to AP

ignore

P2P - Automatically connect to the first P2P device available

ignore

Auto_Provisioning - Start the provisioning process after a long period of disconnection when profiles exist

ignore

SCAN - defines system scan time interval. interval is 10 minutes. After settings scan interval, an immediate scan is activated

Hidden_SSID

Scan interval in seconds

No_Hidden_SSID

Scan interval in seconds

Disable_Scan

ignore

PM - defines a power management policy for Station mode

Normal

ignore

Low_Latency

ignore

Low_Power

ignore

Always_On

ignore

Long_Sleep

max sleep time in milliseconds

P2P - defines p2p negotiation policy parameters for P2P role

- CLIENT: Indicates that the device is forced to be CLIENT.

GROUP_OWNER: Indicates that the device is forced to be P2P GO

NEGOTIATE: Indicates that the device can be either CLIENT or GO, depending on the Wi-Fi Direct negotiation tie-breaker.

ACTIVE: When the remote peer is found after the discovery process, the device immediately sends the negotiation request to the peer device.

PASSIVE: When the remote peer is found after the discovery process, the device passively waits for the peer to start the negotiation, and only responds after.

RAND_BACKOFF: When the remote peer is found after the discovery process, the device triggers a random timer (1 to 6 seconds). During this period, the device passively waits for the peer to start the negotiation. If the timer expires without negotiation, the device immediately sends the negotiation request to the peer device

 

 

AT+WlanPolicyGet Get policy values

Request:

AT+WlanPolicyGet = [Type]

Response:

+WlanPolicyGet: [Option],[Value]

OK

Arguments:

·         Type - Type of policy. The Options are:

o    CONNECTION - Get connection policy

o    SCAN Get scan policy

o    PM Get power management policy

o    P2P - Get P2P policy

Arguments:

·         Option - See AT+WlanPolicySet command

·         Value - See AT+WlanPolicySet command

 

 

 

AT+WlanScan Gets the WLAN scan operation results

Request:

AT+WlanScan = [Index],[Count]

Response:

+WlanScan:

[SSID],[BSSID],[RSSI],[Channel],[Security_Type],[Hidden_SSID],[Cipher],[Key_Mgmt];

OK

Arguments:

·         Index - Starting index identifier (range 0-29) for getting scan results.

·         Count - How many entries to fetch. Max is 30

Arguments:

·         SSID – Wireless LAN identifier

·         BSSID - MAC address of the wireless access point

·         Channel

·         RSSI - Relative received signal strength in a wireless environment

·         Security_Type -

o    OPEN

o    WEP

o    WPA

o    WPA2

o    WPA_WPA2

·         Hidden_SSID

o    1 - hidden

o    0 - no

·         Cipher -

o    None

o    WEP40

o    WEP104

o    TKIP

o    CCMP

·         Key_Mgmt

o    None

o    802_1_X

o    PSK

 

 

AT+WlanProvisioning Start provisioning

Request:

AT+WlanProvisioning = [Cmd],[Role],[Period],[Key],[Flag]

Response:

OK

Arguments:

·         Cmd - provisioning mode requested:

o    AP - Start AP provisioning (AP role)

o    SC - Start Smart Config provisioning (STA role)

o    APSC - Start AP+Smart Config provisioning (AP role)

o    APSC_EXT_CFG - Start AP + Smart Config + WAC provisioning (AP role)

o    STOP - Stop provisioning

o    ABORT_EXT_CFG

·         Role - The role that the device will switch to in case of a successful provisioning:

o    STA - Station

o    AP – Access point

·         Period - The period of time (in seconds) the system waits before it automatically stops the provisioning process when no activity is detected

·         Key - Smart Config key: public key for smart config process ( Optional - relevant for smart config only)

·         Flag – (Optional)

o    None - (default)

o    EXT_CONFIRM - Confirmation phase will be completed externally by host (e.g. via cloud assist)

 

AT+WlanSetMode Wlan set mode

Request:

AT+WlanSetMode = [Mode]

Response:

OK

Arguments:

·         Mode - WLAN mode to start the device:

o    STA - for WLAN station mode

o    AP - for WLAN Access Point mode

o    P2P -for WLAN P2P mode

 

 

AT+WlanSet Setting WLAN configurations

Request:

AT+WlanSet = [ID],[Option],[Value1],..,[ValueX]

Response:

OK

Arguments:

ID

Option

Values

AP

SSID - Set SSID for AP mode

String up to 32 characters

 

CHANNEL - Set channel for AP mode

Channel in the range of [1-11]

HIDDEN_SSID - Set Hidden SSID Mode for AP mode

·         0 - disabled

·         1 - Send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID

·         2 - Clear SSID (ASCII 0), but keep the original length (this may be required with some clients that do not support empty SSID) and ignore probe requests for broadcast SSID

 

SECURITY - Set Security type for AP mode

·         OPEN - Open security

·         WEP  - WEP security

·         WPA_WPA2 - WPA security

 

PASSWORD - Set Password for for AP mode (for WEP or for WPA)

·         Password for WPA: 8 - 63 characters

·         Password for WEP: 5 / 13 characters (ascii)

 

MAX_STATIONS - Set Max AP stations

1..4 - Note: can be less than the number of currently connected stations

 

MAX_STA_AGING - Set Max station aging time

Number of seconds

 

ACCESS_LIST_MODE - Set AP access list mode

·         DISABLE

·         DENY_LIST -  Set Black List Mode

 

ACCESS_LIST_ADD_MAC - Add MAC address to the AP access list

MAC address - 6 characters

 

ACCESS_LIST_DEL_MAC - Delete MAC address from the AP access list

MAC address - 6 characters

 

ACCESS_LIST_DEL_IDX - Delete MAC address from index in the AP access list

index

GENERAL

 

COUNTRY_CODE - Set Country Code for AP mode

2 characters country code

 

STA_TX_POWER - Set STA mode Tx power level

Number between 0-15, as dB offset from max power (0 will set MAX power)

 

AP_TX_POWER  Set AP mode Tx power level

Number between 0-15, as dB offset from max power (0 will set MAX power)

 

INFO_ELEMENT - Set Info Element for AP mode

·         Value1 - Index of the info element

·         Value2 - Role:

o    AP

o    P2P

·         Value3 - Info element ID.

·         Value4 - Organization unique ID first Byte

·         Value5 - Organization unique ID second Byte

·         Value6 - Organization unique ID third Byte

·         Value7 - Info element (max 252 chars)

 

SCAN_PARAMS - Set scan parameters

·         Value1 - Channel mask

·         Value2 - RSSI threshold

 

SUSPEND_PROFILES - Set suspended profiles mask

suspended bitmask

 

DISABLE_ENT_SERVER_AUTH - This option enables to skip server authentication and is valid for one use, when manually connection to an enterprise network

 

·         1 - disable the server authentication

·         0 - enable

P2P

DEV_TYPE - Set P2P Device type

Device type is published under P2P I.E (Maximum length of 17 characters)

 

CHANNEL_N_REGS - Set P2P Channels

  • Value1 - listen channel (either 1/6/11 for 2.4GHz)
  • Value2 - listen regulatory class (81 for 2.4GHz)
  • Value3 - oper channel (either 1/6/11 for 2.4GHz)
  • Value4 - oper regulatory class (81 for 2.4GHz)

RX_FILTER

STATE - Enable or disable filters

Filter Bitmap array (16 bytes in format xx:xx)

 

SYS_STATE - Enable or disable system filters

Filter Bitmap array (4 bytes in format xx:xx)

 

REMOVE - Remove filters

Filter Bitmap array (16 bytes in format xx:xx)

 

STORE - Save the filters as persistent

null

 

 

AT+ WlanGet Getting WLAN configurations

Request:

AT+WlanGet = [ID],[Option]

 

Response:

+WlanGet: [Value1],..,[ValueX]

OK

Arguments:

Arguments:

See AT+WlanSet command

 

ID

Option

 

AP

SSID - Get SSID for AP mode

 

CHANNEL - Get channel for AP mode

 

HIDDEN_SSID - Get Hidden SSID Mode for AP mode

 

SECURITY - Get Security type for AP mode

 

PASSWORD - Get Password for AP mode (for WEP or for WPA)

 

MAX_STATIONS Get Max AP allowed stations

 

MAX_STA_AGING - Get AP aging time in seconds

 

ACCESS_LIST_NUM_ENTRIES - Get AP access list number of entries

 

ACCESS_LIST - Get the AP access list from start index

The start index in the access list

 

GENERAL

COUNTRY_CODE - Get Country Code for AP mode

 

STA_TX_POWER - Get STA mode Tx power level

 

AP_TX_POWER  - Get AP mode Tx power level

 

SCAN_PARAMS - Get scan parameters

 

P2P

CHANNEL_N_REGS - Get P2P Channels

 

RX_FILTER

STATE - Retrieves the filters enable/disable status

 

SYS_STATE - Retrieves the system filters enable/disable status

 

Connection

ignore

·         value1: Role

o   sta

o   ap

o   p2p

·         value2: Status

o   disconnected

o   station_connected

o   p2pcl_connected

o   p2pgo_connected

o   ap_connected_stations

·         value3: Security

o   open

o   wep

o   wpa_wpa2

o   wps_pbc

o   wps_pin

o   wpa_ent

o   wep_shared

·         value4: SSID Name

·         value5: BSSID

·         value6: Device name (relevant to P2P Client only)

 

File System Commands

 

AT+FileOpen Open file in storage device

Request:

AT+FileOpen= [Filename], [Options],[File size]

Response:

+FileOpen:[FileID],[Secure Token]

OK

Arguments:

  • filename – full path File Name
  • Options – Bitmask depend in option:
    • READ - Read a file (no bitmask)
    • WRITE - Open for write for an existing file (optionally bitmask with CREATE)
    • CREATE - Open for creating a new file (optionally bitmask with  WRITE or  OVERWRITE)                   
    • OVERWRITE - Opens an existing file  (optionally bitmask with CREATE)                    
      /* Creation flags bitmask with CREATE */
    • CREATE_FAILSAFE - Fail safe
    • CREATE_SECURE -  Secure file
    • CREATE_NOSIGNATURE  - Relevant to secure file only
    • CREATE_STATIC_TOKEN - Relevant to secure file only
    • CREATE_VENDOR_TOKEN - Relevant to secure file only
    • CREATE_PUBLIC_WRITE - Relevant to secure file only, the file can be opened for write without Token
    • CREATE_PUBLIC_READ - Relevant to secure file only, the file can be opened for read without Token
  • File size - Max file size is defined in bytes (mandatory only for CREATE option and ignored for other options)

 

 

AT+FileClose Close file in storage device

Request:

AT+FileClose= [FileID],[CeritificateFileName],[Signature]

Response:

OK

Arguments:

  • FileID - Assigned from AT+FileOpen
  • CeritificateFileName - Certificate file with full path (Optional)
  • Signature - The signature is SHA-1, the certificate chain may include SHA-256 (Optional)

 

 

AT+FileCtl Controls various file system operations

Request:

AT+FileCtl= [Command],[Secure_Token],[Filename],[Data]

Response:

+FileCtl:[NewSecureToken],[OutputData]

OK

Arguments:

Arguments:

Command

Token

Filename

Data

Token

Output Data

RESTORE -Return to factory default

Ignore

Ignore

·         FACTORY_IMAGE -The system will be back to the production image.

·         FACTORY_DEFAULT - return to factory default

Ignore

Ignore

·         ROLLBACK - Roll-back file

token assigned from AT+FileOpen

filename to rollback

Ignore

New secure token

Ignore

·         COMMIT - Commit file

token assigned from AT+FileOpen

filename to commit

Ignore

New secure token

Ignore

·         RENAME - Rename file

token assigned from AT+FileOpen

filename to rename

New file name

Ignore

Ignore

·         GET_STORAGE_INFO – get storage information

Ignore

Ignore

Ignore

Ignore

DeviceBlockSize,

DeviceBlocksCapacity

NumOfAllocatedBlocks

NumOfReservedBlocks

NumOfReservedBlocksForSystemfiles

LargestAllocatedGapInBlocks

NumOfAvailableBlocksForUserFiles

MaxFsFiles

IsDevlopmentFormatType

Bundlestate

MaxFsFilesReservedForSysFiles

ActualNumOfUserFiles

ActualNumOfSysFiles

NumOfAlerts

NumOfAlertsThreshold

FATWriteCounter

·         BUNDLE_ROLLBACK – Rollback a bundle

Ignore

Ignore

Ignore

Ignore

Ignore

·         BUNDLE_COMMIT – Commit a bundle

Ignore

Ignore

Ignore

Ignore

Ignore

 

 

AT+FileDel Delete file from storage device

Request:

AT+FileDel= [FileName], [SecureToken]

Response:

OK

Arguments:

·         FileName – full path File Name

·         SecureToken – token assigned from AT+FileOpen  (optional)

 

 

 

 

AT+FileGetFilelist Get list of a files

Request:

AT+FileGetFileList

Response:

+FileGetFileList: [FileName],[FileMaxSize],[Properties],[FileAllocatedBlocks]

OK

Arguments:

Arguments:

·         FileName - file name

·         FileMaxSize - max file size

·         Properties - info flag bitmask

·         FileAllocatedBlocks - allocated blocks

 

AT+FileGetInfo Get information of a file

Request:

AT+FileGetInfo= [FileName],[SecureToken]

Response:

+FileGetInfo: [Flags],[File Size],[Allocated Size],[Tokens],[Storage Size],[Write Counter]

OK

Arguments:

·         FileName – full path File Name

·         SecureToken – token assigned from AT+FileOpen  (optional)

 

 

 

 

AT+FileRead Read block of data from a file in storage device

Request:

AT+FileRead= [FileID], [Offset],[Format],[Length]

Response:

+FileRead: [NumberOfReadBytes],[ReceivedData]

OK

Arguments:

·         FileID - Assigned from AT+FileOpen

·         Offset – Offset to specific read block

·         Format - Data format:

o   0 - Binary data format

o   1 - Base64 data format (binary to text encoding)

·         Length - Number of bytes to read

 

 

 

AT+FileWrite Write block of data to a file in storage device

Request:

AT+FileWrite= [FileID], [Offset],[Format],[Length],[Data]

Response:

+FileWrite:[NumberOfWrittenBytes]

OK

Arguments:

·         FileID - Assigned from AT+FileOpen

·         Offset – Offset to specific block to be written

·         Format - Data format:

o   0 - Binary data format

o   1 - Base64 data format (binary to text encoding)

·         Length - Number of bytes to write

·         Data - Transmitted data to the storage device

 

 

 

Network Application Commands

Activate networking applications, such as: HTTP Server, DHCP Server, Ping, DNS and mDNS.

 

AT+NetAPPStart Starts a network application

Request:

AT+NetAPPStart = [APP Bitmap]

Response:

OK

Arguments:

·         APP Bitmap – Application bitmap, could be one or combination of the following with OR (“|”) between them:

o   HTTP_SERVER

o   DHCP_SERVER

o   MDNS

o   DNS_SERVER

 

 

 

AT+NetAPPStop Stops a network application

Request:

AT+NetAPPStop = [APP Bitmap]

Response:

OK

Arguments:

·         APP Bitmap – Application bitmap, could be one or combination of the following with OR (“|”) between them:

o   HTTP_SERVER

o   DHCP_SERVER

o   MDNS

o   DNS_SERVER

 

 

 

AT+NetAPPGetHostByName Get host IP by name

Request:

AT+NetAPPGetHostByName = [HostName],[Family]

Response:

OK

+NetAPPGetHostByName: [HostName], [Host IP address]

Arguments:

·         HostName

·         Family - Protocol Family :

o   INET - for network protocol IPv4

o   INET6 - for network protocol IPv6

 Arguments:

·         HostName

·         Host IP address – IP address according to the family (IPv4 or IPv6)

 

 

AT+NetAPPGetHostByService Get host IP by service

Request:

AT+NetAPPGetHostByService = [ServiceName],[Family]

Response:

OK

+NetAPPGetHostByService: [ServiceName],[Port],[HostIPAddress],[Text]

Arguments:

·         ServiceName - Service name can be full or partial

·         Family - Protocol Family :

o   INET - for network protocol IPv4

o   INET6 - for network protocol IPv6

Arguments:

·         ServiceName

·         Port – Service port

·         HostIPAddress – Host IP address (IPv4 or IPv6)

·         Text -  text of the service full or partial

 

 

 

AT+NetAPPSet Setting network applications configurations

Request:

AT+NetAPPSet = [App ID],[Option],[Value1],…,[ValueX]

Response:

OK

Arguments:

 

App ID

Option

Values

 

DHCP_SERVER

BASIC

Value1: lease time (in seconds) of the IP Address

Value2: first IP Address for allocation

Value3: last IP Address for allocation

 

HTTP_SERVER

PRIM_PORT_NUM

 Value1: port number

 

AUTH_CHECK

 Value1:

·         1 - auth enable

·         0 - auth disable

 

AUTH_NAME

 Value1: auth name (max length - 20 bytes)

 

AUTH_PASSWORD

Value1: auth password (max length - 20 bytes) 

 

AUTH_REALM

Value1: auth realm (max length - 20 bytes)  

 

ROM_PAGES_ACCESS

Value1:

·         1 - access enable

·         0 - access disable 

 

SECOND_PORT_NUM

Value1: port number 

 

SECOND_PORT_EN

Value1:

·         1 – enable

·         0 - disable

 

PRIM_PORT_SEC_EN

Value1:

·         1 – enable

·         0 - disable 

 

 

PRIV_KEY_FILE

Value1: file name (max length - 96 bytes)

 

 

DEV_CERT_FILE

Value1: file name (max length - 96 bytes) 

 

 

CA_CERT_FILE

Value1: file name (max length - 96 bytes) 

 

 

TMP_REGISTER_SERVICE

Value1: service name for MDNS (max length - 80 bytes) 

 

 

TMP_UNREGISTER_SERVICE

Value1: service name for MDNS (max length - 80 bytes) 

 

MDNS

CONT_QUERY

Value1: Service name (max length - 80 bytes)

 

QEVETN_MASK

Value1: Event mask:

  • ipp
  • deviceinfo
  • http
  • https
  • workstation
  • guid
  • h323
  • ntp
  • objective
  • rdp
  • remote
  • rtsp
  • sip
  • smb
  • soap
  • ssh
  • telnet
  • tftp
  • xmpp
  • raop

 

TIMING_PARAMS

Value1: Period in ticks (100 ticks = 1 second)

Value2: repetitions

Value3: Telescopic factor

Value4: retransmission interval

Value5: max period interval

Value6: max time

 

DEVICE

URN

Value1: device name (max length - 33 bytes)

 

DOMAIN

Value1: domain name (max length - 63 bytes) 

 

DNS_CLIENT

TIME

Value1: max response time in milliseconds

Value2: number of retries

 

 

 

AT+NetAPPGet Getting network applications configurations

Request:

AT+NetAPPGet = [App ID],Option]

Response:

+NetAPPGet: [return values]

OK

Arguments:

 Arguments:

App ID

Option

See  AT+NetAPPSet command values

DHCP_SERVER

BASIC

 

HTTP_SERVER

PRIM_PORT_NUM

 

AUTH_CHECK

 

AUTH_NAME

 

AUTH_PASSWORD

 

AUTH_REALM

 

ROM_PAGES_ACCESS

 

SECOND_PORT_NUM

 

SECOND_PORT_EN

 

PRIM_PORT_SEC_EN

 

MDNS

CONT_QUERY

 

QEVETN_MASK

 

TIMING_PARAMS

 

DEVICE

URN

 

DOMAIN

 

DNS_CLIENT

TIME

 

 

 

AT+NetAPPSend Sends Netapp response or data following a Netapp request event 

Request:

AT+NetAPPSend = [Handle],[Flags],[Format],[Length],[Data]

Response:

OK

Arguments:

·         Handle - Handle to send the data to. Should match the handle received in the Netapp request event

·         Flags - bit mask:

o   CONTINUATION - More data will arrive in subsequent calls to AT+NetAPPSend

o   METADATA - define data as metadata, otherwise data is payload

o   ACCUMULATION - The network processor should accumulate the data chunks and will process it when it is completely received

·         Format - data format:

o   0 - Binary data format

o   1 - Base64 data format (binary to text encoding)

·         Length - Number of bytes to send

·         Data - Data to send. Can be just data payload or metadata (depends on flags)

 

 

 

 

 

AT+NetAPPRecv Receives data from the network processor following a Netapp response event

Request:

AT+NetAPPRecv = [Handle],[Format],[Length]

Response:

OK

+ NetAPPRecv:[Handle],[Flags],[Length],[Data]

Arguments:

·         Handle - Handle to receive data from. Should match the handle receive in the Netapp request event

·         Format - Data format:

o   0 - Binary data format

o   1 - Base64 data format (binary to text encoding)

·         Length - Number of bytes to receive

Arguments:

·         Handle

·         Flags - Can have the following value:

·         CONTINUATION - More data is pending in the network processor. Application should continue reading the data by calling AT+NetAPPRecv again

·         Length - Number of bytes received

·         Data - Data received

 

 

AT+NetAPPPing Send ping to network hosts

Request:

AT+NetAPPPing = [Family], [Destination], [Size], [Delay], [Timeout], [Max], [Flags]

Response:

OK

+NetAPPPing: [PacketsSent],[PacketsReceived],[RoundTime]

Arguments:

·         Family –

o   INET - for network protocol IPv4

o   INET6 - for network protocol IPv6

·         Destination - Destination IP address. For stopping an ongoing ping activity, set destination to 0

·         Size - size of ping, in bytes

·         Delay - delay between pings, in milliseconds

·         Timeout - timeout for every ping in milliseconds

·         Max - max number of ping requests. 0 - forever

·         Flags -

o   Set to 0 - ping will report back once all requested pings are done.

o   Set to 1 - ping will report back after every ping.

o   Set to 2 - ping will stop after the first successful ping and report back for the successful ping, as well as any preceding failed ones. 

 Arguments:

 

 

AT+NetAPPGetServiceList Get service list

Request:

AT+NetAPPGetServiceList = [IndexOffset],[MaxServiceCount],[Flags]

Response:

+NetAPPGetServiceList:[ServiceInfo1];...;[ServiceInfoX]

OK

Arguments:

·         IndexOffset - The start index in the peer cache that from it the first service is returned.

·         MaxServiceCount - The Max services that can be returned if existed or if not exceed the max index in the peer cache

·         Flags - which service to use (means which types of service to fill)

o   FULL_IPV4_WITH_TEXT

o   FULL_IPV4

o   SHORT_IPV4

o   FULL_IPV6_WITH_TEXT

o   FULL_IPV6

o   SHORT_IPV6

Arguments:

ServiceInfo - depands on flag type:

·         SHORT_IPV4

·         SHORT_IPV6

o   ip

o   port

·         FULL_IPV4

·         FULL_IPV6

o   ip

o   port

o   service name

o   service host name

·         FULL_IPV4_WITH_TEXT

·         FULL_IPV6_WITH_TEXT

o   ip

o   port

o   service name

o   service host name

o   service text

 

 

AT+NetAPPRegisterService Register a new mDNS service

Request:

AT+NetAPPRegisterService= [ServiceName], [Text], [Port], [TTL], [Options]

Response:

OK

Arguments:

·         ServiceName - The service name

·         Text - The description of the service.

·         Port - The port on this target host port.

·         TTL - The TTL of the service

·         Options - bitwise parameters:

o   IS_UNIQUE_BIT - service is unique per interface (means that the service needs to be unique)

o   IPV6_IPV4_SERVICE - add this service to IPv6 interface, if exist (default is IPv4 service only)

o   IPV6_ONLY_SERVICE - add this service to IPv6 interface, but remove it from IPv4 (only IPv6 is available)

o   UPDATE_TEXT - for update text fields (without reregister the service)

o   IS_NOT_PERSISTENT - for setting a non-persistent service

 

AT+NetAPPUnRegisterService Unregister mDNS service

Request:

AT+NetAPPUnRegisterService= [ServiceName], [Options]

Response:

OK

Arguments:

·         ServiceName - Full service name

·         Options - bitwise parameters:

o   IS_UNIQUE_BIT - service is unique per interface (means that the service needs to be unique)

o   IPV6_IPV4_SERVICE - add this service to IPv6 interface, if exist (default is IPv4 service only)

o   IPV6_ONLY_SERVICE - add this service to IPv6 interface, but remove it from IPv4 (only IPv6 is available)

o   UPDATE_TEXT - for update text fields (without reregister the service)

o   IS_NOT_PERSISTENT - for setting a non-persistent service

 

 

 Network Configuration Commands

Controls the configuration of the device addresses (i.e. IP and MAC addresses)

 

AT+NetCfgSet Setting network configurations

Request:

AT+NetCfgSet = [ConfigId],[ConfigOpt],[Value1],..,[ValueX]

Response:

OK

Arguments:

ConfigId

ConfigOpt

Values

IF

STATE - enable or disable modes (bitmask)

·         IPV6_STA_LOCAL - Enable ipv6 local

·         IPV6_STA_GLOBAL - Enable ipv6 global

·         DISABLE_IPV4_DHCP disable ipv4 dhcp

·         IPV6_LOCAL_STATIC Enable ipv6 local static

·         IPV6_LOCAL_STATELESS Enable ipv6 local stateless

·         IPV6_LOCAL_STATEFUL - enable ipv6 local statefull

·         IPV6_GLOBAL_STATIC - enable ipv6 global static

·         IPV6_GLOBAL_STATEFUL - enable ipv6 global statefull

·         DISABLE_IPV4_LLA disable LLA feature

·         ENABLE_DHCP_RELEASE-Enables DHCP release

·         IPV6_GLOBAL_STATELESS-enable ipv6 global stateless

·         DISABLE_FAST_RENEW- fast renew disabled

SET_MAC_ADDR - Setting MAC address to the Device

Ignore value

new MAC address

IPV4_STA_ADDR - Setting IP address

STATIC - Setting a static IP address

Value1: IP address

Value2: Subnet mask

Value3: Default gateway address

Value4: DNS server address

DHCP - Setting IP address by DHCP

Ignore value

DHCP_LLA - Setting DHCP LLA

Ignore value

RELEASE_IP_SET - Setting release ip before disconnect enables sending a DHCP release frame to the server

Ignore value

RELEASE_IP_OFF - Setting release ip before disconnect disables sending a DHCP release frame to the server

Ignore value

IPV4_AP_ADDR - Setting a static IP address to the device working in AP mode

STATIC - Setting a static IP address

Value1: IP address

Value2: Subnet mask

Value3: Default gateway address

Value4: DNS server address

IPV6_ADDR_LOCAL

STATIC - Setting a IPv6 Local static address

IP address

 

STATELESS - Setting a IPv6 Local stateless address

Ignore value

 

STATEFUL - Setting a IPv6 Local statefull address

Ignore value

IPV6_ADDR_GLOBAL

STATIC - Setting a IPv6 Global static address

Value1 : IP address

Value2: DNS Server IP

 

STATEFUL - Setting a IPv6 Global statefull address

Ignore value

AP_STATION_DISCONNECT - Disconnect AP station by mac address

Ignore value

AP MAC address

IPV4_DNS_CLIENT - Set secondary DNS address

Ignore value

Secondary DNS Server address

 

 

AT+NetCfgGet Getting network configurations

Request:

AT+NetCfgGet = [ConfigId]

Response:

+NetCfgGet:[Value1],..,[ValueX]

OK

Arguments:

·         ConfigId– Configuration ID:

Arguments:

·         GET_MAC_ADDR - Get the device MAC address

value1: MAC address

·         IPV4_STA_ADDR - Get IP address from WLAN station or P2P client

valeu1: Address Option:

·         DHCP

·         DHCP_LLA

·         STATIC

Value2: Address

value3: Subnet mask

value4: Gateway

value5: DNS

·         IPV4_AP_ADDR - Get static IP address for AP or P2P go

·         IF - Get interface bitmap

value1: state (bitmask):

·         ipv6_sta_local

·         ipv6_sta_global

·         disable_ipv4_dhcp

·         ipv6_local_static

·         ipv6_local_stateless

·         ipv6_local_stateful

·         ipv6_global_static

·         ipv6_global_stateful

·         disable_ipv4_lla

·         enable_dhcp_release

·         ipv6_global_stateless

·         disable_fast_renew

·         IPV6_ADDR_LOCAL - Get IPV6 Local address

valeu1: Address Option:

·         stateless

·         stateful

·         STATIC

value2: Address

·         IPV6_ADDR_GLOBAL - Get IPV6 Global address

·         AP_STATIONS_CONNECTED - Get AP number of connected stations

value1: number of connected stations

·         AP_STATIONS_INFO - Get AP full list of connected stations

[address1],[MAC address1],[name1];

...;

[addressX],[MAC addressX],[nameX]

·         IPV4_DNS_CLIENT - Set secondary DNS address

value1: DNS second server address

·         IPV4_DHCP_CLIENT - Get DHCP Client info

value1: Address

value2: Subnet mask

value3: Gateway

value4: DNS 1

value5: DNS 2

value6: DHCP Server

value7: Lease Time

value8: Time To Renew

value9: Dhcp State:

 

·         unknown

·         disabled

·         enabled

·         bound

·         renew

·         rebind

 

 

Network Utility Commands

Networking related commands and configuration

 

AT+NetUtilGet Getting utilities configurations

Request:

AT+NetUtilGet =[ID], [Option]

Response:

+NetUtilGet: [Value]

OK

Arguments:

Arguments: 

ID - Identifier of the specific "get" operation to perform

Option

Value

public_key

·         0 - Binary data format

·         1 - Base64 data format (binary to text encoding)

key (max length 255 bytes or 370 bytes in base64 format)

true_random

number of random numbers (max 172 numbers)

list of random numbers

 

AT+NetUtilCmd Performing utilities-related commands

Request:

·         AT+NetUtilCmd = [Cmd],[Value1],..,[ValueX]

Response:

+NetUtilCmd:[Value1],..,[ValueX]

OK

Arguments:

 Arguments

Cmd - Identifier of the specific Command to perform

Values

·         sign_msg - create a digital signature using the ECDSA algo

·         value1: key index

·         value2: data format

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         value3: data length

·         value4: data (max length 1500 bytes)

·         value1: signature length (max 255 bytes)

·         value2: signature

·         verify_msg - verify a digital signature using the ECDSA algo

·         value1: key index

·         value2: data and signature format

o    0 - Binary data format

o    1 - Base64 data format (binary to text encoding)

·         value3: data length (max length 1500 bytes)

·         value4: signature length

·         value5: data and signature (signature concatenate to end of data)

value1: success or failure

·         temp_keys - create or remove a temporary ECC key-pair with the SECP256R1 curve

·         value1: key index

·         value2: action:

o    create

o    remove

·         install_op - install or uninstall a key-pair in one of the crypto utilities key-pair management mechanism.

·         value1: key index

·         value2: action:

o    install

o    uninstall

·         value3: Key Algo (ignored for uninstall action)

o    none

o    ec

·         value4: EC Named Curve identifier (optional for Key Algo none) (ignored for uninstall action)

o    none

o    secp256r1

·         value5: Cert file name (ignored for uninstall action)

·         value6: Key file name (ignored for uninstall action)

 

Asynchronous Events

 

+EventFatalError Fatal Error event for inspecting fatal error

Response:

+EventFatalError:[EventID],[Value1],..,[ValueX]

Arguments:

EventID

Values

DEVICE_ABORT - Indicates a severe error occurred and the device stopped

·         Value1 - An indication of the abort type

·         Value2 - The abort data

NO_CMD_ACK - Indicates that the command sent to the device had no ack

·         Value1 - An indication of the cmd opcode

CMD_TIMEOUT - Indicates that the command got a timeout while waiting for its async response

·         Value1 - An indication of the async event opcode

DRIVER_ABORT - Indicates a severe error occurred in the driver

null

SYNC_LOSS - Indicates a sync loss with the device

null

+EventGeneral General async event for inspecting general events

Response:

+EventGeneral:[EventID],[Value1],..,[ValueX]

Arguments:

EventID

Values

RESET_REQUEST

·         Value1 - An error code indication from the device

·         Value2 - The sender originator:

o    WLAN

o    NETCFG

o    NETAPP

o    SECURITY

o    OTHER

ERROR

·         Value1 - An error code indication from the device

·         Value2 - The sender originator

 

 

+EventWlan WLAN Async event

Response:

+EventWlan:[EventID],[Value1],..,[ValueX]

Arguments:

EventID

Values

CONNECT - STA connection indication event

·         Value1 – SSID name

·         Value2 – BSSID

P2P_CONNECT - P2P client connection indication event

·         Value1 – SSID name

·         Value2 – BSSID

·         Value3 – Go Device Name

DISCONNECT - STA client disconnection event

·         Value1 – SSID name

·         Value2 – BSSID

·         Value3 – Reason

P2P_DISCONNECT - P2P client disconnection event

·         Value1 – SSID name

·         Value2 – BSSID

·         Value3 – Reason

·         Value4 – Go Device Name

STA_ADDED - AP connected STA

·         Value1 – MAC address

STA_REMOVED - AP disconnected STA

·         Value1 – MAC address

P2P_CLIENT_ADDED - P2P(Go) connected P2P(Client)

·         Value1 – MAC address

·         Value2 – Go Device Name

·         Value3 – Own SSID

P2P_CLIENT_REMOVED - P2P(Go) disconnected P2P(Client)

·         Value1 – MAC address

·         Value2 – Go Device Name

·         Value3 – Own SSID

P2P_DEVFOUND

·         Value1 – Go Device Name

·         Value2 – MAC address

·         Value3 – Wps Method

P2P_REQUEST

·         Value1 – Go Device Name

·         Value2 – MAC address

·         Value3 – Wps Method

P2P_CONNECTFAIL - P2P only

·         Value1 – Status

PROVISIONING_STATUS

·         Value1 – Status

PROVISIONING_PROFILE_ADDED

·         Value1 – Status

·         Value2 – SSID name

 

 

 

+EventNetApp – Net APP Async event

Response:

+EventNetApp:[EventID],[Value1],..,[ValueX]

Arguments:

EventID

Values

IPV4_ACQUIRED

·         Value1 – IP address

·         Value2 – Gateway

·         Value3 – DNS

IPV6_ACQUIRED

·         Value1 – IP address

·         Value2 – DNS

ip_collision

·         Value1 – IP address

·         Value2 – Dhcp Mac

·         Value3 – Conflict Mac

IP_LEASED AP or P2P go dhcp lease event

·         Value1 – IP address

·         Value2 – Lease time

·         Value3 - MAC

IP_RELEASED - AP or P2P go dhcp ip release event

·         Value1 – IP address

·         Value2 – MAC

·         Value3 - Reason

IPV4_LOST

·         Value1 – status

dhcp_ipv4_acquire_timeout

·         Value1 – status

IPV6_LOST

·         Value1 – IP lost

 

 

+EventSock Socket Async event

Response:

+EventSock:[EventID],[Value1],..,[ValueX]

Arguments:

EventID

Values

TX_FAILED

·         Value1 - sd

·         Value2 - status

ASYNC_EVENT

·         Value1 - sd

·         Value2 – type:

o    SSL_ACCEPT 

o    WLAN_RX_FRAGMENTATION_TOO_BIG

o    OTHER_SIDE_CLOSE_SSL_DATA_NOT_ENCRYPTED

·         Value3 - Val