SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The device time and date can be set by posting to /api/1/wlan/en_ap_scan/set_time the parameters listed in Table 10-13.
Name (code) | Description | Example |
---|---|---|
Set date and time (__SL_P_S.J) | This parameter sets the time and date according to the following format: yyyy,mm,dd,hh,mm,ss (year,month,day,hours,minutes,seconds) Each number must not contain more than four characters. | __SL_P_S.J=2016,01,01,12,45,30 |
For example, the following request sets the date to 30/5/2016 and the time to 13:45:00:
POST /api/1/wlan/en_ap_scan/set_time HTTP/1.1
Host: mysimplelink.net
Content-Type: application/x-www-form-urlencoded
__SL_P_S.J=2016,05,30,13,45,00