#include <asf.h>
#include "../../../src/ISUtilities.h"
#include "../../../src/ISLogger.h"
#include "../../../hw-libs/misc/bootloaderApp.h"
#include "../drivers/d_quadEnc.h"
#include "ISLogFileFatFs.h"
#include "xbee.h"
#include "wifi.h"
#include "sd_card_logger.h"
#include "CAN.h"
#include "../hw-libs/communications/CAN_comm.h"
#include "../src/protocol_nmea.h"
#include "user_interface.h"
#include "communications.h"
 
Go to the source code of this file.
 | 
| void  | callback_cdc_set_config (uint8_t port, usb_cdc_line_coding_t *cfg) | 
|   | 
| void  | callback_cdc_set_dtr (uint8_t port, bool b_enable) | 
|   | 
| void  | com_bridge_forward (uint32_t srcPort, uint8_t *buf, int len) | 
|   | 
| void  | com_bridge_smart_forward (uint32_t srcPort, uint32_t ledPin) | 
|   | 
| void  | com_bridge_smart_forward_xstream (uint32_t srcPort, StreamBufferHandle_t xStreamBuffer) | 
|   | 
| void  | communications_init (void) | 
|   | 
| int  | comRead (int serialNum, unsigned char *buf, int bufSize, uint32_t ledPin) | 
|   | 
| void  | comunications_set_host_data_callback (pfnHandleHostData pfn) | 
|   | 
| void  | comunications_set_uins_data_callback (pfnHandleUinsData pfn) | 
|   | 
| int  | comWrite (int serialNum, const unsigned char *buf, int size, uint32_t ledPin) | 
|   | 
| void  | handle_data_from_host (is_comm_instance_t *comm, protocol_type_t ptype, uint32_t srcPort) | 
|   | 
| void  | handle_data_from_uINS (p_data_hdr_t &dataHdr, uint8_t *data) | 
|   | 
| void  | log_uINS_data (cISLogger &logger, is_comm_instance_t &comm) | 
|   | 
| void  | sendRadio (uint8_t *data, int dataSize, bool sendXbee, bool sendXrad) | 
|   | 
| void  | step_com_bridge (is_comm_instance_t &comm) | 
|   | 
| void  | uINS_stream_enable_PPD (void) | 
|   | 
| void  | uINS_stream_enable_std (void) | 
|   | 
| void  | uINS_stream_stop_all (void) | 
|   | 
| void  | update_flash_cfg (evb_flash_cfg_t &newCfg) | 
|   | 
◆ CAN_COM_PORT
◆ CAN_FTR
◆ CAN_HDR
◆ COM_RX_PORT_COUNT
◆ callback_cdc_set_config()
◆ callback_cdc_set_dtr()
      
        
          | void callback_cdc_set_dtr  | 
          ( | 
          uint8_t  | 
          port,  | 
        
        
           | 
           | 
          bool  | 
          b_enable  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ com_bridge_forward()
      
        
          | void com_bridge_forward  | 
          ( | 
          uint32_t  | 
          srcPort,  | 
        
        
           | 
           | 
          uint8_t *  | 
          buf,  | 
        
        
           | 
           | 
          int  | 
          len  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ com_bridge_smart_forward()
      
        
          | void com_bridge_smart_forward  | 
          ( | 
          uint32_t  | 
          srcPort,  | 
        
        
           | 
           | 
          uint32_t  | 
          ledPin  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ com_bridge_smart_forward_xstream()
◆ communications_init()
      
        
          | void communications_init  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ comRead()
      
        
          | int comRead  | 
          ( | 
          int  | 
          serialNum,  | 
        
        
           | 
           | 
          unsigned char *  | 
          buf,  | 
        
        
           | 
           | 
          int  | 
          bufSize,  | 
        
        
           | 
           | 
          uint32_t  | 
          ledPin  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ comunications_set_host_data_callback()
◆ comunications_set_uins_data_callback()
◆ comWrite()
      
        
          | int comWrite  | 
          ( | 
          int  | 
          serialNum,  | 
        
        
           | 
           | 
          const unsigned char *  | 
          buf,  | 
        
        
           | 
           | 
          int  | 
          size,  | 
        
        
           | 
           | 
          uint32_t  | 
          ledPin  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ handle_data_from_host()
◆ handle_data_from_uINS()
      
        
          | void handle_data_from_uINS  | 
          ( | 
          p_data_hdr_t &  | 
          dataHdr,  | 
        
        
           | 
           | 
          uint8_t *  | 
          data  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ log_uINS_data()
◆ sendRadio()
      
        
          | void sendRadio  | 
          ( | 
          uint8_t *  | 
          data,  | 
        
        
           | 
           | 
          int  | 
          dataSize,  | 
        
        
           | 
           | 
          bool  | 
          sendXbee,  | 
        
        
           | 
           | 
          bool  | 
          sendXrad  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ step_com_bridge()
◆ uINS_stream_enable_PPD()
      
        
          | void uINS_stream_enable_PPD  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ uINS_stream_enable_std()
      
        
          | void uINS_stream_enable_std  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ uINS_stream_stop_all()
      
        
          | void uINS_stream_stop_all  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ update_flash_cfg()
◆ g_commTx
◆ g_comRxPort
◆ g_xStreamBufferUINS
◆ g_xStreamBufferWiFiRx
◆ g_xStreamBufferWiFiTx
◆ s_pfnHandleHostData
◆ s_pfnHandleUinsData
◆ s_rxDecodeBuffer