User Tools

Site Tools


software:firmware:2.x:at-commands:basics

Basic Networking Commands

This page documents the core AT commands to configure HaLow firmware 2.x modules for basic network operation.

AT+WIFIMODE โ€“ Set the Working Mode

Query:

AT+WIFIMODE=?

Set Mode:

AT+WIFIMODE=ap

Response:

OK

Parameters:

  • ap โ€“ Standard AP mode
  • sta โ€“ Standard STA mode
  • apsta โ€“ Relay mode (acts as AP and STA)
  • wnbap โ€“ Private AP mode (V1.6 compatible, not default)
  • wnbsta โ€“ Private STA mode (V1.6 compatible, not default)

Example:

AT+WIFIMODE=sta

AT+SSID โ€“ Set the SSID

Query:

AT+SSID=?

Set SSID:

AT+SSID=hgic_ah_test

Response:

+SSID:HALOW_959B60
OK

Notes:

  • Default SSID: HALOW_xxxxxx (last 3 bytes of MAC)
  • Max length: 32 characters (longer truncated)

AT+ENCRYPT โ€“ Set Encryption Mode

Query:

AT+ENCRYPT=?

Set Encryption:

AT+ENCRYPT=0

(disable)

<code>AT+ENCRYPT=1</code> (enable)

Response:

+ENCRYPT:0 or 1
OK

AT+KEY โ€“ Set Encryption Password

Query:

AT+KEY=?

Set Key:

AT+KEY=12345678

Response:

+KEY:12345678
OK

Notes:

  • Default key: 12345678
  • Minimum 8 ASCII characters

AT+PAIR โ€“ Pairing Control

Set Pairing:

AT+PAIR=0

(stop)

<code>AT+PAIR=1</code> (start, default group)  
<code>AT+PAIR=2</code> (start, group 2)

Response:

OK

Notes:

  • AP must have SSID and key configured first
  • Connection established automatically after pairing stops

AT+CHAN_LIST โ€“ Set Channel List

Query:

AT+CHAN_LIST=?

Set Channels:

AT+CHAN_LIST=9080,9240

Response:

+CHAN_LIST:9080,9160,9240
OK

Notes:

  • Frequency = center frequency ร— 10 (9080 โ†’ 908 MHz)
  • Up to 16 points, comma-separated

AT+BSS_BW โ€“ Set BSS Bandwidth

Query:

AT+BSS_BW=?

Set Bandwidth:

AT+BSS_BW=4

Response:

+BSS_BW:4MHz
OK

Notes:

  • Supported values: 1, 2, 4, 8 (MHz)

Notes

* Configure SSID, encryption, key, mode, channels, and bandwidth before connecting STAs or relays. * Use `AT+WIFIMODE=ap` on AP side and `AT+WIFIMODE=sta` on clients.

software/firmware/2.x/at-commands/basics.txt ยท Last modified: by sarahrose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki