Microchip® Advanced Software Framework

platform.h File Reference

WINC3400 BLE platform APIs declarations.

Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.

#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "at_ble_api.h"

Data Structures

struct  plf_params_t::fw_version
 
struct  plf_params_t
 

Macros

#define VERSION_FIELD_VALID   (0x5A5A5A5A)
 

Functions

void platform_cmd_cmpl_signal (void)
 fires the command-complete signal More...
 
at_ble_status_t platform_cmd_cmpl_wait (void)
 blocks until the command-complete signal is fired More...
 
void platform_event_signal (void)
 fires the event signal More...
 
at_ble_status_t platform_event_wait (uint32_t timeout)
 blocks until the event signal is fired More...
 
at_ble_status_t platform_init (plf_params_t *platform_params)
 implements platform-specific initialization More...
 
void platform_interface_callback (uint8_t *data, uint32_t len)
 the callback to upper layers to process received packets More...
 
at_ble_status_t platform_interface_send (uint8_t *data, uint32_t len)
 sends a message over the platform-specific bus More...
 
void platform_receive (uint8_t *data, uint32_t len)
 
void platform_set_timeout (uint32_t timeout)
 set timeout value used for wait functions. More...
 

#define VERSION_FIELD_VALID   (0x5A5A5A5A)

Referenced by platform_init().