Microchip® Advanced Software Framework

ieee11073_skeleton.h File Reference

Sample of IEE11073 Communication Model.

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

Functions

void ieee11073_skeleton_disable (void)
 Disable the communication model processing. More...
 
bool ieee11073_skeleton_enable (void)
 Enable the communication model processing. More...
 
bool ieee11073_skeleton_process (void)
 Function to process communication model Must be scheduled by other process. More...
 
void ieee11073_skeleton_send_measure_1 (void)
 Send a measure on communication line. More...
 
void ieee11073_skeleton_send_measure_2 (void)
 Send a measure on communication line. More...
 

void ieee11073_skeleton_disable ( void  )

Disable the communication model processing.

Referenced by main_phdc_disable().

bool ieee11073_skeleton_enable ( void  )

Enable the communication model processing.

Return values
true

References ieee11073_enable_reception(), and ieee11073_send_association().

Referenced by main_phdc_enable().

bool ieee11073_skeleton_process ( void  )

Function to process communication model Must be scheduled by other process.

References IEEE11073_ASSOC_VALIDED, and udi_phdc_assoc_state.

Referenced by main().

void ieee11073_skeleton_send_measure_1 ( void  )

Send a measure on communication line.

References ieee11073_send_mesure(), and USB_PHDC_QOS_LOW_GOOD.

void ieee11073_skeleton_send_measure_2 ( void  )

Send a measure on communication line.

References ieee11073_send_mesure(), and USB_PHDC_QOS_MEDIUM_BETTER.