Skip to content

Commit

Permalink
NRC7394 Standalone SDK v1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron J. Lee committed Dec 1, 2023
1 parent 402f108 commit 369b446
Show file tree
Hide file tree
Showing 207 changed files with 9,124 additions and 16,339 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
> The NRC7394 software package v1.0 includes an upgraded data structure for calibration and sysconfig. Therefore, to calibrate NRC7394 EVK, the v3.3.0 (Test Version 3.2) calibration tool (MFGT) should be used, and the EVK should be run on the NRC7394 software package v1.0 after it has been calibrated with the v3.3.0 (Test Version 3.2) calibration tool (MFGT). You can download this tool from the partner's FTP site.
### Release roadmap
- v1.2 (2023.11.30)
- v1.1 (2023.08.17)
- v1.0 (2023.08.07)

### Latest release
- [NRC7394_Standalone_SDK_v1.1](https://github.com/newracom/nrc7394_sdk/releases/tag/v1.1)
- [NRC7394_Standalone_SDK_v1.2](https://github.com/newracom/nrc7394_sdk/releases/tag/v1.2)

### Release package contents
- NRC7394 standalone SDK package for global regulatory domains
Expand Down
136 changes: 94 additions & 42 deletions package/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,114 @@
*
*******************************************************************

[2023-11-30]
Change summary for version 1.2:

New features
* RSSI-based rate adaptation (v1.2)

Changes
* Update SDK APIs: refer to UG-7394-005-Standalone SDK API document
* Update AT-CMD APIs: refer to UG-7394-006-AT_Command document
* Update supported baudrate up to 2Mbps on UART without RTS/CTS (AT-CMD)
* Update samples
o sample_sntp: Retrieve NTP(Network Time Protocol) data
o sample_w5500_eth
- Change the default address mode to 3 address
- Incorrect peer MAC address copy at 4-address enabled W5500 device
o sample_wifi_relay : Runs softap and sta for relay operation
o sample_vendor_ie : Receive vendor IE from beacon
* Update AUXADC compensation
* Duty cycle 2.8% support only for EU STA
* Check traveling pilot support field of S1G capabilities element
* Set the default listen interval to 0 for wifi_config
* 1/2MHz STA support at 4MHz SoftAP
* Add auto guard interval control
* Add auto RX gain control
* SoftAP's disable/enable sequence support
* Add API for setting max station number in SoftAP
* Hidden SSID support in SoftAP
* Support for floating-point values in the ping interval of the ping operation
* Add serial flash support: FM25W32A/GD25LQ16C/GD25WQ128E/W25Q16FW/XT25Q08B
* Set country code from RF CAL data (AT-CMD)
* Update Firwmare Flash Tool v6.3.0 (Multi v7.2.0)
o Dynamic XIP boot erase size + max size check

Bugfix
* Prevent manipulating source MAC address when 4 address is used for W5500 sample
* TX power setting failure when changing from FIXED mode to AUTO mode (AT-CMD)
* TX power in LIMIT mode not limited to the set value (AT-CMD)
* Fix the recovery of the listen interval setting upon waking from deep sleep
* Remove echo check code from lwip
* TCP client socket was closed when enabling TCP keep-alive
* Invalid secondary CCA on JP 2/4MHz channels
* NDP CTS compliance for RTS with response indication (RI) 1 on AP
* Set an invalid AID in the AID response element when sending an association response
* AT-CMD lwIP keepalive issue: TCP client socket would close when TCP keep-alive was enabled
* Handling exceptions for the invalid temperature value of 0
* Invalid AID issue when forwarding a frame in the SoftAP
* Delayed reconnection issue for the STA without deauthentication
* Failure in setting the limit type for 'nrc_wifi_set_tx_power'
* PN order mismatch during the packet retransmission

Known Issues
* The issue of deauthentication frame delivery failure can occur between PMF-enabled NRC7394 and PMF-enabled NRC7292 devices.
* During deep sleep, TCP connections are not maintained. Upon waking up, a new TCP connection must be established.
* The AT-CMD throughput over HSPI interface is slightly lower than NRC7292 device due to CPU clock speed variation.

[2023-08-17]
Change summary for version 1.1:

New features
* AT-CMD feature: continuous TX operation (AT+WCTX)
* AT-CMD feature: continuous TX operation (AT+WCTX)

Changes
* Enhanced RSSI accuracy of system_api_get_rssi()
* Enhanced RSSI accuracy of system_api_get_rssi()

Bugfix
* Intermittent scan failure on TW channel
* AP's association grant for STA with listen interval exceeding BSS max idle period
* CCA type of JP 2/4MHz channels
* Inability to return to doze state in deep sleep mode for STA with static IP address
* Scan failure on K2 channel
* Incorrect peer MAC address copy at 4-address enabled W5500 device
* Intermittent scan failure on TW channel
* AP's association grant for STA with listen interval exceeding BSS max idle period
* CCA type of JP 2/4MHz channels
* Inability to return to doze state in deep sleep mode for STA with static IP address
* Scan failure on K2 channel
* Incorrect peer MAC address copy at 4-address enabled W5500 device

Known Issues

* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds) due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.
* The issue of deauthentication frame delivery failure can occur between PMF-enabled NRC7394 and PMF-enabled NRC7292 devices.
* During deep sleep, TCP connections are not maintained. Upon waking up, a new TCP connection must be established.
* The AT-CMD throughput over HSPI interface is slightly lower than NRC7292 device due to CPU clock speed variation.
* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds) due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.
* The issue of deauthentication frame delivery failure can occur between PMF-enabled NRC7394 and PMF-enabled NRC7292 devices.
* During deep sleep, TCP connections are not maintained. Upon waking up, a new TCP connection must be established.
* The AT-CMD throughput over HSPI interface is slightly lower than NRC7292 device due to CPU clock speed variation.

