Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 78d59312f71fcd1488cf7a4dc46cb631e352c887 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
 * Copyright (c) 2008, 2013 IBM Corp.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * and Eclipse Distribution License v1.0 which accompany this distribution. 
 *
 * The Eclipse Public License is available at 
 *    http://www.eclipse.org/legal/epl-v10.html
 * and the Eclipse Distribution License is available at 
 *   http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * Contributors:
 *    Ian Craggs - initial API and implementation and/or initial documentation
 *******************************************************************************/

/**
 * 
 * 
 * Description : MQTT-SN timer header file 
 * 
 *
 */


/**
 * Initialize mqtts-timer component */ 
void mqtts_timer_init();
/**
 * set value of keep alive timer */
void mqtts_timer_set_keep_alive_time(unsigned char *time);
/**
 * end and delete all timers */
void mqtts_timer_end(void);
/**
 * stack ACK timer */
void mqtts_timer_start_ack(void);
/**
 * start keep alive timer */ 
void mqtts_timer_start_keep_alive(void);
/**
 * start wait timer before sending SEARCHGW */
void mqtts_timer_start_wait_searchgw(void);
/** 
 * start wait timer before sending GWINFO */
void mqtts_timer_start_wait_gwinfo(void);
/**
 * stop ACK timer */
void mqtts_timer_stop_ack(void);
/**
 * stop keep alive timer */
void mqtts_timer_stop_keep_alive(void);
/**
 * stop GWINFO wait timer */
void mqtts_timer_stop_wait_gwinfo(void);
/** 
 * stop SEARCHGW wait timer */
void mqtts_timer_stop_wait_searchgw(void);


Back to the top