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

Committer:
dan_ackme
Date:
Mon Aug 11 09:58:24 2014 +0000
Revision:
0:ea85c4bb5e1f
Child:
1:6ec9998427ad
initial check-in

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dan_ackme 0:ea85c4bb5e1f 1 /*
dan_ackme 0:ea85c4bb5e1f 2 * Copyright 2014, ACKme Networks
dan_ackme 0:ea85c4bb5e1f 3 * All Rights Reserved.
dan_ackme 0:ea85c4bb5e1f 4 *
dan_ackme 0:ea85c4bb5e1f 5 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of ACKme Networks;
dan_ackme 0:ea85c4bb5e1f 6 * the contents of this file may not be disclosed to third parties, copied
dan_ackme 0:ea85c4bb5e1f 7 * or duplicated in any form, in whole or in part, without the prior
dan_ackme 0:ea85c4bb5e1f 8 * written permission of ACKme Networks.
dan_ackme 0:ea85c4bb5e1f 9 */
dan_ackme 0:ea85c4bb5e1f 10
dan_ackme 0:ea85c4bb5e1f 11 #pragma once
dan_ackme 0:ea85c4bb5e1f 12
dan_ackme 0:ea85c4bb5e1f 13 #include "WiconnectTypes.h"
dan_ackme 0:ea85c4bb5e1f 14
dan_ackme 0:ea85c4bb5e1f 15
dan_ackme 0:ea85c4bb5e1f 16 namespace wiconnect
dan_ackme 0:ea85c4bb5e1f 17 {
dan_ackme 0:ea85c4bb5e1f 18
dan_ackme 0:ea85c4bb5e1f 19 class PeriodicTimer WICONNECT_PERIODIC_TIMER_BASE_CLASS
dan_ackme 0:ea85c4bb5e1f 20 {
dan_ackme 0:ea85c4bb5e1f 21 public:
dan_ackme 0:ea85c4bb5e1f 22 PeriodicTimer();
dan_ackme 0:ea85c4bb5e1f 23
dan_ackme 0:ea85c4bb5e1f 24 template<typename T>
dan_ackme 0:ea85c4bb5e1f 25 void start(T* tptr, void (T::*mptr)(void), int timeoutMs);
dan_ackme 0:ea85c4bb5e1f 26 void stop(void);
dan_ackme 0:ea85c4bb5e1f 27 bool isRunning();
dan_ackme 0:ea85c4bb5e1f 28 protected:
dan_ackme 0:ea85c4bb5e1f 29 bool running;
dan_ackme 0:ea85c4bb5e1f 30 };
dan_ackme 0:ea85c4bb5e1f 31
dan_ackme 0:ea85c4bb5e1f 32
dan_ackme 0:ea85c4bb5e1f 33 }
dan_ackme 0:ea85c4bb5e1f 34