#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <asf.h>
#include "conf_board.h"
#include "common_sw_timer.h"
#include "serial_api.h"
#include "app_config.h"
#include "pb_pairing.h"
Functions | |
static void | app_alert (void) |
bool | check_zid_adaptor_compatibility (uint8_t PairingRef, uint8_t payload_length, uint8_t *payload) |
nlde_data_confirm The NLDE-DATA.confirm primitive is generated by the NWK layer entity in response to an NLDE-DATA.request primitive. More... | |
FLASH_DECLARE (uint16_t VendorIdentifier) | |
FLASH_DECLARE (uint8_t vendor_string[7]) | |
FLASH_DECLARE (uint8_t app_user_string[15]) | |
FLASH_DECLARE (uint8_t supported_cec_cmds[32]) | |
int | main (void) |
Main function, initialization and main message loop. More... | |
bool | pbp_allow_pairing (nwk_enum_t Status, uint64_t SrcIEEEAddr, uint16_t OrgVendorId, uint8_t OrgVendorString[7], uint8_t OrgUserString[15], uint8_t KeyExTransferCount) |
Allow pairing from application; target use. More... | |
void | zid_indication_callback_init (void) |
This function does the initialization of the zid indication functions. More... | |
|
static |
bool check_zid_adaptor_compatibility | ( | uint8_t | PairingRef, |
uint8_t | payload_length, | ||
uint8_t * | payload | ||
) |
nlde_data_confirm The NLDE-DATA.confirm primitive is generated by the NWK layer entity in response to an NLDE-DATA.request primitive.
PairingRef | PairingRef for the current transaction |
payload_length | payload length |
payload | payload to check the adaptor compatibility |
nlde_data_confirm The NLDE-DATA.confirm primitive is generated by the NWK layer entity in response to an NLDE-DATA.request primitive.
Decision could be based on one of the parameter.
PairingRef | Pairing reference. |
payload_length | Length of the Payload |
*payload | Pointer to the Payload Adaptor attributes can be extracted from the payload. |
FLASH_DECLARE | ( | uint16_t | VendorIdentifier | ) |
FLASH_DECLARE | ( | uint8_t | vendor_string[7] | ) |
FLASH_DECLARE | ( | uint8_t | app_user_string[15] | ) |
FLASH_DECLARE | ( | uint8_t | supported_cec_cmds[32] | ) |
void zid_indication_callback_init | ( | void | ) |
This function does the initialization of the zid indication functions.
This function registers the callback function for indications from the stack.
References nlme_unpair_indication(), nwk_indication_callback_tag::nlme_unpair_indication_cb, register_nwk_indication_callback(), register_zid_indication_callback(), vendor_data_ind(), zid_indication_callback_tag::vendor_data_ind_cb, zid_get_report_indication(), zid_indication_callback_tag::zid_get_report_indication_cb, zid_heartbeat_indication(), zid_indication_callback_tag::zid_heartbeat_indication_cb, zid_report_data_indication(), zid_indication_callback_tag::zid_report_data_indication_cb, zid_standby_leave_indication(), and zid_indication_callback_tag::zid_standby_leave_indication_cb.
Referenced by main().