Microchip® Advanced Software Framework

bt_serial_init.c File Reference

Configurations for the WILC3000 Serial Bridge Application.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define FIRMWARE_CHUNK_SIZE   4096
 
#define IRAM_START   0x80000000
 

Functions

void bt_serial_bridge ()
 
uint8_t bt_uart_firmware_download (void)
 
void little_endian_store_32 (uint8_t *buffer, uint16_t pos, uint32_t value)
 

Variables

static uint8_t command_buffer [12]
 
static int download_count
 
static uint8_t event_buffer [15]
 
static const uint8_t * fw_data
 
static uint32_t fw_offset
 
static uint32_t fw_size
 
static const uint8_t hci_read_local_version_information_command [] = { 0x01, 0x01, 0x10, 0x00 }
 
static const uint8_t hci_reset_command [] = { 0x01, 0x03, 0x0c, 0x00 }
 
static const uint8_t hci_vendor_specific_reset_command [] = { 0x01, 0x55, 0xfc, 0x00 }
 

#define FIRMWARE_CHUNK_SIZE   4096
#define IRAM_START   0x80000000

void little_endian_store_32 ( uint8_t *  buffer,
uint16_t  pos,
uint32_t  value 
)

uint8_t command_buffer[12]
static
int download_count
static
uint8_t event_buffer[15]
static
const uint8_t* fw_data
static
uint32_t fw_offset
static
uint32_t fw_size
static
const uint8_t hci_read_local_version_information_command[] = { 0x01, 0x01, 0x10, 0x00 }
static

Referenced by bt_serial_bridge().

const uint8_t hci_reset_command[] = { 0x01, 0x03, 0x0c, 0x00 }
static

Referenced by bt_serial_bridge().

const uint8_t hci_vendor_specific_reset_command[] = { 0x01, 0x55, 0xfc, 0x00 }
static

Referenced by bt_serial_bridge().