its_mode1.h File Reference

ITS networking mode 1. More...

#include "pic_utils.h"
Include dependency graph for its_mode1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum _its1_result its1_result
typedef enum _its1_state its1_state

Enumerations

enum  _its1_result { RESULT_SUCCESSFUL, RESULT_FAILED }
enum  _its1_state {
  STATE_STARTUP, STATE_RUNNING, STATE_SEARCHING, STATE_ASSOCIATED,
  STATE_UNASSOCIATED
}

Functions

its1_result its1_controller_handle_association (uns16 pan_id, uns16 its_device_id)
uns8 its1_controller_init (uns16 my_device_id, uns16 network_id)
void its1_controller_process ()
void its1_controller_receive_callback (uns16 device_id, uns8 *data, uns8 data_length)
its1_result its1_controller_transmit (uns16 device_id, uns8 *data, uns8 data_length)
its1_result its1_device_init (uns16 my_device_id, uns16 network_id)
void its1_device_process ()
void its1_device_receive_callback (uns8 *data, uns8 data_length)
its1_result its1_device_transmit (uns8 *data, uns8 data_length)
its1_result its1_find_controller ()
void its1_setup_io ()

Variables

its1_state state

Detailed Description

Definition in file its_mode1.h.


Typedef Documentation

typedef enum _its1_result its1_result

Definition at line 59 of file its_mode1.h.

typedef enum _its1_state its1_state

Definition at line 63 of file its_mode1.h.


Enumeration Type Documentation

Enumerator:
RESULT_SUCCESSFUL 
RESULT_FAILED 

Definition at line 58 of file its_mode1.h.

Enumerator:
STATE_STARTUP 
STATE_RUNNING 
STATE_SEARCHING 
STATE_ASSOCIATED 
STATE_UNASSOCIATED 

Definition at line 61 of file its_mode1.h.


Function Documentation

its1_result its1_controller_handle_association ( uns16  pan_id,
uns16  its_device_id 
)

Definition at line 62 of file its_mode1.c.

References ITS_ASSOC_RES, ITS_DEVICE_NONE, its_transmit_to_handle(), RESULT_FAILED, RESULT_SUCCESSFUL, and serial_print_str().

Here is the call graph for this function:

uns8 its1_controller_init ( uns16  my_device_id,
uns16  network_id 
)
void its1_controller_process (  ) 

Definition at line 279 of file its_mode1.c.

void its1_controller_receive_callback ( uns16  device_id,
uns8 *  data,
uns8  data_length 
)
its1_result its1_controller_transmit ( uns16  device_id,
uns8 *  data,
uns8  data_length 
)

Definition at line 265 of file its_mode1.c.

References ITS_GENERIC_DATA, and its_transmit_to_handle().

Here is the call graph for this function:

its1_result its1_device_init ( uns16  my_device_id,
uns16  network_id 
)
void its1_device_process (  ) 
void its1_device_receive_callback ( uns8 *  data,
uns8  data_length 
)

Referenced by wpan_data_received_callback().

Here is the caller graph for this function:

its1_result its1_device_transmit ( uns8 *  data,
uns8  data_length 
)

Definition at line 352 of file its_mode1.c.

References controller_handle, ITS_GENERIC_DATA, and its_transmit_to_handle().

Here is the call graph for this function:

its1_result its1_find_controller (  ) 

Definition at line 310 of file its_mode1.c.

References channel, state, STATE_SEARCHING, tick_get_count(), and tick_marker.

Here is the call graph for this function:

void its1_setup_io (  ) 

Definition at line 57 of file its_mode1.c.

References wpan_setup_io().

Here is the call graph for this function:


Variable Documentation

Definition at line 47 of file its_mode1.c.


Generated on Wed Dec 8 13:47:19 2010 for Pic Pack by  doxygen 1.6.1