[2023-08-07]
Change summary for version 1.0:

New features

• AT-CMD features
o WPA3-SAE (v1.0)
o OWE (v1.0)
o FOTA (v1.0)
o SoftAP (v1.0)
o Power save TIM mode (v1.0)
o Power save non-TIM mode (v1.0)
• Regulation features
o Duty cycle (v1.0)
• System features
o Power save – deep sleep (v1.0)
o WDT/Recovery (v1.0)
o UART/UART-HFC/HSPI interface (v1.0)
• Sample applications
o Refer to UG-7394-004-Standalone SDK document (v1.0)
- Wi-Fi: Wi-Fi state, WPS-PBC, Ethernet bridge, SoftAP, FOTA
- Protocol: TCP/UDP
- Power save
- Peripheral: GPIO, UART, ADC, NVS, PWM, sensors, etc.
- Middleware: XML, JSON, AWS, MQTT, HTTP
- Scenario: PS schedule, UART data handling
* AT-CMD features
o WPA3-SAE (v1.0)
o OWE (v1.0)
o FOTA (v1.0)
o SoftAP (v1.0)
o Power save TIM mode (v1.0)
o Power save non-TIM mode (v1.0)
* Regulation features
o Duty cycle (v1.0)
* System features
o Power save – deep sleep (v1.0)
o WDT/Recovery (v1.0)
o UART/UART-HFC/HSPI interface (v1.0)
* Sample applications
o Refer to UG-7394-004-Standalone SDK document (v1.0)
- Wi-Fi: Wi-Fi state, WPS-PBC, Ethernet bridge, SoftAP, FOTA
- Protocol: TCP/UDP
- Power save
- Peripheral: GPIO, UART, ADC, NVS, PWM, sensors, etc.
- Middleware: XML, JSON, AWS, MQTT, HTTP
- Scenario: PS schedule, UART data handling

Known Issues

* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds) due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.
* The issue of deauthentication frame delivery failure can occur between PMF-enabled NRC7394 and PMF-enabled NRC7292 devices.
* During deep sleep, TCP connections are not maintained. Upon waking up, a new TCP connection must be established.
* The AT-CMD throughput over HSPI interface is slightly lower than NRC7292 device.
* The initial connection time for WPA3-SAE/OWE can be quite lengthy (> 15 seconds) due to the substantial computational load required by software for large number operations.
* The SoftAP disable/enable sequence on the standalone mode is not supported.
* The issue of deauthentication frame delivery failure can occur between PMF-enabled NRC7394 and PMF-enabled NRC7292 devices.
* During deep sleep, TCP connections are not maintained. Upon waking up, a new TCP connection must be established.
* The AT-CMD throughput over HSPI interface is slightly lower than NRC7292 device.
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions package/VERSION-SDK
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
VERSION_MAJOR 1
VERSION_MINOR 1
VERSION_MINOR 2
VERSION_REVISION 0

40 changes: 30 additions & 10 deletions package/atcmd/host/raspi-atcmd-cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -893,19 +893,22 @@ static void raspi_cli_run_loop (raspi_cli_hif_t *hif)

/* log_info("flowctrl=%d baudrate=%d\n", flowctrl, baudrate); */

