Changeset 340 for asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src
- Timestamp:
- Apr 13, 2018, 1:00:30 PM (6 years ago)
- Location:
- asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/echonet_main.c
r337 r340 61 61 62 62 /* TODO: メーカーコードを設定 */ 63 #define MAKER_CODE 0x00, 0x00, 0xB3/* TOPPERSプロジェクト */63 #define MAKER_CODE { 0x00, 0x00, 0xB3 } /* TOPPERSプロジェクト */ 64 64 65 65 /* ノードプロファイルオブジェクト */ -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/main.c
r337 r340 76 76 #include <btstack/utils.h> 77 77 #include "client.h" 78 #include "ntp_cli.h" 78 79 79 80 ID ws_api_mailboxid = MAIN_DATAQUEUE; … … 309 310 } 310 311 312 if (link_up && up) 313 ntp_cli_execute(); 314 311 315 ntshell_change_netif_link(link_up, up); 312 316 … … 338 342 extern int usrcmd_dhcp4c(int argc, char **argv); 339 343 extern int usrcmd_dnsc(int argc, char **argv); 344 extern int usrcmd_ntpc(int argc, char **argv); 340 345 341 346 static const cmd_table_t cmdlist[] = { … … 347 352 {"mkdir", "Make directory", usrcmd_mkdir}, 348 353 {"hexdump", "Hex dump", usrcmd_hexdump}, 354 {"date", "print date and time", usrcmd_date}, 349 355 {"curl", "Command lines or scripts to transfer data", curl_main}, 350 356 {"ping", "ping", usrcmd_ping}, 351 {"dhcpc", "DHCP client rel/renew/info", usrcmd_dhcp4c},357 {"dhcpc", "DHCP Client rel/renew/info", usrcmd_dhcp4c}, 352 358 {"dnsc", "DNS client", usrcmd_dnsc }, 359 {"ntpc", "NTP client", usrcmd_ntpc }, 353 360 {"logupload", "Upload log to server", cmd_logupload}, 354 361 {"info", "This is a description text string for info command.", usrcmd_info}, -
asp3_tinet_ecnl_rx/trunk/app1_usb_watt_meter/src/main.cfg
r337 r340 58 58 /* DHCP クライアント */ 59 59 #include "netapp/dhcp4_cli.h" 60 INCLUDE("netapp/dhcp4_cli_asp.cfg");60 //INCLUDE("netapp/dhcp4_cli_asp.cfg"); 61 61 INCLUDE("netapp/tinet_dhcp4_cli.cfg"); 62 62 … … 65 65 INCLUDE("netapp/resolver_asp.cfg"); 66 66 INCLUDE("netapp/tinet_resolver.cfg"); 67 68 /* NTPクライアント */ 69 #include "ntp_cli.h" 70 //INCLUDE("ntp_cli.cfg"); 71 INCLUDE("tinet_ntp_cli.cfg"); 72 73 #include "net_misc.h" 74 INCLUDE("net_misc.cfg"); 67 75 68 76 /* FatFs */
Note:
See TracChangeset
for help on using the changeset viewer.