Host library for controlling a WiConnect enabled Wi-Fi module.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Diff: internal/WiconnectCommands.h
- Revision:
- 0:ea85c4bb5e1f
- Child:
- 1:6ec9998427ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/internal/WiconnectCommands.h Mon Aug 11 09:58:24 2014 +0000 @@ -0,0 +1,29 @@ +/* + * Copyright 2014, ACKme Networks + * All Rights Reserved. + * + * This is UNPUBLISHED PROPRIETARY SOURCE CODE of ACKme Networks; + * the contents of this file may not be disclosed to third parties, copied + * or duplicated in any form, in whole or in part, without the prior + * written permission of ACKme Networks. + */ + +#pragma once + + + + +#define CMD_SAVE "save" +#define CMD_GET_VERSION "ver" + + +#define CMD_SET_SYSTEM_COMMAND_MODE "set system.cmd.mode %s" +#define CMD_SET_NETWORK_DHCP "set network.dhcp %d" +#define CMD_SET_STATIC_IP "set static.ip %d.%d.%d.%d" +#define CMD_SET_STATIC_GATEWAY "set static.netmask %d.%d.%d.%d" +#define CMD_SET_STATIC_NETMASK "set static.gatewat %d.%d.%d.%d" + + +#define CMD_GET_NETWORK_STATUS "get network.status" + +