OpenWSN Firmware
Main Page
Modules
Data Structures
Files
File List
Globals
ohlone.h
Go to the documentation of this file.
1
#ifndef __OHLONE_H
2
#define __OHLONE_H
3
11
#include "
opentcp.h
"
12
13
//=========================== define ==========================================
14
15
//=========================== typedef =========================================
16
17
//=========================== module variables ================================
18
19
typedef
struct
{
20
OpenQueueEntry_t
*
pkt
;
21
bool
sending
;
22
uint16_t
httpChunk
;
23
uint8_t getRequest[
TCP_DEFAULT_WINDOW_SIZE
];
24
}
ohlone_vars_t
;
25
26
//=========================== prototypes ======================================
27
28
void
ohlone_init
(
void
);
29
bool
ohlone_shouldIlisten
(
void
);
30
void
ohlone_receive
(
OpenQueueEntry_t
* msg);
31
void
ohlone_sendDone
(
OpenQueueEntry_t
* msg,
owerror_t
error);
32
void
ohlone_connectDone
(
owerror_t
error);
33
bool
ohlone_debugPrint
(
void
);
34
40
#endif
ohlone_connectDone
void ohlone_connectDone(owerror_t error)
Definition:
ohlone.c:106
ohlone_receive
void ohlone_receive(OpenQueueEntry_t *msg)
Definition:
ohlone.c:75
ohlone_vars_t::httpChunk
uint16_t httpChunk
Definition:
ohlone.h:22
owerror_t
uint8_t owerror_t
Definition:
openwsn.h:265
ohlone_debugPrint
bool ohlone_debugPrint()
Definition:
ohlone.c:109
ohlone_shouldIlisten
bool ohlone_shouldIlisten()
Definition:
ohlone.c:28
opentcp.h
ohlone_vars_t
Definition:
ohlone.h:19
ohlone_vars_t::sending
bool sending
Definition:
ohlone.h:21
ohlone_init
void ohlone_init()
Definition:
ohlone.c:21
ohlone_sendDone
void ohlone_sendDone(OpenQueueEntry_t *msg, owerror_t error)
Definition:
ohlone.c:94
OpenQueueEntry_t
Definition:
openwsn.h:288
ohlone_vars_t::pkt
OpenQueueEntry_t * pkt
Definition:
ohlone.h:20
TCP_DEFAULT_WINDOW_SIZE
Definition:
opentcp.h:47
firmware
openos
openwsn
07-App
ohlone
ohlone.h
Generated on Wed Sep 24 2014 04:39:18 for OpenWSN Firmware by
1.8.5