if (flowctrl)
hif->flags |= RASPI_HIF_UART_HFC;
else
hif->flags &= ~RASPI_HIF_UART_HFC;
if (nrc_atcmd_send_cmd("AT+UART=%d,%d", baudrate, flowctrl ? 1 : 0) >= 0)
{
if (flowctrl)
hif->flags |= RASPI_HIF_UART_HFC;
else
hif->flags &= ~RASPI_HIF_UART_HFC;

hif->speed = baudrate;
hif->speed = baudrate;

raspi_cli_close();
raspi_cli_close();

if (raspi_cli_open(hif) != 0)
{
log_info("failed\n\n");
return;
if (raspi_cli_open(hif) != 0)
{
log_info("failed\n\n");
return;
}
}
}

Expand Down Expand Up @@ -979,6 +982,7 @@ static void raspi_cli_run_loop (raspi_cli_hif_t *hif)
if (argc >= 4 && argc <= 7)
{
const char *str_mode[3] = { "normal", "passthrough", "buffered-passthrough" };
bool atcmd_log_off = true;
bool tcp = (argc <= 5) ? true : false;
int id = atoi(argv[0]);
char *ipaddr = tcp ? NULL : argv[1];
Expand All @@ -988,6 +992,12 @@ static void raspi_cli_run_loop (raspi_cli_hif_t *hif)
int time = atoi(argv[tcp ? 3 : 5]);
int interval = (argc == 5 || argc == 7) ? atoi(argv[argc - 1]) : 0;

if (mode >= 3 && mode <= 5)
{
mode -= 3;
atcmd_log_off = false;
}

if ((id >= 0) && (tcp || (ipaddr && port)) && (mode >= 0 && mode <= 2) && (length > 0) && (time > 0) && (interval >= 0))
{
char *data = malloc(length);
Expand Down Expand Up @@ -1023,9 +1033,16 @@ static void raspi_cli_run_loop (raspi_cli_hif_t *hif)
log_info("end_time : %lf\n", end_time);
log_info("report_time : %lf\n", report_time); */

if (atcmd_log_off)
nrc_atcmd_log_off();

if (nrc_atcmd_send_cmd("AT") != 0)
{
log_info("FAIL: send_cmd (%d)\n", __LINE__);

if (atcmd_log_off)
nrc_atcmd_log_on();

continue;
}

Expand Down Expand Up @@ -1095,6 +1112,9 @@ static void raspi_cli_run_loop (raspi_cli_hif_t *hif)
sleep(1);
}

if (atcmd_log_off)
nrc_atcmd_log_on();

continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ ECHO " - Channel : 1M BW, 928.5MHz"
ECHO " - Security : OPEN"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=928.5,"halow_atcmd_open"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=60,5
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ ECHO " - Channel : 1M BW, 922.5MHz"
ECHO " - Security : OPEN"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=922.5,"halow_atcmd_open"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=60,5
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ ECHO " - Channel : 2M BW, 925MHz"
ECHO " - Security : OPEN"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=925,"halow_atcmd_open"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=60,5
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ ECHO " - Security : WPA2-PSK"
ECHO " - Password : 12345678"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=928.5,"halow_atcmd_psk","psk","12345678"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=60,5
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
AT+WCOUNTRY="K2"
AT+WCOUNTRY?
AT+WTXPOWER?

ECHO "SoftAP in WPA2-PSK"
ECHO " - Country : KR_USN (K1)"
ECHO " - Channel : 1M BW, 922.5MHz"
ECHO " - Security : WPA2-PSK"
ECHO " - Password : 12345678"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=922.5,"halow_atcmd_psk","psk","12345678"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
AT+WIPADDR="192.168.200.1","255.255.255.0","192.168.200.1"
AT+WIPADDR?

AT+WDHCPS
AT+WDHCPS?

Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ ECHO " - Security : WPA2-PSK"
ECHO " - Password : 12345678"
HOLD

AT+WMAXSTA?

AT+WSOFTAP?
AT+WSOFTAP=925,"halow_atcmd_psk","psk","12345678"
AT+WSOFTAP?

AT+WBSSMAXIDLE?
AT+WBSSMAXIDLE=60,5
AT+WBSSMAXIDLE=300,5
AT+WBSSMAXIDLE?

AT+WIPADDR?
Expand Down
Binary file modified package/atcmd/nrc7394_standalone_xip_ATCMD_HSPI.bin
Binary file not shown.
Binary file modified package/atcmd/nrc7394_standalone_xip_ATCMD_UART.bin
Binary file not shown.
Binary file modified package/atcmd/nrc7394_standalone_xip_ATCMD_UART_HFC.bin
Binary file not shown.
Binary file modified package/bdf/bd.dat
Binary file not shown.
Loading

0 comments on commit 369b446

Please sign in to comment.